/** Dashboard CSS */
/* ── Dashboard variables scoped to dashboard body ONLY ──────────────────────
   DO NOT use :root here — it would bleed into landing/auth pages which are
   loaded with the same stylesheet bundle. Scope everything to fp-dash-body.
   ─────────────────────────────────────────────────────────────────────────── */
body.fp-dash-body {
  --fp-bg: #f8fafc;
  --fp-surface: #ffffff;
  --fp-text: #0f172a;
  --fp-muted: #64748b;
  --fp-border: #e2e8f0;
  --fp-primary: #6366f1;
  --fp-primary-hover: #4f46e5;
  --fp-success: #10b981;
  --fp-warn: #f59e0b;
  --fp-danger: #ef4444;
  --fp-info: #3b82f6;
  --sidebar-width: 260px;

  margin: 0 !important;
  font-family: 'Inter', sans-serif !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: var(--fp-primary); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: #1e293b; }

/* Layout */
.fp-dash { display: flex; min-height: 100vh; }
.fp-sidebar { width: var(--sidebar-width); background: #0f172a; color: #f8fafc; display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; transition: transform .3s ease; }
.fp-dash-main { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; min-height: 100vh; transition: margin-left .3s; }

/* Sidebar */
.fp-sidebar__logo { padding: 24px; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.05); }
.fp-sidebar__user { padding: 24px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.05); }
.fp-sidebar__avatar { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #6366f1, #a855f7); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.fp-sidebar__name { font-weight: 600; font-size: .95rem; }
.fp-sidebar__subdomain { font-size: .8rem; color: #94a3b8; }
.fp-sidebar__nav { flex: 1; padding: 24px 12px; overflow-y: auto; }
.fp-sidebar__link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #cbd5e1; text-decoration: none; border-radius: 8px; margin-bottom: 4px; transition: all .2s; font-weight: 500; font-size: .95rem; }
.fp-sidebar__link:hover { background: rgba(255,255,255,.05); color: #fff; }
.fp-sidebar__link.active { background: var(--fp-primary); color: #fff; box-shadow: 0 4px 12px rgba(99,102,241,.3); }
.fp-sidebar__link i { width: 20px; font-size: 1.1rem; }
.fp-sidebar__badge { margin-left: auto; font-size: .7rem; padding: 2px 6px; border-radius: 10px; }
.fp-sidebar__footer { padding: 24px; border-top: 1px solid rgba(255,255,255,.05); }
.fp-sidebar__logout { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 12px; color: #fff; border-radius: 8px; cursor: pointer; font-family: inherit; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; transition: .2s; }
.fp-sidebar__logout:hover { background: rgba(239,68,68,.1); color: #fca5a5; border-color: rgba(239,68,68,.2); }

/* Topbar */
.fp-topbar { height: 70px; background: var(--fp-surface); border-bottom: 1px solid var(--fp-border); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; position: sticky; top: 0; z-index: 90; }
.fp-topbar__title { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.fp-topbar__title i { color: var(--fp-muted); }
.fp-topbar__toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--fp-text); cursor: pointer; }
.fp-topbar__right { display: flex; align-items: center; gap: 24px; }
.fp-topbar__rev-badge { background: #e0e7ff; color: #4f46e5; padding: 6px 12px; border-radius: 20px; font-weight: 600; font-size: .85rem; display: flex; align-items: center; gap: 6px; }

/* Notifications Dropdown */
.fp-notif-bell { position: relative; }
.fp-notif-btn { background: #f1f5f9; border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--fp-text); cursor: pointer; position: relative; transition: .2s; }
.fp-notif-btn:hover { background: #e2e8f0; }
.fp-notif-count { position: absolute; top: -4px; right: -4px; background: var(--fp-danger); color: #fff; font-size: .7rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--fp-surface); }
.fp-notif-dropdown { position: absolute; top: 50px; right: 0; width: 340px; background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,.1); overflow: hidden; z-index: 100; display: flex; flex-direction: column; }
.fp-notif-header { padding: 16px; border-bottom: 1px solid var(--fp-border); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.fp-notif-mark-all { background: none; border: none; color: var(--fp-primary); font-size: .8rem; cursor: pointer; font-weight: 500; }
.fp-notif-list { max-height: 360px; overflow-y: auto; }
.fp-notif-item { padding: 16px; border-bottom: 1px solid var(--fp-border); transition: .2s; border-left: 4px solid transparent; }
.fp-notif-item:hover { background: #f8fafc; }
.fp-notif-type-info { border-left-color: var(--fp-info); }
.fp-notif-type-success { border-left-color: var(--fp-success); }
.fp-notif-type-warning { border-left-color: var(--fp-warn); }
.fp-notif-type-danger { border-left-color: var(--fp-danger); }
.fp-notif-read { opacity: 0.7; border-left-color: transparent !important; }
.fp-notif-item__title { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.fp-notif-item__msg { font-size: .85rem; color: var(--fp-muted); line-height: 1.4; }
.fp-notif-item__time { font-size: .75rem; color: #94a3b8; margin-top: 8px; }
.fp-notif-empty { padding: 32px; text-align: center; color: var(--fp-muted); font-size: .95rem; }
.fp-notif-loading { padding: 32px; text-align: center; color: var(--fp-muted); }

/* Content Area */
.fp-dash-content { padding: 32px; flex: 1; }
.fp-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.fp-page-title { font-size: 1.8rem; letter-spacing: -0.5px; }
.fp-page-subtitle { color: var(--fp-muted); font-size: 1.05rem; margin-top: 4px; }
.fp-sync-status { font-size: .9rem; color: var(--fp-muted); font-weight: 500; display: flex; align-items: center; gap: 6px; background: var(--fp-surface); padding: 8px 16px; border-radius: 20px; border: 1px solid var(--fp-border); }

/* Cards & Grid */
.fp-card { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: 16px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.02); margin-bottom: 24px; }
.fp-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.fp-card__header h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.fp-card__header i { color: var(--fp-muted); }

.fp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px; }
.fp-stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fp-stat-card { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.fp-stat-card::after { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; }
.fp-stat-card--today::after { background: var(--fp-success); }
.fp-stat-card--yesterday::after { background: var(--fp-info); }
.fp-stat-card--month::after { background: var(--fp-primary); }
.fp-stat-card--prev-month::after { background: var(--fp-muted); }
.fp-stat-card__icon { width: 40px; height: 40px; border-radius: 10px; background: #f1f5f9; color: var(--fp-muted); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 16px; }
.fp-stat-card__label { font-size: .9rem; color: var(--fp-muted); font-weight: 500; margin-bottom: 8px; }
.fp-stat-card__value { font-size: 2rem; font-weight: 700; color: var(--fp-text); line-height: 1; margin-bottom: 8px; }
.fp-stat-card__sub { font-size: .8rem; color: #94a3b8; }
.fp-stat-card--compact { padding: 20px; flex-direction: row; align-items: center; gap: 16px; }
.fp-stat-card--compact::after { display: none; }
.fp-stat-card--compact .fp-stat-card__icon { margin-bottom: 0; width: 48px; height: 48px; font-size: 1.4rem; background: #e0e7ff; color: #4f46e5; }
.fp-stat-card--compact .fp-stat-card__value { margin-bottom: 0; font-size: 1.5rem; }

/* Overview Specific */
.fp-overview-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; margin-bottom: 24px; }
.fp-balance-amount { font-size: 3.5rem; font-weight: 800; letter-spacing: -2px; margin-bottom: 16px; background: linear-gradient(135deg, #1e293b, #64748b); -webkit-background-clip: text; color: transparent; }
.fp-balance-amount--compact { font-size: 2.2rem !important; letter-spacing: -1px !important; margin-bottom: 10px !important; }
.fp-card__icon-bg { display: none; } /* replaced by compact inline icon in header */

.fp-balance-status { font-size: .95rem; font-weight: 500; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.fp-balance-status i { font-size: 1.1rem; }
.fp-balance-status--ready { color: var(--fp-success); }
.fp-balance-status--pending { color: var(--fp-warn); }
.fp-balance-progress { height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.fp-balance-bar { height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24); border-radius: 4px; transition: width 1s ease-out; }
.fp-balance-meta { padding-top: 20px; border-top: 1px solid var(--fp-border); color: var(--fp-muted); font-size: .9rem; }
.fp-info-rows { display: flex; flex-direction: column; gap: 12px; }
.fp-info-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.fp-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.fp-info-label { color: var(--fp-muted); display: flex; align-items: center; gap: 8px; }
.fp-info-value { font-weight: 600; }
.fp-info-value--highlight { color: var(--fp-primary); font-size: 1.1rem; }

/* Tables */
.fp-table-wrap { overflow-x: auto; }
.fp-table { width: 100%; border-collapse: collapse; text-align: left; }
.fp-table th { padding: 16px; font-weight: 600; color: var(--fp-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--fp-border); background: #f8fafc; }
.fp-table td { padding: 16px; border-bottom: 1px solid var(--fp-border); font-size: .95rem; }
.fp-table tr:last-child td { border-bottom: none; }
.fp-text-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* Buttons & Badges */
.fp-btn-primary { background: var(--fp-primary); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-size: .95rem; font-weight: 600; cursor: pointer; transition: .2s; display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }
.fp-btn-primary:hover { background: var(--fp-primary-hover); }
.fp-btn-primary:disabled { opacity: .7; cursor: not-allowed; }
.fp-btn-sm { padding: 8px 16px; font-size: .85rem; }
.fp-btn-icon-sm { width: 32px; height: 32px; border-radius: 8px; background: #f1f5f9; color: var(--fp-text); display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.fp-btn-icon-sm:hover { background: #e2e8f0; }

.fp-badge-success { background: #d1fae5; color: #065f46; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.fp-badge-warn { background: #fef3c7; color: #92400e; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.fp-badge-danger { background: #fee2e2; color: #991b1b; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.fp-badge-info { background: #e0f2fe; color: #075985; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.fp-badge-gray { background: #f1f5f9; color: #475569; padding: 4px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; text-transform: uppercase; }

/* Alerts & Announcements */
.fp-announcement-bar { padding: 12px 32px; font-size: .95rem; display: flex; align-items: center; gap: 12px; }
.fp-ann--info { background: #e0f2fe; color: #075985; border-bottom: 1px solid #bae6fd; }
.fp-ann--success { background: #d1fae5; color: #065f46; border-bottom: 1px solid #10b981; }
.fp-ann--warn { background: #fef3c7; color: #92400e; border-bottom: 1px solid #f59e0b; }
.fp-ann--danger { background: #fee2e2; color: #991b1b; border-bottom: 1px solid #ef4444; }

.fp-alert { padding: 16px 20px; border-radius: 12px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.fp-alert i { font-size: 1.5rem; }
.fp-alert strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.fp-alert p { margin: 0; font-size: .95rem; }
.fp-alert--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.fp-alert--info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.fp-alert--danger { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Forms */
.fp-form { display: flex; flex-direction: column; gap: 20px; }
.fp-form-row { display: flex; gap: 20px; }
.fp-form-row--2 > * { flex: 1; }
.fp-form-row--3 > * { flex: 1; }
.fp-form-group { display: flex; flex-direction: column; gap: 8px; }
.fp-form-group label { font-size: .9rem; font-weight: 600; color: #334155; }
.fp-form-group input:not([type=checkbox]):not([type=radio]),
.fp-form-group select,
.fp-form-group textarea { padding: 12px 16px; border: 1px solid var(--fp-border) !important; border-radius: 8px; font-family: inherit !important; font-size: .95rem; background: #ffffff !important; color: var(--fp-text) !important; transition: .2s; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); }
.fp-form-group input:focus, .fp-form-group select:focus, .fp-form-group textarea:focus { outline: none; border-color: var(--fp-primary) !important; box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.req { color: var(--fp-danger); }
.fp-input-hint { font-size: .8rem; color: var(--fp-muted); }

/* KYC specific */
.fp-kyc-section { padding: 32px; }
.fp-radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fp-radio-card { border: 2px solid var(--fp-border); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: .2s; }
.fp-radio-card input { display: none; }
.fp-radio-card i { font-size: 1.5rem; color: var(--fp-muted); }
.fp-radio-card span { font-weight: 600; }
.fp-radio-card.active { border-color: var(--fp-primary); background: #f8fafc; }
.fp-radio-card.active i { color: var(--fp-primary); }
.fp-uploaded-file { padding: 12px 16px; background: #f1f5f9; border-radius: 8px; border: 1px dashed var(--fp-border); color: #334155; font-weight: 500; }

/* Filter Bar (Earnings) */
.fp-filter-bar { padding: 16px 24px; margin-bottom: 24px; }
.fp-filter-row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.fp-preset-btn { background: #f8fafc; border: 1px solid var(--fp-border); padding: 8px 12px; border-radius: 6px; font-size: .85rem; color: var(--fp-muted); cursor: pointer; font-family: inherit; font-weight: 500; }
.fp-preset-btn.active { background: #e0e7ff; color: #4f46e5; border-color: #c7d2fe; }

/* Charts */
.fp-chart-row { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 24px; }
.fp-chart-type-btns { display: flex; background: #f1f5f9; border-radius: 6px; padding: 4px; }
.fp-chart-type { background: none; border: none; padding: 4px 12px; border-radius: 4px; font-size: .8rem; font-weight: 600; color: var(--fp-muted); cursor: pointer; }
.fp-chart-type.active { background: #fff; color: var(--fp-text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* Payouts Specific */
.fp-payout-info-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-bottom: 24px; }
.fp-card--balance-full { position: relative; overflow: hidden; }
.fp-card__icon-bg { position: absolute; right: -20px; top: -20px; font-size: 150px; color: #f8fafc; z-index: 0; transform: rotate(-15deg); }
.fp-card--balance-full > * { position: relative; z-index: 1; }
.fp-payout-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.fp-payout-meta span { display: block; font-size: .85rem; color: var(--fp-muted); margin-bottom: 4px; }
.fp-payout-meta strong { font-size: 1.05rem; }
.fp-payout-block { padding: 16px; border-radius: 12px; background: #f1f5f9; display: flex; gap: 12px; align-items: center; font-weight: 500; }
.fp-payout-block i { color: var(--fp-muted); font-size: 1.2rem; }
.fp-payout-block--mou { background: #fef2f2; color: #991b1b; }
.fp-payout-block--mou i { color: #ef4444; }
.fp-payout-block--ready { background: #ecfdf5; color: #065f46; }
.fp-payout-block--ready i { color: #10b981; }
.fp-guide-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--fp-border); }
.fp-guide-item:last-child { border: none; padding-bottom: 0; }
.fp-guide-icon { width: 40px; height: 40px; border-radius: 10px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: var(--fp-primary); font-size: 1.2rem; }
.fp-guide-item p { margin: 4px 0 0; font-size: .85rem; color: var(--fp-muted); }

/* Promo Tools Specific */
.fp-promo-link-card { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; }
.fp-promo-link-card .fp-card__header h3 { color: #fff; }
.fp-promo-link-card .fp-card__header i { color: rgba(255,255,255,.7); }
.fp-copy-field-wrap { display: flex; gap: 16px; align-items: center; }
.fp-copy-field { flex: 1; display: flex; background: rgba(0,0,0,.2); border-radius: 8px; border: 1px solid rgba(255,255,255,.1); padding: 4px; }
.fp-copy-field input { flex: 1; background: none; border: none; color: #fff; font-family: monospace; font-size: 1.1rem; padding: 0 16px; outline: none; }

.fp-promo-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--fp-border); }
.fp-promo-tab { padding: 12px 24px; font-weight: 600; color: var(--fp-muted); border: none; background: none; border-bottom: 3px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; }
.fp-promo-tab.active { color: var(--fp-primary); border-bottom-color: var(--fp-primary); }
.fp-promo-panel { display: none; }
.fp-promo-panel.active { display: block; animation: fpFadeIn .3s ease; }

.fp-promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-bottom: 24px; }
.fp-banner-card { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: 12px; padding: 16px; text-align: center; }
.fp-banner-preview { height: 120px; border-radius: 8px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; position: relative; overflow: hidden; }
.fp-banner-preview__inner { text-align: center; font-weight: 700; }
.fp-banner-cta { display: inline-block; background: #fff; color: #000; padding: 4px 12px; border-radius: 12px; font-size: .7rem; margin-top: 8px; }
.fp-banner-size { position: absolute; bottom: 8px; right: 8px; font-size: .7rem; opacity: .7; }
.fp-banner-info { margin-bottom: 16px; font-size: .9rem; color: var(--fp-muted); }

.fp-captions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.fp-caption-card { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: 12px; overflow: hidden; }
.fp-caption-platform { padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid var(--fp-border); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.fp-caption-platform i { color: var(--platform-color); font-size: 1.2rem; }
.fp-caption-card textarea { width: 100%; border: none; padding: 16px; font-family: inherit; font-size: .95rem; resize: none; background: #fff; outline: none; }

.fp-templates-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fp-template-card { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: 12px; padding: 20px; }
.fp-template-title { font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--fp-primary); }
.fp-template-card textarea { width: 100%; border: 1px solid var(--fp-border); border-radius: 8px; padding: 16px; font-family: inherit; font-size: .9rem; resize: none; margin-bottom: 12px; background: #f8fafc; }

.fp-deep-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 16px; }
.fp-deep-link-card { background: var(--fp-surface); border: 1px solid var(--fp-border); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 16px; }
.fp-deep-link-icon { width: 40px; height: 40px; border-radius: 8px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: var(--fp-muted); }
.fp-deep-link-info { flex: 1; overflow: hidden; }
.fp-deep-link-info strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.fp-deep-link-url { display: block; font-size: .85rem; color: var(--fp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: monospace; }
.fp-btn-icon { background: none; border: none; color: var(--fp-primary); cursor: pointer; padding: 8px; font-size: 1.1rem; border-radius: 6px; transition: .2s; }
.fp-btn-icon:hover { background: #e0e7ff; }

/* Announcements */
.fp-announcements-list { display: flex; flex-direction: column; gap: 16px; }
.fp-announcement-card { padding: 24px; border-radius: 12px; border: 1px solid var(--fp-border); display: flex; gap: 20px; }
.fp-announcement-card__icon i { font-size: 2rem; }
.fp-announcement-card h4 { font-size: 1.2rem; margin-bottom: 4px; }
.fp-announcement-card__date { font-size: .8rem; color: var(--fp-muted); display: block; margin-bottom: 12px; }
.fp-announcement-card__text { line-height: 1.6; color: rgba(0,0,0,.7); }
.fp-bg-info { background: #eff6ff; border-color: #bfdbfe; }
.fp-bg-info .fp-announcement-card__icon { color: #3b82f6; }
.fp-bg-success { background: #ecfdf5; border-color: #a7f3d0; }
.fp-bg-success .fp-announcement-card__icon { color: #10b981; }
.fp-bg-warning { background: #fffbeb; border-color: #fde68a; }
.fp-bg-warning .fp-announcement-card__icon { color: #f59e0b; }
.fp-bg-danger { background: #fef2f2; border-color: #fecaca; }
.fp-bg-danger .fp-announcement-card__icon { color: #ef4444; }

/* MoU Modal */
.fp-mou-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, .9); backdrop-filter: blur(5px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.fp-mou-modal { max-width: 700px; width: 100%; background: var(--fp-surface); border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.fp-mou-icon { background: linear-gradient(135deg, #6366f1, #a855f7); height: 80px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #fff; }
.fp-mou-modal h2 { text-align: center; padding: 24px 24px 8px; font-size: 1.8rem; border: none; }
.fp-mou-subtitle { text-align: center; color: var(--fp-danger); font-weight: 500; margin: 0 24px 24px; }
.fp-mou-content { padding: 0 32px 32px; max-height: 50vh; overflow-y: auto; color: #475569; font-size: .95rem; line-height: 1.6; }
.fp-mou-content h3 { font-size: 1.1rem; margin-bottom: 12px; color: #1e293b; }
.fp-mou-content p { margin-bottom: 12px; }
.fp-mou-actions { padding: 24px 32px; border-top: 1px solid var(--fp-border); background: #f8fafc; }

/* Responsive */
@media(max-width: 1024px) {
  .fp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-chart-row { grid-template-columns: 1fr; }
}
@media(max-width: 768px) {
  .fp-sidebar { transform: translateX(-100%); }
  .fp-sidebar--open { transform: translateX(0); box-shadow: 10px 0 30px rgba(0,0,0,.5); }
  .fp-dash-main { margin-left: 0; }
  .fp-dash-main--shifted { filter: blur(3px); pointer-events: none; }
  .fp-topbar__toggle { display: block; }
  .fp-topbar { padding: 0 16px; }
  .fp-dash-content { padding: 16px; }
  .fp-overview-grid { grid-template-columns: 1fr; }
  .fp-form-row { flex-direction: column; }
  .fp-payout-info-grid { grid-template-columns: 1fr; }
  .fp-templates-list { grid-template-columns: 1fr; }
  .fp-notif-dropdown { width: 300px; right: -60px; }
}

/* == DASHBOARD FORM INPUTS (light theme) ================================== */
body.fp-dash-body .fp-form-group { display: flex; flex-direction: column; gap: 6px; }
body.fp-dash-body .fp-form-group label {
  font-size: .82rem; font-weight: 600; color: #475569;
  text-transform: uppercase; letter-spacing: .5px;
}
body.fp-dash-body .fp-form-group input:not([type=checkbox]):not([type=radio]),
body.fp-dash-body .fp-form-group select,
body.fp-dash-body .fp-form-group textarea {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  color: #0f172a !important;
  font-size: .95rem !important;
  font-family: 'Inter', sans-serif !important;
  width: 100% !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.05) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: border-color .2s, box-shadow .2s !important;
}
body.fp-dash-body .fp-form-group input::placeholder,
body.fp-dash-body .fp-form-group textarea::placeholder { color: #94a3b8 !important; }
body.fp-dash-body .fp-form-group input:focus:not([type=checkbox]):not([type=radio]),
body.fp-dash-body .fp-form-group select:focus,
body.fp-dash-body .fp-form-group textarea:focus {
  outline: none !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important;
}
body.fp-dash-body .fp-form-group input[readonly],
body.fp-dash-body .fp-form-group select[disabled],
body.fp-dash-body .fp-form-group textarea[readonly] {
  background: #f8fafc !important; color: #64748b !important;
  border-color: #e2e8f0 !important; cursor: not-allowed !important;
}
body.fp-dash-body .fp-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 36px !important;
  cursor: pointer !important;
}
body.fp-dash-body .fp-form-group input[type=file] {
  padding: 8px 12px !important; cursor: pointer !important; font-size: .88rem !important;
}
body.fp-dash-body .fp-form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body.fp-dash-body .fp-form-row--3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
body.fp-dash-body .req { color: #ef4444; }
body.fp-dash-body .fp-input-hint { color: #94a3b8; font-size: .8rem; margin-top: 4px; }

