.fg-auth-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: 'DM Sans', sans-serif;
}

.fg-auth-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 40px 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.fg-auth-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin-bottom: 24px;
}
.fg-auth-logo span { color: #1D9E75; }

.fg-auth-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px;
}

.fg-auth-sub {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 28px;
    line-height: 1.5;
}

/* Alerts */
.fg-auth-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}
.fg-auth-success {
    background: #E1F5EE;
    border: 1px solid #A7F3D0;
    color: #1D4E35;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Fields */
.fg-auth-form { display: flex; flex-direction: column; gap: 16px; }
.fg-auth-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fg-auth-field { display: flex; flex-direction: column; gap: 6px; }
.fg-auth-field label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}
.fg-auth-field input,
.fg-auth-field select {
    padding: 12px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #111;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}
.fg-auth-field input:focus,
.fg-auth-field select:focus { border-color: #1D9E75; }
.fg-auth-hint { font-size: 11px; color: #9CA3AF; margin: 0; }
.fg-required { color: #EF4444; }

/* Password wrap */
.fg-auth-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.fg-auth-password-wrap input { flex: 1; padding-right: 60px; }
.fg-auth-show-pass {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    padding: 4px 6px;
}
.fg-auth-show-pass:hover { color: #1D9E75; }

/* Password strength */
.fg-password-strength { display: flex; align-items: center; gap: 10px; }
.fg-strength-bar {
    flex: 1;
    height: 4px;
    background: #E5E7EB;
    border-radius: 999px;
    overflow: hidden;
}
.fg-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: all 0.3s ease;
}
.fg-strength-label { font-size: 12px; font-weight: 500; white-space: nowrap; }

/* Checkboxes */
.fg-auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}
.fg-auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: #1D9E75;
    cursor: pointer;
}
.fg-auth-checkbox a { color: #1D9E75; }

/* Remember row */
.fg-auth-remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fg-auth-forgot { font-size: 13px; color: #1D9E75; text-decoration: none; }

/* Submit */
.fg-auth-submit {
    width: 100%;
    padding: 15px;
    background: #1D4E35;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 4px;
}
.fg-auth-submit:hover { background: #163C29; }
.fg-auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.fg-auth-switch {
    text-align: center;
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}
.fg-auth-switch a { color: #1D9E75; }

.fg-auth-already {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
}
.fg-auth-already a { color: #1D9E75; }

/* Nav auth */
.fg-nav-user-item { display: flex; align-items: center; gap: 8px; }
.fg-nav-avatar {
    width: 30px;
    height: 30px;
    background: #1D9E75;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}
.fg-nav-plus-badge {
    font-size: 10px;
    background: #1D4E35;
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 500;
}
.fg-nav-register-link {
    background: #1D4E35;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 520px) {
    .fg-auth-card { padding: 28px 20px; }
    .fg-auth-row-2 { grid-template-columns: 1fr; }
}

.fg-auth-back-link {
    font-size: 13px;
    color: #6B7280;
    text-decoration: none;
}
.fg-auth-back-link:hover { color: #1D9E75; }

.fg-auth-success-icon {
    width: 52px;
    height: 52px;
    background: #E1F5EE;
    color: #1D9E75;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}