/* ══════════════════════════════════════════════
   Global Dashboard Font Size Bump
   Base: 15px (up from browser default 13-14px)
   ══════════════════════════════════════════════ */
.fflp-dashboard,
.fflp-dashboard *:not(.dashicons):not([class*="icon"]):not(h1):not(h2):not(h3) {
    font-size: inherit;
}

.fflp-dashboard {
    font-size: 15px;
    line-height: 1.6;
}

.fflp-dashboard .fflp-field-label,
.fflp-dashboard label {
    font-size: 14px;
}

.fflp-dashboard .fflp-field-hint {
    font-size: 12.5px;
}

.fflp-dashboard .fflp-field-input,
.fflp-dashboard .fflp-field-select,
.fflp-dashboard .fflp-field-textarea,
.fflp-dashboard input[type="text"],
.fflp-dashboard input[type="email"],
.fflp-dashboard input[type="url"],
.fflp-dashboard input[type="tel"],
.fflp-dashboard input[type="number"],
.fflp-dashboard select,
.fflp-dashboard textarea {
    font-size: 15px;
}

.fflp-dashboard .fflp-tab-btn,
.fflp-dashboard .fflp-section-title {
    font-size: 15px;
}

.fflp-dashboard .fflp-btn,
.fflp-dashboard button {
    font-size: 14px;
}

/**
 * FFLP Owner Dashboard Styles
 *
 * Token-based dashboard for listing owners.
 * No login required.
 *
 * Sections:
 *   1. Variables
 *   2. Wrapper
 *   3. Header
 *   4. Upgrade Banner
 *   5. Tab Navigation (NEW)
 *   6. Tab Panels (NEW)
 *   7. Sections
 *   8. Stats Grid
 *   9. Locked Sections
 *  10. Leads Widget
 *  11. QR Code Widget
 *  12. Listing Details Table
 *  13. Editor Forms (NEW)
 *  14. Repeaters (NEW)
 *  15. Hours Editor (NEW)
 *  16. Menu Editor (NEW)
 *  17. Coupons Editor (NEW)
 *  18. Reviews Editor (NEW)
 *  19. Upload Zone (NEW)
 *  20. Save Status (NEW)
 *  21. Info Callouts (NEW)
 *  22. Lead Form (Public Listing)
 *  23. Loading State
 *  24. Footer
 *  25. Error Page
 *  26. Utility Classes (NEW)
 *  27. Responsive — Tablet
 *  28. Responsive — Mobile
 *
 * @package FlavorFlavorListingPages
 * @since   1.1.0
 */


/* ─────────────────────────────────────────
   1. VARIABLES
   ───────────────────────────────────────── */

:root {
    --fflp-dash-primary:    #2563eb;
    --fflp-dash-primary-dk: #1d4ed8;
    --fflp-dash-primary-lt: rgba(37, 99, 235, 0.08);
    --fflp-dash-success:    #16a34a;
    --fflp-dash-success-lt: #dcfce7;
    --fflp-dash-warning:    #f59e0b;
    --fflp-dash-warning-lt: #fef3c7;
    --fflp-dash-danger:     #dc2626;
    --fflp-dash-danger-lt:  #fef2f2;
    --fflp-dash-bg:         #f1f5f9;
    --fflp-dash-card-bg:    #ffffff;
    --fflp-dash-text:       #1e293b;
    --fflp-dash-text-light: #64748b;
    --fflp-dash-border:     #e2e8f0;
    --fflp-dash-radius:     12px;
    --fflp-dash-radius-sm:  8px;
    --fflp-dash-shadow:     0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --fflp-dash-shadow-lg:  0 4px 12px rgba(0, 0, 0, 0.1);
    --fflp-dash-max-width:  1140px;
    --fflp-dash-transition: 0.2s ease;
}


/* ─────────────────────────────────────────
   2. WRAPPER
   ───────────────────────────────────────── */

.fflp-dashboard-wrap {
    background: var(--fflp-dash-bg);
    min-height: 100vh;
    padding: 0 0 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--fflp-dash-text);
    font-size: 16px;
    line-height: 1.6;
}

.fflp-dashboard-wrap *,
.fflp-dashboard-wrap *::before,
.fflp-dashboard-wrap *::after {
    box-sizing: border-box;
}


/* ─────────────────────────────────────────
   3. HEADER
   ───────────────────────────────────────── */

.fflp-dash-header {
    background: linear-gradient(135deg, var(--fflp-dash-primary), var(--fflp-dash-primary-dk));
    color: #fff;
    padding: 40px 20px;
}

.fflp-dash-header-inner {
    max-width: var(--fflp-dash-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.fflp-dash-avatar {
    flex-shrink: 0;
}

.fflp-dash-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.fflp-dash-header-info h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.fflp-dash-tier-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.fflp-tier-community-free {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.fflp-tier-basic {
    background: #fbbf24;
    color: #1e293b;
}

.fflp-tier-featured {
    background: #f97316;
    color: #fff;
}

.fflp-tier-premium {
    background: #8b5cf6;
    color: #fff;
}

.fflp-tier-founding-member {
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #1e293b;
}

.fflp-tier-community-partner {
    background: #10b981;
    color: #fff;
}

.fflp-tier-enhanced {
    background: #6366f1;
    color: #fff;
}

.fflp-dash-view-listing {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: color var(--fflp-dash-transition);
}

.fflp-dash-view-listing:hover {
    color: #fff;
}


/* ─────────────────────────────────────────
   4. UPGRADE BANNER
   ───────────────────────────────────────── */

.fflp-dash-upgrade-banner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-bottom: 2px solid #f59e0b;
    padding: 20px;
}

.fflp-dash-upgrade-inner {
    max-width: var(--fflp-dash-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.fflp-dash-upgrade-text {
    flex: 1;
}

.fflp-dash-upgrade-text strong {
    font-size: 18px;
    color: #92400e;
}

.fflp-dash-upgrade-text p {
    margin: 4px 0 0;
    color: #78350f;
    font-size: 14px;
}

.fflp-dash-upgrade-btn {
    display: inline-block;
    background: var(--fflp-dash-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--fflp-dash-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background var(--fflp-dash-transition), transform 0.1s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.fflp-dash-upgrade-btn:hover {
    background: var(--fflp-dash-primary-dk);
    color: #fff;
    transform: translateY(-1px);
}


/* ─────────────────────────────────────────
   5. TAB NAVIGATION
   ───────────────────────────────────────── */

.fflp-dash-tabs-wrap {
    max-width: var(--fflp-dash-max-width);
    margin: 0 auto;
    padding: 24px 20px 0;
}

.fflp-dash-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 2px;
    border-bottom: 1px solid var(--fflp-dash-border);
    padding: 0;
    margin: 0;
}

.fflp-dash-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--fflp-dash-text-light);
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--fflp-dash-transition),
                border-color var(--fflp-dash-transition),
                background var(--fflp-dash-transition);
    border-radius: var(--fflp-dash-radius-sm) var(--fflp-dash-radius-sm) 0 0;
    position: relative;
    margin-bottom: -1px;
}

.fflp-dash-tab:hover {
    color: var(--fflp-dash-text);
    background: rgba(0, 0, 0, 0.03);
}

.fflp-dash-tab-active {
    color: var(--fflp-dash-primary);
    border-bottom-color: var(--fflp-dash-primary);
    background: var(--fflp-dash-card-bg);
}

.fflp-dash-tab-active:hover {
    color: var(--fflp-dash-primary);
    background: var(--fflp-dash-card-bg);
}

/* ─── Mobile: switch to horizontal scroll ─── */
@media (max-width: 768px) {
    .fflp-dash-tabs-wrap {
        padding-left: 12px;
        padding-right: 12px;
        position: relative;
    }

    .fflp-dash-tabs-wrap::after {
        content: '';
        position: absolute;
        right: 12px;
        top: 24px;
        bottom: 0;
        width: 40px;
        background: linear-gradient(90deg, transparent, var(--fflp-dash-bg) 70%);
        pointer-events: none;
        z-index: 3;
    }

    .fflp-dash-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-right: 40px;
    }

    .fflp-dash-tabs::-webkit-scrollbar {
        display: none;
    }

    .fflp-dash-tab {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .fflp-dash-tabs-wrap {
        padding-left: 8px;
        padding-right: 8px;
    }

    .fflp-dash-tabs-wrap::after {
        right: 8px;
        width: 35px;
    }

    .fflp-dash-tabs {
        padding-right: 35px;
    }

    .fflp-dash-tab {
        padding: 8px 10px;
        font-size: 11px;
        gap: 3px;
    }
}


/* ─────────────────────────────────────────
   6. TAB PANELS
   ───────────────────────────────────────── */


/* ─────────────────────────────────────────
   GROUPED NAV — Main row + expandable sub-rows
   ───────────────────────────────────────── */

.fflp-dash-tabs {
    display: flex;
    flex-direction: column;
    border-bottom: none;
    gap: 0;
}

.fflp-dash-tabs__main {
    display: flex;
    align-items: center;
    gap: 2px;
    border-bottom: 1px solid var(--fflp-dash-border);
    padding: 0;
    flex-wrap: wrap;
}

.fflp-dash-tabs__main .fflp-dash-tab {
    margin-bottom: -1px;
}

/* Group toggle (Profile ▼, Events ▼) */
.fflp-dash-tab--group-toggle {
    position: relative;
}

.fflp-dash-tab-caret {
    font-size: 10px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.fflp-dash-tab--group-toggle[aria-expanded="true"] .fflp-dash-tab-caret {
    transform: rotate(180deg);
}

/* Highlight group toggle when its group is active */
.fflp-dash-tab--group-toggle.fflp-dash-tab--group-active {
    color: var(--fflp-dash-primary);
    border-bottom-color: var(--fflp-dash-primary);
    background: var(--fflp-dash-card-bg);
}

/* Sub-tab row */
.fflp-dash-tabs__sub {
    display: none;
    flex-wrap: wrap;
    gap: 2px;
    padding: 6px 0 0;
    border-bottom: 1px solid var(--fflp-dash-border);
    background: rgba(0, 0, 0, 0.015);
}

.fflp-dash-tabs__sub.fflp-dash-tabs__sub--open {
    display: flex;
}

.fflp-dash-tab--sub {
    font-size: 12.5px;
    padding: 8px 12px;
    border-bottom-width: 2px;
}

.fflp-dash-tab--sub.fflp-dash-tab-active {
    color: var(--fflp-dash-primary);
    border-bottom-color: var(--fflp-dash-primary);
    background: var(--fflp-dash-card-bg);
}

/* Lock icon */
.fflp-dash-tab-lock {
    font-size: 10px;
    margin-left: 2px;
    opacity: 0.6;
}

/* Badge */
.fflp-dash-tab-badge {
    background: var(--fflp-dash-accent, #e74c3c);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.4;
    min-width: 18px;
    text-align: center;
}

/* ─── Mobile tweaks for grouped nav ─── */
@media (max-width: 768px) {
    .fflp-dash-tabs__main {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-right: 30px;
    }
    .fflp-dash-tabs__main::-webkit-scrollbar {
        display: none;
    }
    .fflp-dash-tabs__sub {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-right: 30px;
    }
    .fflp-dash-tabs__sub::-webkit-scrollbar {
        display: none;
    }
    .fflp-dash-tab--sub {
        font-size: 11.5px;
        padding: 7px 10px;
    }
}

@media (max-width: 480px) {
    .fflp-dash-tabs__main .fflp-dash-tab {
        padding: 8px 10px;
        font-size: 11.5px;
    }
    .fflp-dash-tab--sub {
        font-size: 10.5px;
        padding: 6px 8px;
    }
}


.fflp-dash-tab-panel {
    display: none;
}

.fflp-dash-tab-panel-active {
    display: block;
    animation: fflpFadeIn 0.25s ease;
}

@keyframes fflpFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ─────────────────────────────────────────
   7. SECTIONS
   ───────────────────────────────────────── */

.fflp-dash-section {
    max-width: var(--fflp-dash-max-width);
    margin: 32px auto 0;
    padding: 0 20px;
}

.fflp-dash-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--fflp-dash-text);
}

.fflp-dash-section-desc {
    margin: -8px 0 20px;
    font-size: 14px;
    color: var(--fflp-dash-text-light);
    line-height: 1.5;
}


/* ─────────────────────────────────────────
   8. STATS GRID
   ───────────────────────────────────────── */

.fflp-dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fflp-dash-stat-card {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--fflp-dash-shadow);
    transition: box-shadow var(--fflp-dash-transition);
    position: relative;
}

.fflp-dash-stat-card:hover {
    box-shadow: var(--fflp-dash-shadow-lg);
}

.fflp-dash-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--fflp-dash-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.fflp-dash-stat-label {
    font-size: 13px;
    color: var(--fflp-dash-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Locked stat cards */
.fflp-dash-locked {
    opacity: 0.65;
    position: relative;
}

.fflp-dash-locked .fflp-dash-stat-number {
    font-size: 28px;
    color: var(--fflp-dash-text-light);
}

.fflp-dash-locked-tag {
    display: block;
    font-size: 11px;
    color: var(--fflp-dash-warning);
    font-weight: 600;
    margin-top: 4px;
}


/* ─────────────────────────────────────────
   9. LOCKED SECTION (Leads / QR / etc.)
   ───────────────────────────────────────── */

.fflp-dash-locked-section {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--fflp-dash-shadow);
    border: 2px dashed var(--fflp-dash-border);
}

.fflp-dash-locked-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.fflp-dash-locked-section h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--fflp-dash-text);
}

.fflp-dash-locked-section p {
    margin: 0 0 20px;
    color: var(--fflp-dash-text-light);
    font-size: 15px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}


/* ─────────────────────────────────────────
   10. LEADS WIDGET
   ───────────────────────────────────────── */

.fflp-dash-leads-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fflp-dash-lead-card {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 20px;
    box-shadow: var(--fflp-dash-shadow);
    position: relative;
    border-left: 4px solid var(--fflp-dash-border);
    transition: box-shadow var(--fflp-dash-transition);
}

.fflp-dash-lead-card:hover {
    box-shadow: var(--fflp-dash-shadow-lg);
}

.fflp-lead-status-new {
    border-left-color: var(--fflp-dash-danger);
}

.fflp-lead-status-read {
    border-left-color: var(--fflp-dash-warning);
}

.fflp-lead-status-contacted {
    border-left-color: var(--fflp-dash-success);
}

.fflp-dash-lead-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.fflp-dash-lead-header strong {
    font-size: 16px;
    color: var(--fflp-dash-text);
}

.fflp-dash-lead-date {
    font-size: 13px;
    color: var(--fflp-dash-text-light);
}

.fflp-dash-lead-contact {
    font-size: 14px;
    color: var(--fflp-dash-text-light);
    margin-bottom: 8px;
}

.fflp-dash-lead-contact a {
    color: var(--fflp-dash-primary);
    text-decoration: none;
}

.fflp-dash-lead-contact a:hover {
    text-decoration: underline;
}

.fflp-dash-lead-row {
    font-size: 14px;
    color: var(--fflp-dash-text);
    margin-bottom: 6px;
}

.fflp-dash-lead-row a {
    color: var(--fflp-dash-primary);
    text-decoration: none;
}

.fflp-dash-lead-row a:hover {
    text-decoration: underline;
}

.fflp-dash-lead-message {
    font-size: 14px;
    color: var(--fflp-dash-text);
    line-height: 1.5;
    background: var(--fflp-dash-bg);
    padding: 12px 16px;
    border-radius: var(--fflp-dash-radius-sm);
    margin-top: 8px;
    border-top: 1px solid var(--fflp-dash-border);
}

.fflp-dash-lead-badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--fflp-dash-danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.fflp-dash-no-leads {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 32px;
    text-align: center;
    color: var(--fflp-dash-text-light);
    box-shadow: var(--fflp-dash-shadow);
}

.fflp-dash-leads-note {
    text-align: center;
    color: var(--fflp-dash-text-light);
    font-size: 13px;
    margin-top: 16px;
}

.fflp-dash-leads-teaser {
    background: linear-gradient(135deg, #fff8f0, #fff0f0);
    border: 2px solid var(--fflp-dash-danger);
}

.fflp-dash-leads-teaser h3 {
    color: var(--fflp-dash-danger);
}


/* ─────────────────────────────────────────
   11. QR CODE WIDGET
   ───────────────────────────────────────── */

#fflp-dash-qr-widget {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--fflp-dash-shadow);
}

#fflp-dash-qr-widget img {
    max-width: 200px;
    height: auto;
    margin-bottom: 16px;
}

.fflp-dash-qr-caption {
    font-size: 14px;
    color: var(--fflp-dash-text-light);
    margin: 0;
}


/* ─────────────────────────────────────────
   12. LISTING DETAILS TABLE
   ───────────────────────────────────────── */

.fflp-dash-details-card {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 24px;
    box-shadow: var(--fflp-dash-shadow);
}

.fflp-dash-details-table {
    width: 100%;
    border-collapse: collapse;
}

.fflp-dash-details-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--fflp-dash-border);
    font-size: 15px;
    vertical-align: top;
}

.fflp-dash-details-table tr:last-child td {
    border-bottom: none;
}

.fflp-dash-details-table td:first-child {
    width: 140px;
    color: var(--fflp-dash-text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fflp-dash-details-table a {
    color: var(--fflp-dash-primary);
    text-decoration: none;
}

.fflp-dash-details-table a:hover {
    text-decoration: underline;
}

.fflp-dash-details-note {
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--fflp-dash-text-light);
    text-align: center;
}

.fflp-dash-details-note a {
    color: var(--fflp-dash-primary);
    text-decoration: none;
}

.fflp-dash-details-note a:hover {
    text-decoration: underline;
}


/* ─────────────────────────────────────────
   13. EDITOR FORMS (Shared)
   ───────────────────────────────────────── */

.fflp-dash-editor-form {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 28px;
    box-shadow: var(--fflp-dash-shadow);
}

.fflp-dash-field-group {
    margin-bottom: 20px;
}

.fflp-dash-field-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--fflp-dash-text);
    margin-bottom: 6px;
}

.fflp-dash-field-hint {
    font-size: 13px;
    color: var(--fflp-dash-text-light);
    margin: 6px 0 0;
    line-height: 1.4;
}

.fflp-dash-field-hint a {
    color: var(--fflp-dash-primary);
    text-decoration: none;
}

.fflp-dash-field-hint a:hover {
    text-decoration: underline;
}

/* Shared input styles for editor forms */
.fflp-dash-editor-form input[type="text"],
.fflp-dash-editor-form input[type="url"],
.fflp-dash-editor-form input[type="time"],
.fflp-dash-editor-form input[type="date"],
.fflp-dash-editor-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--fflp-dash-border);
    border-radius: var(--fflp-dash-radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--fflp-dash-text);
    background: #fff;
    transition: border-color var(--fflp-dash-transition),
                box-shadow var(--fflp-dash-transition);
    -webkit-appearance: none;
}

.fflp-dash-editor-form input[type="text"]:focus,
.fflp-dash-editor-form input[type="url"]:focus,
.fflp-dash-editor-form input[type="time"]:focus,
.fflp-dash-editor-form input[type="date"]:focus,
.fflp-dash-editor-form textarea:focus {
    outline: none;
    border-color: var(--fflp-dash-primary);
    box-shadow: 0 0 0 3px var(--fflp-dash-primary-lt);
}

.fflp-dash-editor-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Time inputs should be narrower */
.fflp-dash-editor-form input[type="time"] {
    width: auto;
    min-width: 130px;
}

.fflp-dash-editor-form input[type="date"] {
    width: auto;
    min-width: 160px;
}


/* ─────────────────────────────────────────
   14. REPEATERS
   ───────────────────────────────────────── */

.fflp-dash-repeater {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.fflp-dash-repeater-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--fflp-dash-bg);
    border-radius: var(--fflp-dash-radius-sm);
    border: 1px solid var(--fflp-dash-border);
    transition: background var(--fflp-dash-transition),
                border-color var(--fflp-dash-transition);
}

.fflp-dash-repeater-row:hover {
    border-color: #cbd5e1;
}

/* Repeater row inputs should fill available space */
.fflp-dash-repeater-row > input[type="text"],
.fflp-dash-repeater-row > input[type="url"] {
    flex: 1;
}

/* Remove button */
.fflp-dash-repeater-remove {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--fflp-dash-border);
    border-radius: 6px;
    color: var(--fflp-dash-text-light);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--fflp-dash-transition);
    padding: 0;
    line-height: 1;
}

.fflp-dash-repeater-remove:hover {
    background: var(--fflp-dash-danger-lt);
    border-color: var(--fflp-dash-danger);
    color: var(--fflp-dash-danger);
}

/* Add button */
.fflp-dash-repeater-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    border: 2px dashed var(--fflp-dash-border);
    border-radius: var(--fflp-dash-radius-sm);
    color: var(--fflp-dash-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--fflp-dash-transition);
    margin-bottom: 20px;
}

.fflp-dash-repeater-add:hover {
    border-color: var(--fflp-dash-primary);
    background: var(--fflp-dash-primary-lt);
}


/* ─────────────────────────────────────────
   15. HOURS EDITOR
   ───────────────────────────────────────── */

.fflp-dash-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.fflp-dash-hours-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--fflp-dash-bg);
    border-radius: var(--fflp-dash-radius-sm);
    border: 1px solid var(--fflp-dash-border);
}

.fflp-dash-hours-day {
    width: 110px;
    flex-shrink: 0;
    font-size: 15px;
}

.fflp-dash-hours-day strong {
    color: var(--fflp-dash-text);
}

.fflp-dash-hours-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.fflp-dash-hours-closed-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--fflp-dash-text-light);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.fflp-dash-hours-closed-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--fflp-dash-danger);
}

.fflp-dash-hours-times {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity var(--fflp-dash-transition);
}

.fflp-dash-hours-sep {
    font-size: 13px;
    color: var(--fflp-dash-text-light);
    font-weight: 500;
}


/* ─────────────────────────────────────────
   16. MENU EDITOR
   ───────────────────────────────────────── */

.fflp-dash-menu-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.fflp-dash-menu-type-option {
    cursor: pointer;
}

.fflp-dash-menu-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fflp-dash-menu-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    background: var(--fflp-dash-bg);
    border: 2px solid var(--fflp-dash-border);
    border-radius: var(--fflp-dash-radius-sm);
    text-align: center;
    transition: all var(--fflp-dash-transition);
}

.fflp-dash-menu-type-card strong {
    font-size: 15px;
    color: var(--fflp-dash-text);
}

.fflp-dash-menu-type-card span {
    font-size: 12px;
    color: var(--fflp-dash-text-light);
}

.fflp-dash-menu-type-option input[type="radio"]:checked + .fflp-dash-menu-type-card {
    border-color: var(--fflp-dash-primary);
    background: var(--fflp-dash-primary-lt);
}

.fflp-dash-menu-type-option:hover .fflp-dash-menu-type-card {
    border-color: #cbd5e1;
}

/* Menu panels */
.fflp-dash-menu-panel {
    margin-bottom: 20px;
}

.fflp-dash-menu-panel label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--fflp-dash-text);
    margin-bottom: 6px;
}

/* Current PDF display */
.fflp-dash-menu-pdf-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: var(--fflp-dash-success-lt);
    border: 1px solid #86efac;
    border-radius: var(--fflp-dash-radius-sm);
    margin-bottom: 12px;
}

.fflp-dash-menu-pdf-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.fflp-dash-menu-pdf-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.fflp-dash-menu-pdf-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--fflp-dash-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fflp-dash-menu-pdf-preview {
    font-size: 13px;
    color: var(--fflp-dash-primary);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.fflp-dash-menu-pdf-preview:hover {
    text-decoration: underline;
}

.fflp-dash-menu-pdf-remove {
    background: transparent;
    border: 1px solid var(--fflp-dash-danger);
    color: var(--fflp-dash-danger);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--fflp-dash-transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.fflp-dash-menu-pdf-remove:hover {
    background: var(--fflp-dash-danger);
    color: #fff;
}


/* ─────────────────────────────────────────
   17. COUPONS EDITOR
   ───────────────────────────────────────── */

.fflp-dash-coupon-row {
    flex-direction: column;
}

.fflp-dash-coupon-row > .fflp-dash-repeater-remove {
    align-self: flex-end;
    margin-top: -8px;
}

.fflp-dash-coupon-fields {
    flex: 1;
    width: 100%;
}

.fflp-dash-coupon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.fflp-dash-coupon-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--fflp-dash-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.fflp-dash-coupon-active-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--fflp-dash-text-light);
    cursor: pointer;
    user-select: none;
}

.fflp-dash-coupon-active-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--fflp-dash-success);
}

.fflp-dash-coupon-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fflp-dash-coupon-meta-row {
    display: flex;
    gap: 16px;
}

.fflp-dash-coupon-code-field,
.fflp-dash-coupon-expiry-field {
    flex: 1;
}

.fflp-dash-coupon-code-field label,
.fflp-dash-coupon-expiry-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--fflp-dash-text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.fflp-coupon-code {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}


/* ─────────────────────────────────────────
   18. REVIEWS EDITOR
   ───────────────────────────────────────── */

.fflp-dash-reviews-status-card {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 24px;
    box-shadow: var(--fflp-dash-shadow);
    margin-top: 24px;
}

.fflp-dash-reviews-status-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--fflp-dash-text);
}

.fflp-dash-reviews-summary {
    display: flex;
    align-items: center;
    gap: 24px;
}

.fflp-dash-reviews-rating {
    text-align: center;
}

.fflp-dash-reviews-rating-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--fflp-dash-text);
    line-height: 1;
}

.fflp-dash-reviews-rating-stars {
    font-size: 24px;
    color: #fbbf24;
    letter-spacing: 2px;
}

.fflp-dash-reviews-meta {
    flex: 1;
}

.fflp-dash-reviews-meta p {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--fflp-dash-text);
}

.fflp-dash-reviews-updated {
    font-size: 13px;
    color: var(--fflp-dash-text-light);
}


/* ─────────────────────────────────────────
   19. UPLOAD ZONE
   ───────────────────────────────────────── */

.fflp-dash-upload-zone {
    border: 2px dashed var(--fflp-dash-border);
    border-radius: var(--fflp-dash-radius);
    padding: 40px 24px;
    text-align: center;
    transition: all var(--fflp-dash-transition);
    cursor: pointer;
}

.fflp-dash-upload-zone:hover,
.fflp-dash-upload-zone-hover {
    border-color: var(--fflp-dash-primary);
    background: var(--fflp-dash-primary-lt);
}

.fflp-dash-upload-zone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.fflp-dash-upload-icon {
    font-size: 36px;
}

.fflp-dash-upload-zone p {
    margin: 0;
    font-size: 14px;
    color: var(--fflp-dash-text-light);
}

.fflp-dash-upload-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--fflp-dash-primary);
    color: #fff;
    border: none;
    border-radius: var(--fflp-dash-radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--fflp-dash-transition);
}

.fflp-dash-upload-btn:hover {
    background: var(--fflp-dash-primary-dk);
}

.fflp-dash-upload-hint {
    font-size: 12px !important;
    color: var(--fflp-dash-text-light) !important;
}

/* Progress bar */
.fflp-dash-upload-progress {
    margin-top: 16px;
    background: var(--fflp-dash-bg);
    border-radius: 20px;
    overflow: hidden;
    height: 28px;
    position: relative;
}

.fflp-dash-upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--fflp-dash-primary), #60a5fa);
    border-radius: 20px;
    width: 0%;
    transition: width 0.3s ease;
}

.fflp-dash-upload-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--fflp-dash-text);
}


/* ─────────────────────────────────────────
   20. SAVE STATUS & FORM ACTIONS
   ───────────────────────────────────────── */

.fflp-dash-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--fflp-dash-border);
    margin-top: 20px;
}

.fflp-dash-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background: var(--fflp-dash-primary);
    color: #fff;
    border: none;
    border-radius: var(--fflp-dash-radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--fflp-dash-transition), transform 0.1s;
    white-space: nowrap;
}

.fflp-dash-save-btn:hover {
    background: var(--fflp-dash-primary-dk);
    transform: translateY(-1px);
}

.fflp-dash-save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.fflp-dash-save-status {
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.fflp-status-success {
    color: var(--fflp-dash-success);
}

.fflp-status-error {
    color: var(--fflp-dash-danger);
}


/* ─────────────────────────────────────────
   21. INFO CALLOUTS
   ───────────────────────────────────────── */

.fflp-dash-info-callout {
    background: var(--fflp-dash-primary-lt);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--fflp-dash-radius);
    padding: 20px 24px;
    margin-top: 24px;
    font-size: 15px;
}

.fflp-dash-info-callout strong {
    display: inline;
    font-size: inherit;
    font-weight: 700;
    color: var(--fflp-dash-text);
    margin-bottom: 0;
}

.fflp-dash-info-callout ol {
    margin: 0;
    padding: 0 0 0 20px;
}

.fflp-dash-info-callout li {
    font-size: 14px;
    color: var(--fflp-dash-text);
    padding: 3px 0;
    line-height: 1.5;
}

/* Empty states (small variant inside cards) */
.fflp-dash-empty-state {
    text-align: center;
    padding: 32px 20px;
}

.fflp-dash-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.fflp-dash-empty-state h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--fflp-dash-text);
}

.fflp-dash-empty-state p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--fflp-dash-text-light);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.fflp-dash-empty-state-small {
    padding: 20px 16px;
}

.fflp-dash-empty-state-small p {
    margin-bottom: 8px;
}

/* Action button (generic) */
.fflp-dash-action-btn {
    display: inline-block;
    background: var(--fflp-dash-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--fflp-dash-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background var(--fflp-dash-transition);
}

.fflp-dash-action-btn:hover {
    background: var(--fflp-dash-primary-dk);
    color: #fff;
}


/* ─────────────────────────────────────────
   22. LEAD FORM (Public Listing Page)
   ───────────────────────────────────────── */

.fflp-lead-form-wrap {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 28px;
    box-shadow: var(--fflp-dash-shadow);
    margin: 24px 0;
}

.fflp-lead-form-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--fflp-dash-text);
}

.fflp-lead-field {
    margin-bottom: 16px;
}

.fflp-lead-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--fflp-dash-text);
    margin-bottom: 4px;
}

.fflp-lead-field input,
.fflp-lead-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--fflp-dash-border);
    border-radius: var(--fflp-dash-radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--fflp-dash-text);
    transition: border-color var(--fflp-dash-transition);
    background: #fff;
}

.fflp-lead-field input:focus,
.fflp-lead-field textarea:focus {
    outline: none;
    border-color: var(--fflp-dash-primary);
    box-shadow: 0 0 0 3px var(--fflp-dash-primary-lt);
}

.fflp-lead-field textarea {
    resize: vertical;
    min-height: 100px;
}

.fflp-lead-submit {
    display: inline-block;
    background: var(--fflp-dash-primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: var(--fflp-dash-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--fflp-dash-transition), transform 0.1s;
    font-family: inherit;
}

.fflp-lead-submit:hover {
    background: var(--fflp-dash-primary-dk);
    transform: translateY(-1px);
}

.fflp-lead-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.fflp-lead-status {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: var(--fflp-dash-radius-sm);
    font-size: 14px;
    font-weight: 500;
}

.fflp-lead-status.success {
    background: var(--fflp-dash-success-lt);
    color: #166534;
    border: 1px solid #86efac;
}

.fflp-lead-status.error {
    background: var(--fflp-dash-danger-lt);
    color: #991b1b;
    border: 1px solid #fecaca;
}


/* ───────────────────────────────────────────
   LEAD GATING — MASKED / FREE TIER
   ─────────────────────────────────────────── */

/* Gated summary bar */
.fflp-leads-gated-summary {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #856404;
    text-align: center;
}

.fflp-leads-gated-count {
    font-size: 24px;
    font-weight: 700;
    color: #d63384;
    margin-right: 4px;
}

.fflp-leads-gated-new {
    font-weight: 600;
    color: #dc3545;
}

/* Masked lead cards */
.fflp-lead-card-masked {
    opacity: 0.75;
    position: relative;
}

.fflp-lead-contact-masked {
    color: #999;
    font-style: italic;
    pointer-events: none;
    user-select: none;
}

.fflp-lead-message-masked {
    color: #999;
    font-style: italic;
    user-select: none;
}

/* Upgrade CTA Banner */
.fflp-leads-upgrade-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    margin-top: 20px;
}

.fflp-leads-upgrade-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.fflp-leads-upgrade-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.fflp-leads-upgrade-text {
    color: #b0b0cc;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.fflp-leads-upgrade-text strong {
    color: #ff6b6b;
}

.fflp-leads-upgrade-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

.fflp-leads-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.45);
    color: #ffffff;
    text-decoration: none;
}

/* Pulsing animation on the lock icons in masked cards */
.fflp-lead-card-masked .fflp-dash-lead-header strong {
    animation: fflp-lock-pulse 2s ease-in-out infinite;
}

@keyframes fflp-lock-pulse {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}


/* ─────────────────────────────────────────
   23. LOADING STATE
   ───────────────────────────────────────── */

.fflp-dash-loading {
    text-align: center;
    padding: 32px;
    color: var(--fflp-dash-text-light);
    font-style: italic;
}


/* ─────────────────────────────────────────
   24. FOOTER
   ───────────────────────────────────────── */

.fflp-dash-footer {
    max-width: var(--fflp-dash-max-width);
    margin: 48px auto 0;
    padding: 24px 20px;
    text-align: center;
    border-top: 1px solid var(--fflp-dash-border);
}

.fflp-dash-footer p {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--fflp-dash-text-light);
}

.fflp-dash-footer-links a {
    color: var(--fflp-dash-primary);
    text-decoration: none;
    font-size: 14px;
}

.fflp-dash-footer-links a:hover {
    text-decoration: underline;
}


/* ─────────────────────────────────────────
   25. ERROR PAGE
   ───────────────────────────────────────── */

.fflp-dash-error {
    max-width: 560px;
    margin: 80px auto;
    padding: 48px 32px;
    text-align: center;
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    box-shadow: var(--fflp-dash-shadow-lg);
}

.fflp-dash-error-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.fflp-dash-error h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--fflp-dash-text);
}

.fflp-dash-error-message {
    font-size: 16px;
    color: var(--fflp-dash-text-light);
    margin: 0 0 24px;
}

.fflp-dash-error-help {
    text-align: left;
    background: var(--fflp-dash-bg);
    padding: 20px 24px;
    border-radius: var(--fflp-dash-radius-sm);
    margin-bottom: 24px;
}

.fflp-dash-error-help h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.fflp-dash-error-help ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fflp-dash-error-help li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--fflp-dash-text);
}

.fflp-dash-error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


/* ─────────────────────────────────────────
   26. UTILITY CLASSES
   ───────────────────────────────────────── */

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


/* ═══════════════════════════════════════════
   27. RESPONSIVE — TABLET
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Layout */
    .fflp-dash-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .fflp-dash-content {
        padding: 20px 12px;
    }

    /* Tab bar */
    .fflp-dash-tabs-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .fflp-dash-tabs-wrap::after {
        right: 12px;
    }

    .fflp-dash-tabs {
        gap: 1px;
    }

    .fflp-dash-tab {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* Stats grid */
    .fflp-dash-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cards */
    .fflp-dash-card {
        padding: 20px 16px;
    }

    /* Form grid */
    .fflp-dash-form-grid {
        grid-template-columns: 1fr;
    }

    /* Hours rows */
    .fflp-dash-hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .fflp-dash-hours-times {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }

    .fflp-dash-hours-separator {
        display: none;
    }

    /* Repeater rows */
    .fflp-dash-repeater-row {
        flex-direction: column;
        align-items: stretch;
    }

    .fflp-dash-repeater-row input[type="text"],
    .fflp-dash-repeater-row textarea {
        width: 100%;
    }

    /* Leads table */
    .fflp-dash-leads-table thead {
        display: none;
    }

    .fflp-dash-leads-table tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid var(--fflp-dash-border);
        border-radius: var(--fflp-dash-radius-sm);
    }

    .fflp-dash-leads-table td {
        display: block;
        padding: 8px 16px;
        text-align: left;
    }

    .fflp-dash-leads-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 11px;
        text-transform: uppercase;
        color: var(--fflp-dash-text-light);
        margin-bottom: 2px;
    }

    /* NEW v1.2.0 — Social grid → single column */
    .fflp-dash-social-grid {
        grid-template-columns: 1fr;
    }

    /* Address grid → stack */
    .fflp-dash-address-grid {
        grid-template-columns: 1fr;
    }

    /* Contact grid → stack */
    .fflp-dash-contact-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery grid → fewer columns */
    .fflp-dash-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    /* Tier notice → stack */
    .fflp-dash-tier-notice {
        flex-direction: column;
        text-align: center;
    }

    /* Section header — stack badge below */
    .fflp-dash-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Rich text toolbar — wrap tighter */
    .fflp-dash-editor-toolbar {
        gap: 3px;
        padding: 6px 8px;
    }

    .fflp-toolbar-btn {
        min-width: 32px;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    /* Quick actions — 2 columns */
    .fflp-dash-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ═══════════════════════════════════════════
   LEADS TAB — TEASER / MASKED VIEW
   ═══════════════════════════════════════════ */

/* Teaser hero — big count banner */
.fflp-dash-leads-teaser-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 24px;
}

.fflp-dash-leads-teaser-count {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.fflp-dash-leads-teaser-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.fflp-dash-leads-teaser-label {
    font-size: 22px;
    font-weight: 600;
    opacity: 0.9;
}

.fflp-dash-leads-teaser-text {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}

/* Masked leads container */
.fflp-dash-leads-masked-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.fflp-dash-leads-masked {
    padding: 16px;
    filter: blur(3px);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
}

.fflp-dash-lead-masked {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.fflp-dash-lead-masked:last-child {
    margin-bottom: 0;
}

/* Overlay CTA on top of blurred cards */
.fflp-dash-leads-masked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    z-index: 10;
}

.fflp-dash-leads-masked-cta {
    text-align: center;
    padding: 30px;
    max-width: 400px;
}

.fflp-dash-leads-masked-icon {
    font-



/* ═══════════════════════════════════════════
   28. RESPONSIVE — MOBILE
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {

    /* Top bar */
    .fflp-dash-topbar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Header */
    .fflp-dash-header {
        padding: 24px 16px;
    }

    .fflp-dash-listing-name {
        font-size: 22px;
    }

    /* Tab bar */
    .fflp-dash-tabs-wrap {
        padding-left: 8px;
        padding-right: 8px;
    }

    .fflp-dash-tabs-wrap::after {
        right: 8px;
        width: 35px;
    }

    .fflp-dash-tabs {
        padding-right: 40px;
    }

    .fflp-dash-tab {
        padding: 8px 10px;
        font-size: 11px;
        gap: 3px;
    }

    /* Content area */
    .fflp-dash-content {
        padding: 16px 8px;
    }

    /* Stats grid */
    .fflp-dash-stats-grid {
        grid-template-columns: 1fr;
    }

    .fflp-dash-stat-card {
        padding: 16px;
    }

    .fflp-dash-stat-value {
        font-size: 28px;
    }

    /* Cards */
    .fflp-dash-card {
        padding: 16px 12px;
    }

    /* Section titles */
    .fflp-dash-card h2 {
        font-size: 20px;
    }

    /* Save button — full width */
    .fflp-dash-save-btn {
        width: 100%;
        justify-content: center;
    }

    /* Leads teaser */
    .fflp-dash-leads-teaser-number {
        font-size: 40px;
    }

    .fflp-dash-leads-teaser-label {
        font-size: 18px;
    }

    /* Footer */
    .fflp-dash-footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .fflp-dash-footer-links {
        justify-content: center;
    }

    /* NEW v1.2.0 — Gallery grid → 2 columns */
    .fflp-dash-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    /* Always show remove/drag on mobile (no hover) */
    .fflp-dash-gallery-item .fflp-dash-image-remove,
    .fflp-dash-gallery-item .fflp-dash-gallery-drag-handle {
        opacity: 1;
    }

    .fflp-dash-gallery-drag-handle {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .fflp-dash-image-remove {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* Rich text editor — shorter */
    .fflp-dash-richtext-editor {
        min-height: 140px;
    }

    /* Featured image card — full width */
    .fflp-dash-image-card {
        max-width: 100%;
    }

    /* Quick actions — single column */
    .fflp-dash-quick-actions {
        grid-template-columns: 1fr;
    }

    /* Tier notice */
    .fflp-dash-tier-notice {
        padding: 12px 16px;
    }

    /* Completeness card */
    .fflp-dash-completeness {
        padding: 20px 16px;
    }
}
/* ═══════════════════════════════════════════
   LEADS MASKED CTA (Completing truncated rule)
   ═══════════════════════════════════════════ */

.fflp-dash-leads-masked-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.fflp-dash-leads-masked-cta h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--fflp-dash-text);
}

.fflp-dash-leads-masked-cta p {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--fflp-dash-text-light);
    line-height: 1.5;
}

.fflp-dash-upgrade-btn-lg {
    padding: 14px 36px;
    font-size: 17px;
}

.fflp-dash-leads-masked-subtext {
    margin-top: 10px;
    font-size: 13px;
    color: var(--fflp-dash-text-light);
}


/* ═══════════════════════════════════════════════════
   NEW v1.2.0 — EDIT PROFILE & CONTACT INFO STYLES
   ═══════════════════════════════════════════════════ */


/* ─────────────────────────────────────────
   SECTION HEADERS (with visibility badges)
   ───────────────────────────────────────── */

.fflp-dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.fflp-dash-section-header h2 {
    margin: 0;
}


/* ─────────────────────────────────────────
   VISIBILITY BADGES
   ───────────────────────────────────────── */

.fflp-dash-visibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.fflp-visibility-all {
    background: var(--fflp-dash-success-lt);
    color: #166534;
    border: 1px solid #86efac;
}

.fflp-visibility-active {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.fflp-visibility-locked {
    background: var(--fflp-dash-warning-lt);
    color: #92400e;
    border: 1px solid #fcd34d;
}


/* ─────────────────────────────────────────
   TIER NOTICE (upgrade prompts inside sections)
   ───────────────────────────────────────── */

.fflp-dash-tier-notice {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fcd34d;
    border-radius: var(--fflp-dash-radius-sm);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fflp-dash-tier-notice p {
    margin: 0;
    font-size: 14px;
    color: #78350f;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.fflp-dash-upgrade-btn-sm {
    display: inline-block;
    background: var(--fflp-dash-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--fflp-dash-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background var(--fflp-dash-transition), transform 0.1s;
    white-space: nowrap;
    flex-shrink: 0;
}

.fflp-dash-upgrade-btn-sm:hover {
    background: var(--fflp-dash-primary-dk);
    color: #fff;
    transform: translateY(-1px);
}


/* ─────────────────────────────────────────
   RICH TEXT EDITOR (Description)
   ───────────────────────────────────────── */

.fflp-dash-editor-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 12px;
    background: var(--fflp-dash-bg);
    border: 2px solid var(--fflp-dash-border);
    border-bottom: none;
    border-radius: var(--fflp-dash-radius-sm) var(--fflp-dash-radius-sm) 0 0;
}

.fflp-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 32px;
    padding: 0 10px;
    background: var(--fflp-dash-card-bg);
    border: 1px solid var(--fflp-dash-border);
    border-radius: 6px;
    color: var(--fflp-dash-text);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--fflp-dash-transition);
    white-space: nowrap;
}

.fflp-toolbar-btn:hover {
    background: var(--fflp-dash-primary-lt);
    border-color: var(--fflp-dash-primary);
    color: var(--fflp-dash-primary);
}

.fflp-toolbar-btn:active {
    transform: translateY(1px);
}

.fflp-dash-char-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--fflp-dash-text-light);
    white-space: nowrap;
    padding: 0 4px;
}

.fflp-char-warning {
    color: var(--fflp-dash-warning);
}

.fflp-char-over {
    color: var(--fflp-dash-danger);
    font-weight: 700;
}

.fflp-dash-richtext-editor {
    width: 100%;
    min-height: 180px;
    max-height: 500px;
    overflow-y: auto;
    padding: 16px;
    border: 2px solid var(--fflp-dash-border);
    border-top: 1px solid var(--fflp-dash-border);
    border-radius: 0 0 var(--fflp-dash-radius-sm) var(--fflp-dash-radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--fflp-dash-text);
    line-height: 1.7;
    background: #fff;
    outline: none;
    transition: border-color var(--fflp-dash-transition),
                box-shadow var(--fflp-dash-transition);
}

.fflp-dash-richtext-editor:focus {
    border-color: var(--fflp-dash-primary);
    box-shadow: 0 0 0 3px var(--fflp-dash-primary-lt);
}

/* Placeholder for empty contenteditable */
.fflp-dash-richtext-editor:empty::before {
    content: attr(data-placeholder);
    color: #94a3b8;
    pointer-events: none;
    display: block;
}

/* Basic formatting inside the editor */
.fflp-dash-richtext-editor b,
.fflp-dash-richtext-editor strong {
    font-weight: 700;
}

.fflp-dash-richtext-editor i,
.fflp-dash-richtext-editor em {
    font-style: italic;
}

.fflp-dash-richtext-editor a {
    color: var(--fflp-dash-primary);
    text-decoration: underline;
}

.fflp-dash-richtext-editor ul,
.fflp-dash-richtext-editor ol {
    margin: 8px 0;
    padding-left: 24px;
}

.fflp-dash-richtext-editor li {
    margin-bottom: 4px;
}


/* ─────────────────────────────────────────
   FEATURED IMAGE
   ───────────────────────────────────────── */

.fflp-dash-featured-image-preview {
    margin-bottom: 20px;
}

.fflp-dash-image-card {
    position: relative;
    display: inline-block;
    max-width: 400px;
    border-radius: var(--fflp-dash-radius);
    overflow: hidden;
    box-shadow: var(--fflp-dash-shadow);
    border: 2px solid var(--fflp-dash-border);
}

.fflp-dash-image-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.fflp-dash-image-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--fflp-dash-transition);
    line-height: 1;
    padding: 0;
    z-index: 5;
}

.fflp-dash-image-remove:hover {
    background: var(--fflp-dash-danger);
    transform: scale(1.1);
}

/* Smaller upload zone variant */
.fflp-dash-upload-zone-sm {
    padding: 24px 16px;
}


/* ─────────────────────────────────────────
   GALLERY GRID (Slider Images)
   ───────────────────────────────────────── */

.fflp-dash-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.fflp-dash-gallery-item {
    position: relative;
    border-radius: var(--fflp-dash-radius-sm);
    overflow: hidden;
    border: 2px solid var(--fflp-dash-border);
    background: var(--fflp-dash-bg);
    aspect-ratio: 4 / 3;
    transition: border-color var(--fflp-dash-transition),
                box-shadow var(--fflp-dash-transition);
}

.fflp-dash-gallery-item:hover {
    border-color: #cbd5e1;
    box-shadow: var(--fflp-dash-shadow);
}

.fflp-dash-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Remove button on gallery items */
.fflp-dash-gallery-item .fflp-dash-image-remove {
    opacity: 0;
    transition: opacity var(--fflp-dash-transition), background var(--fflp-dash-transition);
}

.fflp-dash-gallery-item:hover .fflp-dash-image-remove {
    opacity: 1;
}

/* Drag handle */
.fflp-dash-gallery-drag-handle {
    position: absolute;
    bottom: 6px;
    left: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    cursor: grab;
    opacity: 0;
    transition: opacity var(--fflp-dash-transition);
    user-select: none;
    letter-spacing: 1px;
    line-height: 1;
}

.fflp-dash-gallery-item:hover .fflp-dash-gallery-drag-handle {
    opacity: 1;
}

.fflp-dash-gallery-drag-handle:active {
    cursor: grabbing;
}

/* Dragging state */
.fflp-dash-gallery-dragging {
    opacity: 0.5;
    border-color: var(--fflp-dash-primary);
    box-shadow: 0 0 0 3px var(--fflp-dash-primary-lt);
    z-index: 100;
}

/* Gallery count */
.fflp-dash-gallery-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--fflp-dash-text-light);
    margin-bottom: 12px;
}


/* ─────────────────────────────────────────
   VIDEO PREVIEW
   ───────────────────────────────────────── */

.fflp-dash-video-preview {
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--fflp-dash-bg);
    border-radius: var(--fflp-dash-radius-sm);
    border: 1px solid var(--fflp-dash-border);
}

.fflp-dash-video-preview a {
    color: var(--fflp-dash-primary);
    text-decoration: none;
    word-break: break-all;
}

.fflp-dash-video-preview a:hover {
    text-decoration: underline;
}


/* ─────────────────────────────────────────
   SOCIAL LINKS GRID
   ───────────────────────────────────────── */

.fflp-dash-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 4px;
}

.fflp-dash-social-field label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fflp-dash-social-icon {
    font-size: 18px;
    flex-shrink: 0;
}


/* ─────────────────────────────────────────
   ADDRESS GRID
   ───────────────────────────────────────── */

.fflp-dash-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}

.fflp-dash-field-full {
    grid-column: 1 / -1;
}


/* ─────────────────────────────────────────
   CONTACT GRID (Phone / Email / Website)
   ───────────────────────────────────────── */

.fflp-dash-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}

.fflp-dash-contact-grid .fflp-dash-field-full {
    grid-column: 1 / -1;
}


/* ─────────────────────────────────────────
   FAQ FIELDS (inside repeater rows)
   ───────────────────────────────────────── */

.fflp-dash-faq-fields {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.fflp-dash-faq-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--fflp-dash-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 4px;
}

.fflp-dash-faq-inputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}


/* ─────────────────────────────────────────
   OVERVIEW QUICK-ACTIONS GRID
   ───────────────────────────────────────── */

.fflp-dash-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.fflp-dash-quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius-sm);
    border: 1px solid var(--fflp-dash-border);
    text-decoration: none;
    color: var(--fflp-dash-text);
    transition: all var(--fflp-dash-transition);
    cursor: pointer;
}

.fflp-dash-quick-action:hover {
    border-color: var(--fflp-dash-primary);
    box-shadow: var(--fflp-dash-shadow);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--fflp-dash-text);
}

.fflp-dash-quick-action-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.fflp-dash-quick-action-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fflp-dash-quick-action-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--fflp-dash-text);
}

.fflp-dash-quick-action-text span {
    font-size: 12px;
    color: var(--fflp-dash-text-light);
}


/* ─────────────────────────────────────────
   OVERVIEW COMPLETENESS CARD
   ───────────────────────────────────────── */

.fflp-dash-completeness {
    background: var(--fflp-dash-card-bg);
    border-radius: var(--fflp-dash-radius);
    padding: 24px;
    box-shadow: var(--fflp-dash-shadow);
}

.fflp-dash-completeness h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--fflp-dash-text);
}

.fflp-dash-completeness-bar {
    width: 100%;
    height: 12px;
    background: var(--fflp-dash-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--fflp-dash-border);
}

.fflp-dash-completeness-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--fflp-dash-primary), #60a5fa);
    transition: width 0.6s ease;
}

.fflp-dash-completeness-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--fflp-dash-text);
    margin-bottom: 16px;
}

.fflp-dash-completeness-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fflp-dash-completeness-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--fflp-dash-text);
}

.fflp-dash-completeness-item.fflp-complete {
    color: var(--fflp-dash-success);
}

.fflp-dash-completeness-item.fflp-incomplete {
    color: var(--fflp-dash-text-light);
}

.fflp-dash-completeness-icon {
    font-size: 16px;
    flex-shrink: 0;
}


/* ─────────────────────────────────────────
   INPUT ADDITIONS — tel, email
   ───────────────────────────────────────── */

.fflp-dash-editor-form input[type="tel"],
.fflp-dash-editor-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--fflp-dash-border);
    border-radius: var(--fflp-dash-radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--fflp-dash-text);
    background: #fff;
    transition: border-color var(--fflp-dash-transition),
                box-shadow var(--fflp-dash-transition);
    -webkit-appearance: none;
}

.fflp-dash-editor-form input[type="tel"]:focus,
.fflp-dash-editor-form input[type="email"]:focus {
    outline: none;
    border-color: var(--fflp-dash-primary);
    box-shadow: 0 0 0 3px var(--fflp-dash-primary-lt);
}
/* ── Stat card: highlight (lead count with leads) ── */
.fflp-dash-stat-card-highlight {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.fflp-dash-stat-card-highlight .fflp-dash-stat-number {
    color: #d97706;
}

.fflp-dash-stat-hint {
    display: block;
    font-size: 11px;
    color: #d97706;
    font-weight: 600;
    margin-top: 2px;
}

/* ── Stat card: locked state ── */
.fflp-dash-stat-card-locked {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    opacity: 0.85;
}

.fflp-dash-stat-card-locked .fflp-dash-stat-number {
    font-size: 28px;
    color: #94a3b8;
}

.fflp-dash-stat-card-locked .fflp-dash-stat-label {
    color: #64748b;
}

/* ── Upgrade CTA under stats grid ── */
.fflp-dash-stats-upgrade-cta {
    margin-top: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 10px;
    text-align: center;
}

.fflp-dash-stats-upgrade-cta p {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #1e40af;
}

.fflp-dash-stats-upgrade-cta .fflp-dash-upgrade-btn {
    display: inline-block;
}
/* ═══════════════════════════════════════════
   EVENTS DASHBOARD — CSS
   ═══════════════════════════════════════════ */

/* Stats Grid */
.fflp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.fflp-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fflp-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.fflp-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.fflp-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Status Badges */
.fflp-status-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fflp-status-badge--publish {
    background: #dcfce7;
    color: #166534;
}

.fflp-status-badge--pending {
    background: #fef3c7;
    color: #92400e;
}

.fflp-status-badge--draft {
    background: #e2e8f0;
    color: #475569;
}

/* Manual Events Form */
.fflp-manual-event-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.fflp-manual-event-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fflp-manual-event-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

@media (max-width: 600px) {
    .fflp-manual-event-row-inline {
        grid-template-columns: 1fr;
    }
}

.fflp-remove-event-row {
    background: none;
    border: 1px solid #fca5a5;
    color: #dc2626;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.fflp-remove-event-row:hover {
    background: #fef2f2;
}

/* Table wrap for scroll on mobile */
.fflp-dash-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
}

.fflp-dash-table--compact td,
.fflp-dash-table--compact th {
    padding: 0.5rem 0.75rem;
}

/* Tier badges */
.fflp-tier-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fflp-tier-badge--free           { background: #f1f5f9; color: #64748b; }
.fflp-tier-badge--basic          { background: #e0f2fe; color: #0369a1; }
.fflp-tier-badge--business       { background: #dbeafe; color: #1d4ed8; }
.fflp-tier-badge--pro            { background: #fef3c7; color: #b45309; }
.fflp-tier-badge--premium        { background: #fae8ff; color: #9333ea; }
.fflp-tier-badge--founding-member { background: #fef3c7; color: #b45309; border: 1px solid #f59e0b; }

/* Add button style */
.fflp-dash-add-btn {
    background: none;
    border: 1px dashed #cbd5e1;
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.fflp-dash-add-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* Empty state */
.fflp-dash-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
}

.fflp-dash-empty-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.fflp-dash-empty-state h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

/* Link style in tables */
.fflp-dash-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.fflp-dash-link:hover {
    text-decoration: underline;
}
