/* style.css - SecureAuth Demo - Responsive Desktop & Mobile */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    padding: 40px 32px;
}

@media (min-width: 769px) {
    .login-card {
        border: 1px solid #ddd;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 0;
        background: white;
    }
    .login-card {
        border-radius: 0;
        box-shadow: none;
        padding: 30px 20px;
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 32px;
}
.att-logo {
    height: 36px;
    width: auto;
    max-width: 150px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}
.welcome-title {
    font-size: 28px;
    font-weight:700;
    text-align: center;
    margin-bottom: 16px;
}
.data-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}
.login-subtitle {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 38px;
}
.data-subtit {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 35px;
}

.user-id-display {
    text-align: center;
    font-size: 15px;
    color: #000;
    margin-bottom: 28px;
    padding: 8px 16px;
    border-radius: 4px;
}
.user-id-display.locked {
    background: #fff3e0;
    color: #333;
    font-weight: 500;
}

.input-group-new {
    margin-bottom: 24px;
    width: 100%;
}
.input-label-new {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}
.login-input-new {
    width: 100%;
    padding: 13px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}
.login-input-new:focus {
    border-color: #009fda;

}

.select-input-new {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    background-color: white;
    cursor: pointer;
}


.login-btn {
    width: 100%;
    padding: 14px;
    background: #003f87;
    color: white;
    border: none;
    border-radius: 34px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.login-btn:hover {
    background: #0054ad;
}

.error-message {
    background: #fce4e4;
    color: #d9534f;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;

}
.error-icon {
    font-size: 20px;
    display: inline-block;
    margin-right: 8px;
}
.error-text {
    color: #666;
    font-size: 15px;
    font-family: Arial;
    margin-bottom: 10px;
}
.care-code {
    color: #666;
    font-size: 13px;
    font-family: Arial;
    margin-bottom: 18px;
}

.login-footer {
    margin-top: 32px;
    padding: 20px;
    width: 100%;
    max-width: 480px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    margin-bottom: 16px;
}
.footer-links a {
    color: #444;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
}
.footer-links a:hover {
    text-decoration: underline;
    color: #009fda;
}
.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .login-footer {
        margin-top: auto;
        padding: 20px 16px;
    }
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }
    .footer-links a {
        white-space: normal;
    }
    .footer-copyright {
        text-align: left;
    }
}

body.loading-page {
    background: white;
}
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.att-loader {
    position: relative;
    width: 60px;
    height: 60px;
}
.loader-circle {
    width: 60px;
    height: 60px;
    border: 5px solid #e0e0e0;
    border-top: 4px solid #0048a6;
    border-radius: 50%;
    animation: spin 1s linear infinite;

}
.loading-text {
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}
/* ===== LINKS ===== */
.links {
    margin-top: 25px;
    text-align: center;
}

.linkitem {
    text-align: left;
    display: block;
    margin: 10px 0;
    color: #007aa6;
    text-decoration: none;
    font-weight: 500;
}

.linkitem:hover {
    text-decoration: none;
}

.data-card {
    max-width: 560px;
}
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}
.form-row .input-group-new {
    flex: 1;
}
.half {
    width: 50%;
}
@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .half {
        width: 100%;
    }
}