.login-page {
    min-height: calc(100vh - 56px);
    background: #faf8fc;

    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: 42px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 14px;
    color: #657083;
}

.divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
}

.divider span {
    flex: 1;
    height: 1px;
    background: #d7d9df;
}

.divider p {
    font-size: 11px;
    letter-spacing: 2px;
    color: #7c8491;
}

.login-form {
    width: 100%;
}

.auth-message {
    border-radius: 4px;
    margin-bottom: 18px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-message p + p {
    margin-top: 4px;
}

.auth-message-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.auth-message-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label,
.password-row label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
    display: block;
}

.password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.password-row a {
    font-size: 11px;
    font-weight: 600;
    color: #14213d;
    text-decoration: none;
}

.input-box {
    height: 44px;
    border: 1px solid #cfd3dc;
    border-radius: 4px;
    background: #ffffff;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 12px;
}

.input-box i {
    color: #7d8591;
    font-size: 14px;
}

.password-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 32px;
}

.password-toggle:focus-visible {
    outline: 2px solid #17233f;
    outline-offset: 2px;
}

.input-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;

    font-size: 14px;
    color: #1f2937;
}

.input-box input::placeholder {
    color: #6b7280;
}

.remember-row {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 10px 0 24px;
}

.remember-row input {
    width: 14px;
    height: 14px;
}

.remember-row label {
    font-size: 13px;
    color: #657083;
}

.signin-btn {
    width: 100%;
    height: 46px;

    background: #17233f;
    color: #ffffff;

    border: none;
    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.18);
}

.signin-btn:hover {
    background: #101a31;
}

.signup-link {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #657083;
}

.signup-link a {
    color: #14213d;
    font-weight: 700;
    text-decoration: none;
}

.bottom-line {
    width: 100%;
    height: 1px;
    background: #dcdde3;
    margin: 46px 0 28px;
}

.login-footer {
    text-align: center;
}

.login-footer p {
    font-size: 13px;
    color: #8a9099;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 26px;
}

.footer-links a {
    font-size: 11px;
    color: #32415c;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 520px) {
    .login-card {
        width: 90%;
    }

    .login-header h1 {
        font-size: 24px;
    }
}
