.fg-auth-section {
    background: #f6f9fc;
    min-height: calc(100vh - 280px);
}

.fg-auth-card {
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(17, 91, 170, 0.08);
    margin: 0 auto;
    max-width: 540px;
    overflow: hidden;
}

.fg-auth-visual {
    background:
        radial-gradient(circle at 18% 18%, rgba(111, 190, 68, 0.35), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.2), transparent 24%),
        linear-gradient(135deg, var(--fg-blue, #115baa), #0d4785);
    height: 118px;
}

.fg-auth-body {
    padding: 0 42px 38px;
}

.fg-auth-icon {
    align-items: center;
    background: #eaf3fc;
    border: 5px solid #ffffff;
    border-radius: 50%;
    color: var(--fg-blue, #115baa);
    display: flex;
    font-size: 24px;
    height: 72px;
    justify-content: center;
    margin: -36px auto 18px;
    width: 72px;
}

.fg-auth-title {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    text-align: center;
}

.fg-auth-text {
    color: #536174;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 auto 24px;
    max-width: 410px;
    text-align: center;
}

.fg-auth-label {
    color: #18233f;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.fg-auth-control {
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    color: #172033;
    font-size: 15px;
    min-height: 52px;
    padding: 13px 16px;
}

.fg-auth-control:focus {
    border-color: var(--fg-blue, #115baa);
    box-shadow: 0 0 0 4px rgba(17, 91, 170, 0.1);
}

.fg-auth-password {
    position: relative;
}

.fg-auth-password .fg-auth-control {
    padding-right: 48px;
}

.fg-auth-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: #64748b;
    display: flex;
    height: 38px;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
}

.fg-auth-toggle:hover {
    color: var(--fg-blue, #115baa);
}

.fg-auth-button {
    align-items: center;
    background: var(--fg-blue, #115baa);
    border: 1px solid var(--fg-blue, #115baa);
    border-radius: 12px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 13px 20px;
}

.fg-auth-button:hover,
.fg-auth-button:focus {
    background: #0d4785;
    border-color: #0d4785;
    color: #ffffff;
}

.fg-auth-secondary {
    color: var(--fg-blue, #115baa);
    font-weight: 700;
}

.fg-auth-secondary:hover {
    color: #0d4785;
}

.fg-auth-actions {
    align-items: center;
    border-top: 1px solid #edf2f7;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
}

.fg-auth-muted-btn {
    background: #eef5fc;
    border: 1px solid #d8e8f8;
    border-radius: 12px;
    color: var(--fg-blue, #115baa);
    font-weight: 700;
    min-height: 48px;
    padding: 11px 18px;
}

.fg-auth-muted-btn:hover {
    background: #e2f0fb;
    color: #0d4785;
}

@media (max-width: 575.98px) {
    .fg-auth-body {
        padding: 0 22px 28px;
    }

    .fg-auth-title {
        font-size: 24px;
    }

    .fg-auth-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
