/* ==========================================================================
   Engage360 - Auth pages (login, forgot password, reset password)
   ========================================================================== */

html, body {
    height: 100%;
}

.auth-body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, #054086 0%, #102B4E 100%);
    color: #232323;
    min-height: 100vh;
}

.auth-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.auth-brand {
    text-align: center;
    margin-bottom: 28px;
}
.auth-brand .auth-dealer-logo {
    display: block;
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    margin: 0 auto 12px auto;
    object-fit: contain;
}
.auth-brand h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #054086;
    letter-spacing: 0.5px;
}

.auth-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #102B4E;
    margin: 0 0 8px 0;
    text-align: center;
}
.auth-card .auth-subtitle {
    font-size: 14px;
    color: #6b6b6b;
    text-align: center;
    margin: 0 0 24px 0;
}

.auth-form .form-group {
    margin-bottom: 18px;
}
.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 6px;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    border: 1px solid #e7eaed;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fafafa;
}
.auth-form input:focus {
    border-color: #054086;
    box-shadow: 0 0 0 3px rgba(5, 64, 134, 0.15);
    background: #ffffff;
}

.auth-form .otp-input {
    letter-spacing: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
}

.auth-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
}
.auth-form .form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.auth-form .form-check label {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    color: #3f3e3b;
    cursor: pointer;
}

.auth-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background: #054086;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: background 0.15s, transform 0.05s;
}
.auth-btn:hover {
    background: #04326c;
}
.auth-btn:active {
    transform: translateY(1px);
}

.auth-links {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
}
.auth-links a {
    color: #054086;
    text-decoration: none;
    font-weight: 600;
}
.auth-links a:hover {
    text-decoration: underline;
}
.auth-links .sep {
    color: #ccc;
    margin: 0 8px;
}

.auth-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
}
.auth-alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.auth-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.auth-form .field-error {
    font-size: 12px;
    color: #b91c1c;
    margin-top: 5px;
}

.auth-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 24px;
    text-align: center;
}

/* Mobile */
@media (max-width: 500px) {
    .auth-card {
        padding: 28px 20px;
    }
    .auth-brand h1 {
        font-size: 24px;
    }
}
