:root {
    --fh-blue: #10233f;
    --fh-gold: #d9a441;
    --fh-background: #f4f6f8;
    --fh-text: #172033;
    --fh-muted: #6c7584;
    --fh-border: #e2e6eb;
}

.login-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-box {
    width: 100%;
    max-width: 520px;
    padding: 42px 38px;
    background: #ffffff;
    border: 1px solid var(--fh-border);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(16, 35, 63, 0.08);
    text-align: center;
}

.login-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffdf8;
    border: 1px solid rgba(217, 164, 65, 0.55);
    border-radius: 16px;
    color: var(--fh-gold);
    font-size: 28px;
}

.login-box h1 {
    margin: 0 0 10px;
    color: var(--fh-blue);
    font-size: 28px;
    font-weight: 700;
}

.login-description {
    margin: 0 0 30px;
    color: var(--fh-muted);
    font-size: 14px;
}

.totp-fields {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
}

.totp-input {
    width: 54px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--fh-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--fh-blue);
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.totp-input:focus {
    border-color: var(--fh-gold);
    box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.13);
    transform: translateY(-1px);
}

.login-button {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--fh-gold);
    color: var(--fh-blue);
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.login-button:hover {
    background: #c89535;
    transform: translateY(-1px);
}

.login-error {
    margin-bottom: 20px;
    padding: 10px 14px;
    background: #fff3f3;
    border: 1px solid #f0c4c4;
    border-radius: 10px;
    color: #b42318;
    font-size: 13px;
}
@media (max-width: 576px) {
    .login-box {
        padding: 34px 22px;
    }

    .totp-fields {
        gap: 6px;
    }

    .totp-input {
        width: 44px;
        height: 56px;
        font-size: 22px;
    }
}