:root {
    --auth-primary: #1472da;
    --auth-primary-hover: #0f5fb7;
    --auth-bg: #f4f7fb;
    --auth-card: #ffffff;
    --auth-text: #20253a;
    --auth-muted: #7a8399;
    --auth-border: #d8deee;
    --auth-input-bg: #eef2ff;
}

body.auth-page {
    margin: 0;
    min-height: 100vh;
    background: var(--auth-bg);
    font-family: Rubik, sans-serif;
}

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

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 40px 36px;
    background: var(--auth-card);
    border: 1px solid #edf0f7;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.auth-title {
    margin: 0 0 8px;
    color: var(--auth-text);
    font-size: 19px;
    font-weight: 700;
}

.auth-subtitle {
    margin: 0 0 22px;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.5;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .col-form-label {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--auth-text);
    font-size: 15px;
    font-weight: 400;
}

.auth-form .form-control {
    height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    background: var(--auth-input-bg);
    color: var(--auth-text);
    box-shadow: none;
    font-size: 15px;
}

.auth-form .form-control:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(115, 103, 240, 0.12);
}

.auth-submit {
    height: 48px;
    border: none;
    border-radius: 8px;
    background: var(--auth-primary);
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
}

.auth-submit:hover,
.auth-submit:focus {
    background: var(--auth-primary-hover);
    filter: brightness(0.98);
}

.auth-link {
    display: inline-block;
    margin-top: 14px;
    color: #1472da;
    text-decoration: none;
    font-size: 13px;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-alert {
    border: none;
    border-radius: 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: rgba(20, 114, 218, 0.10);
    color: #0b2a52;
    font-size: 13px;
    line-height: 1.6;
}

.password-input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 6px;
    line-height: 1;
    color: #4b5563;
}

.password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 114, 218, 0.18);
    border-radius: 8px;
}

.invalid-feedback {
    display: block;
}

.is-hidden {
    display: none !important;
}

.btn-outline-primary {
    border-radius: 8px;
    height: 48px;
}

.fp-expiry {
    margin: -6px 0 12px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

@media (max-width: 575.98px) {
    .auth-card {
        padding: 32px 24px;
    }
}

