/**
 * Facebook Monetization Checker Pro — Frontend Styles
 *
 * Premium, mobile-first CSS with glassmorphism, dark mode,
 * smooth animations, and SaaS-quality polish.
 *
 * @package FacebookMonetizationChecker
 * @since   1.0.0
 */

/* ============================================================
   0. GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES — LIGHT THEME (default)
   ============================================================ */
:root {
    /* Brand */
    --fbmc-primary: #1877F2;
    --fbmc-primary-rgb: 24, 119, 242;
    --fbmc-secondary: #00B2FF;
    --fbmc-secondary-rgb: 0, 178, 255;
    --fbmc-gradient: linear-gradient(135deg, #1877F2, #00B2FF);
    --fbmc-gradient-reverse: linear-gradient(135deg, #00B2FF, #1877F2);

    /* Surfaces */
    --fbmc-bg: #f0f4f8;
    --fbmc-surface: #ffffff;
    --fbmc-surface-rgb: 255, 255, 255;
    --fbmc-surface-glass: rgba(255, 255, 255, 0.70);
    --fbmc-surface-hover: #f8fafc;

    /* Typography */
    --fbmc-text: #1e293b;
    --fbmc-text-muted: #64748b;
    --fbmc-text-inverse: #ffffff;

    /* Borders */
    --fbmc-border: rgba(0, 0, 0, 0.08);
    --fbmc-border-strong: rgba(0, 0, 0, 0.14);

    /* Status */
    --fbmc-success: #10b981;
    --fbmc-success-bg: rgba(16, 185, 129, 0.10);
    --fbmc-warning: #f59e0b;
    --fbmc-warning-bg: rgba(245, 158, 11, 0.10);
    --fbmc-danger: #ef4444;
    --fbmc-danger-bg: rgba(239, 68, 68, 0.10);
    --fbmc-info: #3b82f6;
    --fbmc-info-bg: rgba(59, 130, 246, 0.10);

    /* Layout */
    --fbmc-radius: 16px;
    --fbmc-radius-sm: 10px;
    --fbmc-radius-lg: 24px;
    --fbmc-radius-pill: 9999px;

    /* Shadows */
    --fbmc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --fbmc-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --fbmc-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
    --fbmc-shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.08);
    --fbmc-shadow-glow: 0 0 30px rgba(24, 119, 242, 0.20);

    /* Transitions */
    --fbmc-transition: all 0.3s ease;
    --fbmc-transition-fast: all 0.15s ease;
    --fbmc-transition-slow: all 0.5s ease;

    /* Font */
    --fbmc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================================
   2. CSS CUSTOM PROPERTIES — DARK THEME
   ============================================================ */
[data-theme="dark"] {
    --fbmc-bg: #0f172a;
    --fbmc-surface: #1e293b;
    --fbmc-surface-rgb: 30, 41, 59;
    --fbmc-surface-glass: rgba(30, 41, 59, 0.70);
    --fbmc-surface-hover: #263348;

    --fbmc-text: #e2e8f0;
    --fbmc-text-muted: #94a3b8;

    --fbmc-border: rgba(255, 255, 255, 0.08);
    --fbmc-border-strong: rgba(255, 255, 255, 0.14);

    --fbmc-success-bg: rgba(16, 185, 129, 0.15);
    --fbmc-warning-bg: rgba(245, 158, 11, 0.15);
    --fbmc-danger-bg: rgba(239, 68, 68, 0.15);
    --fbmc-info-bg: rgba(59, 130, 246, 0.15);

    --fbmc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.20), 0 1px 2px rgba(0, 0, 0, 0.16);
    --fbmc-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 1px 4px rgba(0, 0, 0, 0.15);
    --fbmc-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.30), 0 4px 12px rgba(0, 0, 0, 0.20);
    --fbmc-shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.40), 0 8px 20px rgba(0, 0, 0, 0.25);
    --fbmc-shadow-glow: 0 0 30px rgba(24, 119, 242, 0.30);
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
.fbmc-container,
.fbmc-container *,
.fbmc-container *::before,
.fbmc-container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fbmc-container {
    font-family: var(--fbmc-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fbmc-text);
    background-color: var(--fbmc-bg);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px 60px;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.fbmc-container a {
    color: var(--fbmc-primary);
    text-decoration: none;
    transition: var(--fbmc-transition-fast);
}

.fbmc-container a:hover {
    color: var(--fbmc-secondary);
    text-decoration: underline;
}

/* ============================================================
   4. DARK MODE TOGGLE
   ============================================================ */
.fbmc-dark-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--fbmc-border);
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--fbmc-transition);
    box-shadow: var(--fbmc-shadow-sm);
    overflow: hidden;
}

.fbmc-dark-toggle:hover {
    transform: scale(1.08);
    box-shadow: var(--fbmc-shadow);
}

.fbmc-dark-toggle:active {
    transform: scale(0.95);
}

/* Sun / Moon icon visibility */
.fbmc-icon-sun,
.fbmc-icon-moon {
    position: absolute;
    transition: transform 0.4s ease, opacity 0.4s ease;
    line-height: 1;
}

/* Light mode: show sun, hide moon */
.fbmc-container[data-theme="light"] .fbmc-icon-sun,
.fbmc-container:not([data-theme]) .fbmc-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.fbmc-container[data-theme="light"] .fbmc-icon-moon,
.fbmc-container:not([data-theme]) .fbmc-icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* Dark mode: show moon, hide sun */
[data-theme="dark"] .fbmc-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .fbmc-icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.fbmc-hero {
    position: relative;
    background: var(--fbmc-gradient);
    border-radius: 0 0 var(--fbmc-radius-lg) var(--fbmc-radius-lg);
    padding: 60px 32px 48px;
    text-align: center;
    color: var(--fbmc-text-inverse);
    overflow: hidden;
    margin: 0 -16px;
    /* extend to full container width */
}

/* Animated floating background shapes */
.fbmc-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.fbmc-hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    background: #ffffff;
}

.fbmc-hero-shape-1 {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -40px;
    animation: fbmc-float 8s ease-in-out infinite;
}

.fbmc-hero-shape-2 {
    width: 140px;
    height: 140px;
    bottom: -20px;
    left: -30px;
    animation: fbmc-float 10s ease-in-out infinite reverse;
}

.fbmc-hero-shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 60%;
    animation: fbmc-float 6s ease-in-out infinite 1s;
}

.fbmc-hero h1 {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.fbmc-hero-subtitle {
    position: relative;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   6. INPUT SECTION
   ============================================================ */
.fbmc-input-section {
    margin-top: -28px;
    position: relative;
    z-index: 10;
    padding: 0 4px;
}

.fbmc-input-card {
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius);
    padding: 32px 28px;
    box-shadow: var(--fbmc-shadow-lg);
    transition: var(--fbmc-transition);
}

.fbmc-input-card:hover {
    box-shadow: var(--fbmc-shadow-xl);
}

.fbmc-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Input wrapper with icon */
.fbmc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.fbmc-input-icon {
    position: absolute;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fbmc-primary);
    z-index: 2;
    pointer-events: none;
    transition: var(--fbmc-transition);
}

.fbmc-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-family: var(--fbmc-font);
    font-size: 1rem;
    font-weight: 400;
    color: var(--fbmc-text);
    background: var(--fbmc-surface);
    border: 2px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius-sm);
    outline: none;
    transition: var(--fbmc-transition);
    -webkit-appearance: none;
}

.fbmc-input::placeholder {
    color: var(--fbmc-text-muted);
    opacity: 0.7;
}

.fbmc-input:focus {
    border-color: var(--fbmc-primary);
    box-shadow: 0 0 0 4px rgba(var(--fbmc-primary-rgb), 0.15),
                var(--fbmc-shadow-sm);
}

.fbmc-input:focus ~ .fbmc-input-icon,
.fbmc-input:focus + .fbmc-input-icon {
    color: var(--fbmc-secondary);
}

/* Input error state */
.fbmc-input.fbmc-input--error {
    border-color: var(--fbmc-danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.fbmc-input-examples {
    font-size: 0.825rem;
    color: var(--fbmc-text-muted);
    margin: 0;
    padding-left: 4px;
}

/* Error message */
.fbmc-error-message {
    display: none;
    font-size: 0.875rem;
    color: var(--fbmc-danger);
    padding: 10px 14px;
    background: var(--fbmc-danger-bg);
    border-radius: var(--fbmc-radius-sm);
    border-left: 3px solid var(--fbmc-danger);
    animation: fbmc-fade-in 0.3s ease;
}

.fbmc-error-message.fbmc-visible {
    display: block;
}

/* Analyze button */
.fbmc-btn-analyze {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    font-family: var(--fbmc-font);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fbmc-text-inverse);
    background: var(--fbmc-gradient);
    border: none;
    border-radius: var(--fbmc-radius-sm);
    cursor: pointer;
    transition: var(--fbmc-transition);
    box-shadow: 0 4px 16px rgba(var(--fbmc-primary-rgb), 0.30);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.fbmc-btn-analyze::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: var(--fbmc-transition);
}

.fbmc-btn-analyze:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(var(--fbmc-primary-rgb), 0.40);
}

.fbmc-btn-analyze:hover:not(:disabled)::before {
    opacity: 1;
}

.fbmc-btn-analyze:active:not(:disabled) {
    transform: translateY(0) scale(0.99);
}

.fbmc-btn-analyze:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Button spinner */
.fbmc-btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.30);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: fbmc-spin 0.7s linear infinite;
}

.fbmc-btn-analyze.fbmc-loading .fbmc-btn-text {
    opacity: 0.8;
}

.fbmc-btn-analyze.fbmc-loading .fbmc-btn-spinner {
    display: block;
}

/* ============================================================
   7. PROGRESS STEPS
   ============================================================ */
.fbmc-progress {
    display: none;
    margin-top: 32px;
    animation: fbmc-fade-in 0.4s ease;
}

.fbmc-progress.fbmc-visible {
    display: block;
}

.fbmc-progress-card {
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius);
    padding: 28px 24px;
    box-shadow: var(--fbmc-shadow);
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Connecting line */
.fbmc-progress-card::before {
    content: '';
    position: absolute;
    left: 47px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: var(--fbmc-border);
    border-radius: 1px;
}

.fbmc-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    position: relative;
    opacity: 0.4;
    transform: translateX(-8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Step states */
.fbmc-step.fbmc-step--active {
    opacity: 1;
    transform: translateX(0);
}

.fbmc-step.fbmc-step--complete {
    opacity: 1;
    transform: translateX(0);
}

.fbmc-step-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: var(--fbmc-surface);
    border: 2px solid var(--fbmc-border);
    color: var(--fbmc-text-muted);
    transition: var(--fbmc-transition);
    position: relative;
    z-index: 2;
}

.fbmc-step-icon span {
    display: none;
}

/* Active step — pulsing primary ring */
.fbmc-step.fbmc-step--active .fbmc-step-icon {
    border-color: var(--fbmc-primary);
    background: rgba(var(--fbmc-primary-rgb), 0.10);
    color: var(--fbmc-primary);
    box-shadow: 0 0 0 4px rgba(var(--fbmc-primary-rgb), 0.15);
    animation: fbmc-pulse 1.5s ease-in-out infinite;
}

/* Complete step — green check */
.fbmc-step.fbmc-step--complete .fbmc-step-icon {
    border-color: var(--fbmc-success);
    background: var(--fbmc-success);
    color: #ffffff;
}

.fbmc-step.fbmc-step--complete .fbmc-step-icon span {
    display: block;
}

.fbmc-step-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--fbmc-text-muted);
    transition: var(--fbmc-transition);
}

.fbmc-step.fbmc-step--active .fbmc-step-text {
    color: var(--fbmc-text);
    font-weight: 600;
}

.fbmc-step.fbmc-step--complete .fbmc-step-text {
    color: var(--fbmc-success);
}

/* ============================================================
   8. RESULTS SECTION
   ============================================================ */
.fbmc-results {
    display: none;
    margin-top: 32px;
    animation: fbmc-slide-up 0.6s ease;
}

.fbmc-results.fbmc-visible {
    display: block;
}

/* ============================================================
   9. PROFILE CARD
   ============================================================ */
.fbmc-profile-card {
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius);
    padding: 28px;
    box-shadow: var(--fbmc-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    transition: var(--fbmc-transition);
}

.fbmc-profile-card:hover {
    box-shadow: var(--fbmc-shadow-lg);
}

.fbmc-profile-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background-image: var(--fbmc-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--fbmc-shadow-sm);
}

.fbmc-profile-info {
    flex: 1;
    min-width: 0;
}

.fbmc-profile-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--fbmc-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fbmc-profile-username {
    font-size: 0.9rem;
    color: var(--fbmc-text-muted);
    margin-top: 2px;
}

.fbmc-profile-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--fbmc-primary);
    background: rgba(var(--fbmc-primary-rgb), 0.10);
    border-radius: var(--fbmc-radius-pill);
    letter-spacing: 0.01em;
}

/* ============================================================
   10. SCORE GAUGE
   ============================================================ */
.fbmc-score-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 28px;
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius);
    box-shadow: var(--fbmc-shadow);
    margin-bottom: 24px;
    transition: var(--fbmc-transition);
}

.fbmc-gauge-svg {
    width: 180px;
    height: 180px;
    transform: rotate(-90deg);
    margin-bottom: 8px;
}

.fbmc-gauge-track {
    fill: none;
    stroke: var(--fbmc-border);
    stroke-width: 12;
    stroke-linecap: round;
}

.fbmc-gauge-fill {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease-in-out, stroke 0.5s ease;
}

/* Score colors applied via JS — fallback */
.fbmc-gauge-fill--excellent { stroke: var(--fbmc-success); }
.fbmc-gauge-fill--good      { stroke: var(--fbmc-primary); }
.fbmc-gauge-fill--moderate   { stroke: var(--fbmc-warning); }
.fbmc-gauge-fill--poor       { stroke: #f97316; }
.fbmc-gauge-fill--low        { stroke: var(--fbmc-danger); }

.fbmc-gauge-center {
    text-align: center;
    margin-top: -6px;
}

.fbmc-gauge-score {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--fbmc-text);
    letter-spacing: -0.03em;
}

.fbmc-gauge-label {
    font-size: 0.9rem;
    color: var(--fbmc-text-muted);
    margin-top: 4px;
}

/* ============================================================
   11. STATUS BADGES
   ============================================================ */
.fbmc-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--fbmc-radius-pill);
    margin-top: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.fbmc-status-excellent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.30);
}

.fbmc-status-good {
    background: linear-gradient(135deg, #1877F2, #00B2FF);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.30);
}

.fbmc-status-moderate {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.30);
}

.fbmc-status-poor {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.30);
}

.fbmc-status-low {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.30);
}

/* ============================================================
   12. SCORE BREAKDOWN — ACCORDION
   ============================================================ */
.fbmc-breakdown {
    margin-bottom: 24px;
}

.fbmc-breakdown-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fbmc-text);
    margin-bottom: 16px;
}

.fbmc-breakdown-item {
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--fbmc-transition);
}

.fbmc-breakdown-item:hover {
    border-color: var(--fbmc-border-strong);
    box-shadow: var(--fbmc-shadow-sm);
}

.fbmc-breakdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    user-select: none;
    transition: var(--fbmc-transition-fast);
}

.fbmc-breakdown-header:hover {
    background: var(--fbmc-surface-hover);
}

.fbmc-breakdown-icon {
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fbmc-radius-sm);
    background: var(--fbmc-info-bg);
}

.fbmc-breakdown-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fbmc-text);
}

.fbmc-breakdown-score {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fbmc-text-muted);
    white-space: nowrap;
}

.fbmc-breakdown-arrow {
    font-size: 0.7rem;
    color: var(--fbmc-text-muted);
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.fbmc-breakdown-item.fbmc-open .fbmc-breakdown-arrow {
    transform: rotate(180deg);
}

/* Mini progress bar inside header */
.fbmc-breakdown-bar-wrap {
    width: 60px;
    height: 6px;
    background: var(--fbmc-border);
    border-radius: 3px;
    overflow: hidden;
    margin-left: auto;
}

.fbmc-breakdown-bar {
    height: 100%;
    border-radius: 3px;
    background: var(--fbmc-gradient);
    transition: width 1s ease;
    min-width: 0;
}

/* Accordion body */
.fbmc-breakdown-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.fbmc-breakdown-item.fbmc-open .fbmc-breakdown-body {
    max-height: 600px;
    /* JS will set the exact value */
}

.fbmc-breakdown-content {
    padding: 0 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Individual check items */
.fbmc-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--fbmc-text);
    padding: 6px 0;
}

.fbmc-check-icon {
    min-width: 22px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.fbmc-check-icon--pass {
    background: var(--fbmc-success-bg);
    color: var(--fbmc-success);
}

.fbmc-check-icon--warn {
    background: var(--fbmc-warning-bg);
    color: var(--fbmc-warning);
}

.fbmc-check-icon--fail {
    background: var(--fbmc-danger-bg);
    color: var(--fbmc-danger);
}

.fbmc-check-text {
    flex: 1;
    line-height: 1.5;
}

.fbmc-check-detail {
    display: block;
    font-size: 0.8rem;
    color: var(--fbmc-text-muted);
    margin-top: 2px;
}

/* ============================================================
   13. SUGGESTIONS SECTION
   ============================================================ */
.fbmc-suggestions {
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--fbmc-border);
    border-left: 4px solid transparent;
    border-image: var(--fbmc-gradient) 1;
    border-image-slice: 1;
    border-radius: var(--fbmc-radius-sm);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--fbmc-shadow-sm);
}

.fbmc-suggestions-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fbmc-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fbmc-suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--fbmc-radius-sm);
    transition: var(--fbmc-transition-fast);
    margin-bottom: 4px;
}

.fbmc-suggestion-item:hover {
    background: var(--fbmc-surface-hover);
}

.fbmc-suggestion-icon {
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
    margin-top: 2px;
}

.fbmc-suggestion-text {
    font-size: 0.9rem;
    color: var(--fbmc-text);
    line-height: 1.6;
}

/* ============================================================
   14. FAQ SECTION
   ============================================================ */
.fbmc-faq-section {
    margin-top: 48px;
}

.fbmc-faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fbmc-text);
    text-align: center;
    margin-bottom: 24px;
}

.fbmc-faq-item {
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--fbmc-transition);
}

.fbmc-faq-item:hover {
    box-shadow: var(--fbmc-shadow-sm);
}

.fbmc-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    font-family: var(--fbmc-font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fbmc-text);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 12px;
    transition: var(--fbmc-transition-fast);
}

.fbmc-faq-question:hover {
    background: var(--fbmc-surface-hover);
}

.fbmc-faq-arrow {
    font-size: 0.75rem;
    color: var(--fbmc-text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.fbmc-faq-item.fbmc-open .fbmc-faq-arrow {
    transform: rotate(180deg);
}

.fbmc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.fbmc-faq-item.fbmc-open .fbmc-faq-answer {
    max-height: 300px;
}

.fbmc-faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.9rem;
    color: var(--fbmc-text-muted);
    line-height: 1.7;
}

/* ============================================================
   15. DISCLAIMER
   ============================================================ */
.fbmc-disclaimer {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius-sm);
    text-align: center;
}

.fbmc-disclaimer p {
    font-size: 0.82rem;
    color: var(--fbmc-text-muted);
    line-height: 1.6;
    margin: 0;
}

.fbmc-disclaimer strong {
    color: var(--fbmc-text);
}

/* ============================================================
   16. AD SLOTS
   ============================================================ */
.fbmc-ad-slot {
    max-width: 100%;
    margin: 24px auto;
    text-align: center;
    overflow: hidden;
    min-height: 0;
}

.fbmc-ad-slot:empty {
    display: none;
}

/* ============================================================
   17. TOAST NOTIFICATIONS
   ============================================================ */
.fbmc-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10000;
    padding: 14px 28px;
    font-family: var(--fbmc-font);
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    background: var(--fbmc-text);
    border-radius: var(--fbmc-radius-pill);
    box-shadow: var(--fbmc-shadow-lg);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
    white-space: nowrap;
}

.fbmc-toast.fbmc-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fbmc-toast--success {
    background: var(--fbmc-success);
}

.fbmc-toast--error {
    background: var(--fbmc-danger);
}

.fbmc-toast--info {
    background: var(--fbmc-primary);
}

/* ============================================================
   18. SHARE BUTTON
   ============================================================ */
.fbmc-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--fbmc-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fbmc-primary);
    background: rgba(var(--fbmc-primary-rgb), 0.08);
    border: 1px solid rgba(var(--fbmc-primary-rgb), 0.20);
    border-radius: var(--fbmc-radius-pill);
    cursor: pointer;
    transition: var(--fbmc-transition);
    margin-top: 16px;
}

.fbmc-share-btn:hover {
    background: rgba(var(--fbmc-primary-rgb), 0.15);
    transform: translateY(-1px);
    box-shadow: var(--fbmc-shadow-sm);
}

.fbmc-share-btn:active {
    transform: translateY(0);
}

/* ============================================================
   19. ERROR ALERT BOX
   ============================================================ */
.fbmc-error-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: var(--fbmc-danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.20);
    border-radius: var(--fbmc-radius-sm);
    margin-bottom: 24px;
    animation: fbmc-fade-in 0.4s ease;
}

.fbmc-error-box-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.fbmc-error-box-content {
    flex: 1;
}

.fbmc-error-box-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fbmc-danger);
    margin-bottom: 4px;
}

.fbmc-error-box-message {
    font-size: 0.85rem;
    color: var(--fbmc-text-muted);
}

.fbmc-error-box-retry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 16px;
    font-family: var(--fbmc-font);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fbmc-danger);
    background: transparent;
    border: 1px solid var(--fbmc-danger);
    border-radius: var(--fbmc-radius-pill);
    cursor: pointer;
    transition: var(--fbmc-transition-fast);
}

.fbmc-error-box-retry:hover {
    background: var(--fbmc-danger);
    color: #ffffff;
}

/* ============================================================
   20. KEYFRAME ANIMATIONS
   ============================================================ */

/* Fade in */
@keyframes fbmc-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide up */
@keyframes fbmc-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse for active step */
@keyframes fbmc-pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(var(--fbmc-primary-rgb), 0.10);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(var(--fbmc-primary-rgb), 0.20);
    }
}

/* Spinner */
@keyframes fbmc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Floating shapes in hero */
@keyframes fbmc-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(12px, -18px) scale(1.05);
    }
    50% {
        transform: translate(-8px, -30px) scale(1.1);
    }
    75% {
        transform: translate(-16px, -12px) scale(1.03);
    }
}

/* Score fill animation */
@keyframes fbmc-score-fill {
    from {
        stroke-dashoffset: 534;
    }
}

/* Progress step entrance */
@keyframes fbmc-progress-step {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Shimmer / loading placeholder */
@keyframes fbmc-shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Score counter pop */
@keyframes fbmc-score-pop {
    0%   { transform: scale(0.6); opacity: 0; }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   21. UTILITY CLASSES
   ============================================================ */
.fbmc-visible {
    display: block !important;
}

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

.fbmc-text-center {
    text-align: center;
}

.fbmc-mb-0 { margin-bottom: 0; }
.fbmc-mb-sm { margin-bottom: 8px; }
.fbmc-mb-md { margin-bottom: 16px; }
.fbmc-mb-lg { margin-bottom: 24px; }

.fbmc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   22. RESULTS INNER LAYOUT HELPERS
   ============================================================ */
.fbmc-results-header {
    text-align: center;
    margin-bottom: 32px;
}

.fbmc-results-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fbmc-text);
    margin-bottom: 4px;
}

.fbmc-section-divider {
    height: 1px;
    background: var(--fbmc-border);
    margin: 24px 0;
    border: none;
}

/* ============================================================
   23. RESPONSIVE — MOBILE FIRST (< 480px)
   ============================================================ */
@media (max-width: 479px) {
    .fbmc-container {
        padding: 0 10px 40px;
        font-size: 15px;
    }

    .fbmc-hero {
        padding: 48px 18px 36px;
        margin: 0 -10px;
    }

    .fbmc-hero h1 {
        font-size: 1.65rem;
    }

    .fbmc-hero-subtitle {
        font-size: 0.95rem;
    }

    .fbmc-input-card {
        padding: 22px 16px;
    }

    .fbmc-input {
        padding: 14px 14px 14px 44px;
        font-size: 0.95rem;
    }

    .fbmc-btn-analyze {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .fbmc-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
    }

    .fbmc-profile-name {
        font-size: 1.15rem;
    }

    .fbmc-gauge-svg {
        width: 150px;
        height: 150px;
    }

    .fbmc-gauge-score {
        font-size: 2.4rem;
    }

    .fbmc-breakdown-header {
        padding: 14px 14px;
        gap: 10px;
    }

    .fbmc-breakdown-name {
        font-size: 0.88rem;
    }

    .fbmc-breakdown-bar-wrap {
        width: 45px;
    }

    .fbmc-faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .fbmc-dark-toggle {
        width: 42px;
        height: 42px;
        top: 14px;
        right: 14px;
        font-size: 17px;
    }

    .fbmc-suggestions {
        padding: 18px 16px;
    }

    .fbmc-progress-card {
        padding: 22px 18px;
    }

    .fbmc-progress-card::before {
        left: 35px;
    }

    .fbmc-hero-shape-1 {
        width: 120px;
        height: 120px;
    }

    .fbmc-hero-shape-2 {
        width: 80px;
        height: 80px;
    }

    .fbmc-hero-shape-3 {
        width: 50px;
        height: 50px;
    }

    .fbmc-toast {
        max-width: calc(100vw - 32px);
        font-size: 0.82rem;
        padding: 12px 20px;
    }
}

/* ============================================================
   24. RESPONSIVE — TABLET (480px - 768px)
   ============================================================ */
@media (min-width: 480px) and (max-width: 767px) {
    .fbmc-container {
        padding: 0 14px 50px;
    }

    .fbmc-hero {
        padding: 56px 28px 44px;
        margin: 0 -14px;
    }

    .fbmc-hero h1 {
        font-size: 2rem;
    }

    .fbmc-input-card {
        padding: 28px 24px;
    }

    .fbmc-gauge-svg {
        width: 160px;
        height: 160px;
    }

    .fbmc-gauge-score {
        font-size: 2.8rem;
    }
}

/* ============================================================
   25. RESPONSIVE — DESKTOP (768px+)
   ============================================================ */
@media (min-width: 768px) {
    .fbmc-container {
        padding: 0 24px 60px;
    }

    .fbmc-hero {
        margin: 0 -24px;
        border-radius: 0 0 var(--fbmc-radius-lg) var(--fbmc-radius-lg);
    }

    .fbmc-input-card {
        padding: 36px 32px;
    }

    .fbmc-breakdown-header {
        padding: 18px 22px;
    }

    .fbmc-breakdown-content {
        padding: 0 22px 20px;
    }
}

/* ============================================================
   26. PRINT STYLES
   ============================================================ */
@media print {
    .fbmc-container {
        background: #ffffff !important;
        color: #000000 !important;
        box-shadow: none !important;
        max-width: 100%;
        padding: 0;
    }

    .fbmc-hero {
        background: #f0f4f8 !important;
        color: #1e293b !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .fbmc-dark-toggle,
    .fbmc-btn-analyze,
    .fbmc-ad-slot,
    .fbmc-share-btn,
    .fbmc-pdf-btn,
    .fbmc-btn-spinner,
    .fbmc-progress,
    .fbmc-toast {
        display: none !important;
    }

    .fbmc-input-section {
        display: none !important;
    }

    .fbmc-results {
        display: block !important;
    }

    .fbmc-profile-card,
    .fbmc-score-gauge,
    .fbmc-breakdown-item,
    .fbmc-suggestions,
    .fbmc-faq-item,
    .fbmc-disclaimer {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        backdrop-filter: none !important;
        background: #ffffff !important;
    }

    .fbmc-breakdown-body {
        max-height: none !important;
        overflow: visible !important;
    }

    .fbmc-faq-answer {
        max-height: none !important;
        overflow: visible !important;
    }

    .fbmc-hero-bg,
    .fbmc-hero-shape {
        display: none !important;
    }
}

/* ============================================================
   27. FOCUS VISIBLE — ACCESSIBILITY
   ============================================================ */
.fbmc-container :focus-visible {
    outline: 2px solid var(--fbmc-primary);
    outline-offset: 2px;
}

.fbmc-container button:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================================
   28. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .fbmc-container,
    .fbmc-container * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fbmc-hero-shape {
        animation: none !important;
    }
}

/* ============================================================
   29. HIGH CONTRAST / FORCED COLORS
   ============================================================ */
@media (forced-colors: active) {
    .fbmc-btn-analyze {
        border: 2px solid ButtonText;
    }

    .fbmc-input {
        border: 2px solid ButtonText;
    }

    .fbmc-status-badge {
        border: 1px solid ButtonText;
    }
}

/* ============================================================
   30. LOADING SKELETON PLACEHOLDERS
   ============================================================ */
.fbmc-skeleton {
    background: linear-gradient(
        90deg,
        var(--fbmc-border) 25%,
        var(--fbmc-surface-hover) 37%,
        var(--fbmc-border) 63%
    );
    background-size: 200% 100%;
    animation: fbmc-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--fbmc-radius-sm);
}

.fbmc-skeleton-circle {
    border-radius: 50%;
}

.fbmc-skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.fbmc-skeleton-text-lg {
    height: 22px;
    margin-bottom: 10px;
    width: 60%;
}

/* ============================================================
   31. DARK MODE AUTO-DETECT (prefers-color-scheme)
   ============================================================ */
@media (prefers-color-scheme: dark) {
    .fbmc-container[data-theme="auto"] {
        --fbmc-bg: #0f172a;
        --fbmc-surface: #1e293b;
        --fbmc-surface-rgb: 30, 41, 59;
        --fbmc-surface-glass: rgba(30, 41, 59, 0.70);
        --fbmc-surface-hover: #263348;
        --fbmc-text: #e2e8f0;
        --fbmc-text-muted: #94a3b8;
        --fbmc-border: rgba(255, 255, 255, 0.08);
        --fbmc-border-strong: rgba(255, 255, 255, 0.14);
        --fbmc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.20), 0 1px 2px rgba(0, 0, 0, 0.16);
        --fbmc-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 1px 4px rgba(0, 0, 0, 0.15);
        --fbmc-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.30), 0 4px 12px rgba(0, 0, 0, 0.20);
        --fbmc-shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.40), 0 8px 20px rgba(0, 0, 0, 0.25);
        --fbmc-shadow-glow: 0 0 30px rgba(24, 119, 242, 0.30);
    }
}

/* ============================================================
   32. SCROLLBAR STYLING (WEBKIT)
   ============================================================ */
.fbmc-container ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.fbmc-container ::-webkit-scrollbar-track {
    background: transparent;
}

.fbmc-container ::-webkit-scrollbar-thumb {
    background: var(--fbmc-border-strong);
    border-radius: 3px;
}

.fbmc-container ::-webkit-scrollbar-thumb:hover {
    background: var(--fbmc-text-muted);
}

/* ============================================================
   33. RESULTS CARD WRAPPER (used by JS)
   ============================================================ */
.fbmc-results-card {
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius);
    padding: 28px;
    box-shadow: var(--fbmc-shadow);
    margin-bottom: 24px;
    transition: var(--fbmc-transition);
}

.fbmc-results-card:hover {
    box-shadow: var(--fbmc-shadow-lg);
}

/* ============================================================
   34. ADDITIONAL HOVER & INTERACTION MICRO-ANIMATIONS
   ============================================================ */

/* Profile card image hover */
.fbmc-profile-card:hover .fbmc-profile-img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Breakdown bar fill animation on scroll-in (class added by JS) */
.fbmc-breakdown-bar {
    width: 0;
}

.fbmc-breakdown-item.fbmc-animated .fbmc-breakdown-bar {
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stagger animation for suggestions */
.fbmc-suggestion-item {
    opacity: 0;
    animation: fbmc-slide-up 0.4s ease forwards;
}

.fbmc-suggestion-item:nth-child(1) { animation-delay: 0.05s; }
.fbmc-suggestion-item:nth-child(2) { animation-delay: 0.10s; }
.fbmc-suggestion-item:nth-child(3) { animation-delay: 0.15s; }
.fbmc-suggestion-item:nth-child(4) { animation-delay: 0.20s; }
.fbmc-suggestion-item:nth-child(5) { animation-delay: 0.25s; }
.fbmc-suggestion-item:nth-child(6) { animation-delay: 0.30s; }
.fbmc-suggestion-item:nth-child(7) { animation-delay: 0.35s; }
.fbmc-suggestion-item:nth-child(8) { animation-delay: 0.40s; }

/* Score pop-in */
.fbmc-score-gauge.fbmc-animated .fbmc-gauge-center {
    animation: fbmc-score-pop 0.5s ease forwards;
}

/* Category badge shimmer on hover */
.fbmc-profile-category:hover {
    background: rgba(var(--fbmc-primary-rgb), 0.16);
}

/* FAQ item active state */
.fbmc-faq-item.fbmc-open {
    border-color: rgba(var(--fbmc-primary-rgb), 0.20);
    box-shadow: var(--fbmc-shadow-sm);
}

/* Input section lift on focus-within */
.fbmc-input-card:focus-within {
    box-shadow: var(--fbmc-shadow-xl);
    border-color: rgba(var(--fbmc-primary-rgb), 0.15);
}

/* ============================================================
   34. ELIGIBILITY HIGHLIGHT CARD
   ============================================================ */
.fbmc-eligibility-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--fbmc-radius);
    margin: 24px 0;
    border: 1px solid var(--fbmc-border);
    animation: fbmc-fade-in-up 0.5s ease forwards;
    background: var(--fbmc-surface-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--fbmc-shadow);
}

.fbmc-eligibility--eligible {
    border-left: 6px solid var(--fbmc-success);
    background: rgba(16, 185, 129, 0.04);
}

[data-theme="dark"] .fbmc-eligibility--eligible {
    background: rgba(16, 185, 129, 0.08);
}

.fbmc-eligibility--not-eligible {
    border-left: 6px solid var(--fbmc-warning);
    background: rgba(245, 158, 11, 0.04);
}

[data-theme="dark"] .fbmc-eligibility--not-eligible {
    background: rgba(245, 158, 11, 0.08);
}

.fbmc-eligibility-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fbmc-eligibility-content {
    flex-grow: 1;
}

.fbmc-eligibility-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--fbmc-text);
}

.fbmc-eligibility--eligible .fbmc-eligibility-title {
    color: var(--fbmc-success);
}

.fbmc-eligibility--not-eligible .fbmc-eligibility-title {
    color: var(--fbmc-warning);
}

.fbmc-eligibility-desc {
    font-size: 0.95rem;
    color: var(--fbmc-text-muted);
    line-height: 1.5;
}

/* ============================================================
   34b. ACTION BUTTONS ROW & PDF BUTTON
   ============================================================ */
.fbmc-actions-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    margin-bottom: 24px;
}

.fbmc-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--fbmc-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fbmc-text);
    background: rgba(120, 120, 120, 0.08);
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius-pill);
    cursor: pointer;
    transition: var(--fbmc-transition);
}

.fbmc-pdf-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
    box-shadow: var(--fbmc-shadow-sm);
}

[data-theme="dark"] .fbmc-pdf-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--fbmc-text);
}

[data-theme="dark"] .fbmc-pdf-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.fbmc-pdf-btn:active {
    transform: translateY(0);
}

/* ============================================================
   34c. FOLLOWERS ADJUST STYLES
   ============================================================ */
.fbmc-profile-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.fbmc-followers-adjust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--fbmc-text-muted);
}

.fbmc-adjust-trigger {
    background: none;
    border: none;
    color: var(--fbmc-primary);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    font-weight: 600;
    text-decoration: underline;
    transition: var(--fbmc-transition-fast);
}

.fbmc-adjust-trigger:hover {
    color: var(--fbmc-secondary);
}

.fbmc-adjust-input-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fbmc-adjust-input {
    width: 95px;
    padding: 4px 8px;
    font-size: 0.8rem;
    border: 1px solid var(--fbmc-border);
    border-radius: var(--fbmc-radius-sm);
    outline: none;
    background: var(--fbmc-surface);
    color: var(--fbmc-text);
}

.fbmc-adjust-save {
    background: var(--fbmc-primary);
    color: var(--fbmc-text-inverse);
    border: none;
    border-radius: var(--fbmc-radius-sm);
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fbmc-transition-fast);
}

.fbmc-adjust-save:hover {
    background: var(--fbmc-secondary);
}

/* ============================================================
   35. SELECTION STYLING
   ============================================================ */
.fbmc-container ::selection {
    background: rgba(var(--fbmc-primary-rgb), 0.20);
    color: var(--fbmc-text);
}

/* ============================================================
   END OF STYLES — Facebook Monetization Checker Pro
   ============================================================ */
