/* Client Portal Lite v1.3.1 – Brand theming + timeline, mobile-first */
:root{
  /* Brand */
  --brand:#A78BFA;            /* primary purple */
  --brand-600:#8B5CF6;        /* hover */
  --ink-dark:#0B1220;         /* text for light surfaces (your spec) */
  --ink:#e7e8ff;              /* text on dark surfaces */
  --muted:#b8c0ef;
  /* Surfaces */
  --bg:#0b1020;               /* dark background */
  --panel:#101832;
  --card:#0f1530;
  /* Accents/gradients with purple */
  --grad1:linear-gradient(135deg,#fff 0%,#EDE9FE 60%,#C4B5FD 100%);
  --grad2:linear-gradient(135deg,#ECFDF5 0%,#D1FAE5 100%);
  --grad3:linear-gradient(135deg,#DBEAFE 0%,#DDD6FE 100%);
  --grad4:linear-gradient(135deg,#FEF3C7 0%,#FDE68A 100%);
  --tile1:linear-gradient(135deg,#fde68a 0%,#fca5a5 100%);
  --tile2:linear-gradient(135deg,#93c5fd 0%,#a5b4fc 100%);
  --tile3:linear-gradient(135deg,#6ee7b7 0%,#a7f3d0 100%);
  --shadow:0 10px 30px rgba(0,0,0,.25);
}
*{box-sizing:border-box}
body .cpl-wrap.dark{background:var(--bg);color:var(--ink);padding:12px}
.cpl-wrap{max-width:1180px;margin:14px auto;padding:12px}
.cpl-brand img{height:38px}
.cpl-hero{background:var(--grad3);color:var(--ink-dark);border-radius:20px;padding:18px;margin:10px 0;box-shadow:var(--shadow)}
.cpl-hero.admin{background:var(--grad2)}
.cpl-hero h2{margin:0;font-size:22px;line-height:1.25}
.cpl-hero p{margin:6px 0 0 0;font-size:14px;opacity:.9;color:var(--ink-dark)}
.cpl-cards{display:grid;grid-template-columns:1fr;gap:12px;margin:12px 0}
.cpl-card{background:var(--card);border:0;border-radius:16px;padding:14px;box-shadow:var(--shadow);color:var(--ink)}
.cpl-card.light{color:var(--ink-dark)}
.cpl-card.gradient-1{background:var(--grad1)}
.cpl-card.gradient-2{background:var(--grad2)}
.cpl-card.gradient-3{background:var(--grad3)}
.cpl-card-title{font-size:12px;opacity:.95;margin-bottom:6px;letter-spacing:.2px}
.cpl-card-value{font-size:22px;font-weight:800}
/* Stylish Top-up hero */
.cpl-topup-hero{display:grid;grid-template-columns:1fr;gap:12px;align-items:stretch;margin:14px 0}
.cpl-topup-illustration{min-height:120px;border-radius:16px;background:linear-gradient(135deg,#C4B5FD 0%,#A78BFA 100%);box-shadow:var(--shadow)}
.cpl-topup-content{background:var(--panel);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:14px;box-shadow:var(--shadow)}
.cpl-form{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:14px;margin:10px 0;box-shadow:var(--shadow)}
.cpl-form.glass{backdrop-filter: blur(6px)}
.cpl-grid-2,.cpl-grid-3{display:grid;gap:10px}
.cpl-grid-2{grid-template-columns:1fr}
.cpl-grid-3{grid-template-columns:1fr}
.cpl-form input,.cpl-form select,.cpl-form textarea{width:100%;padding:12px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:#0d1530;color:#e6ebff;font-size:16px}
.cpl-form input:focus,.cpl-form select:focus,.cpl-form textarea:focus{outline:2px solid var(--brand);outline-offset:2px}
.cpl-btn{background:#1f2a4a;color:#fff;padding:12px 14px;border:none;border-radius:12px;cursor:pointer;box-shadow:var(--shadow);font-weight:700;transition:transform .06s ease}
.cpl-btn:hover{transform:translateY(-1px)}
.cpl-btn.primary{background:var(--brand)}
.cpl-btn.primary:hover{background:var(--brand-600)}
.cpl-btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.25)}
.cpl-btn.outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.25)}
.cpl-btn.mini{padding:8px 10px;border-radius:10px;font-size:12px}
.cpl-input-mini{padding:8px;border:1px solid rgba(255,255,255,.14);background:#0d1530;color:#e6ebff;border-radius:10px}
.cpl-mini-help{font-size:12px;color:var(--muted)}
.cpl-alert{padding:12px;border-radius:14px;margin:10px 0}
.cpl-alert.success{background:rgba(167,139,250,.15);border:1px solid rgba(167,139,250,.55);color:#E9D5FF}
.cpl-table-responsive{overflow:auto;background:var(--panel);border:1px solid rgba(255,255,255,.06);border-radius:14px;box-shadow:var(--shadow)}
.cpl-table{width:100%;border-collapse:separate;border-spacing:0;color:var(--ink)}
.cpl-table th,.cpl-table td{padding:12px;border-bottom:1px solid rgba(255,255,255,.06);text-align:left;font-size:14px}
.cpl-table thead th{background:#0c142d;font-weight:700}
.badge{display:inline-block;padding:4px 10px;border-radius:999px;background:#ede9fe;color:#4c1d95;font-size:12px}
.status{padding:6px 10px;border-radius:999px;font-weight:700;font-size:12px;color:#fff}
.status.pending{background:#f59e0b}
.status.approved,.status.paid{background:#10b981}
.status.rejected{background:#ef4444}
.cpl-paygrid{display:grid;grid-template-columns:1fr;gap:10px}
.cpl-paygrid > .cpl-tile{color:var(--ink-dark);border-radius:12px;padding:12px;font-weight:600;box-shadow:var(--shadow)}
.cpl-tile.c1{background:var(--tile1)}
.cpl-tile.c2{background:var(--tile2)}
.cpl-tile.c3{background:var(--tile3)}
.cpl-section{margin:14px 0}
.cpl-section summary{list-style:none;cursor:pointer;font-weight:800;background:#EDE9FE;color:var(--ink-dark);border-radius:12px;padding:10px;box-shadow:var(--shadow)}
.cpl-section summary::-webkit-details-marker{display:none}
.cpl-section[open] summary{background:#DDD6FE}
/* Daily timeline */
.cpl-timeline{list-style:none;margin:10px 0;padding:0 0 0 4px;position:relative}
.cpl-timeline:before{content:"";position:absolute;left:14px;top:0;bottom:0;width:2px;background:linear-gradient(#A78BFA,#8B5CF6)}
.cpl-step{position:relative;margin-left:0;padding-left:40px;margin-bottom:14px}
.cpl-step-dot{position:absolute;left:7px;top:8px;width:14px;height:14px;background:#A78BFA;border:2px solid #EDE9FE;border-radius:50%;box-shadow:0 0 0 3px rgba(167,139,250,.25)}
.cpl-step-card{background:var(--panel);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:10px 12px;color:var(--ink)}
.cpl-step-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cpl-step-date{font-weight:800;color:#E9D5FF}
.cpl-step-amount{font-weight:900}
.cpl-step-meta{margin-top:6px;display:flex;flex-wrap:wrap;gap:6px}
.tag{background:#EDE9FE;color:#4c1d95;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}
.cpl-step-note{margin-top:6px;color:#cbd5e1;font-size:13px}
/* Admin grid colorful boxes */
.cpl-admin-grid{display:grid;grid-template-columns:1fr;gap:12px}
.cpl-card.colorful{background:var(--panel);border:1px solid rgba(255,255,255,.06)}
.cpl-card.colorful.a1{background:linear-gradient(135deg,#151a30 0%,#101832 100%)}
.cpl-card.colorful.a2{background:linear-gradient(135deg,#12213f 0%,#101832 100%)}
.cpl-card.colorful.a3{background:linear-gradient(135deg,#192d54 0%,#101832 100%)}
.cpl-card.colorful.a4{background:linear-gradient(135deg,#0f2f31 0%,#101832 100%)}
.cpl-card.colorful.a5{background:linear-gradient(135deg,#2b1344 0%,#101832 100%)}
.cpl-card.colorful.a6{background:linear-gradient(135deg,#2e1023 0%,#101832 100%)}
.cpl-card.colorful.a0{background:linear-gradient(135deg,#151a2e 0%,#101832 100%)}
.cpl-card.colorful.a7{background:linear-gradient(135deg,#18324f 0%,#101832 100%)}
/* Admin pages in wp-admin */
.cpl-admin-wrap .cpl-admin-cards{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:600px){
  .cpl-cards{grid-template-columns:repeat(2,1fr)}
  .cpl-grid-2{grid-template-columns:repeat(2,1fr)}
  .cpl-paygrid{grid-template-columns:repeat(3,1fr)}
  .cpl-topup-hero{grid-template-columns:1fr 1.2fr}
  .cpl-admin-grid{grid-template-columns:repeat(2,1fr)}
  .cpl-admin-wrap .cpl-admin-cards{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:1024px){
  .cpl-cards{grid-template-columns:repeat(3,1fr)}
  .cpl-grid-3{grid-template-columns:repeat(3,1fr)}
  .cpl-admin-grid{grid-template-columns:repeat(3,1fr)}
  .cpl-admin-wrap .cpl-admin-cards{grid-template-columns:repeat(3,1fr)}
}
a:focus,.cpl-btn:focus{outline:3px solid var(--brand);outline-offset:2px;border-radius:12px}

/* === Admin Light UI Redesign (v1.3.2) === */
body .cpl-wrap.admin-light{background:#F6F8FF;color:#0B1220;padding:12px}
.admin-light .cpl-hero{background:linear-gradient(135deg,#8B5CF6 0%, #60A5FA 100%);color:#ffffff;border-radius:18px;padding:16px;margin:12px 0;box-shadow:var(--shadow)}
.admin-light .cpl-hero h2{color:#fff;font-size:22px;margin:0}
.admin-light .cpl-actions .cpl-btn{font-size:13px;padding:8px 10px;border-radius:10px}
/* Cards: smaller, colorful light backgrounds, deep text */
.admin-light .cpl-card{background:#ffffff;border:1px solid #E5E7EB;border-radius:14px;padding:12px;color:#0B1220;box-shadow:0 6px 18px rgba(17,24,39,.06)}
.admin-light .cpl-card.colorful{border:1px solid #E5E7EB}
.admin-light .cpl-card.colorful.a1{background:linear-gradient(135deg,#F3E8FF 0%,#EDE9FE 100%)}
.admin-light .cpl-card.colorful.a2{background:linear-gradient(135deg,#E0F2FE 0%,#F0FDFA 100%)}
.admin-light .cpl-card.colorful.a3{background:linear-gradient(135deg,#FEF3C7 0%,#FFEDD5 100%)}
.admin-light .cpl-card.colorful.a4{background:linear-gradient(135deg,#D1FAE5 0%,#ECFDF5 100%)}
.admin-light .cpl-card.colorful.a5{background:linear-gradient(135deg,#FFE4E6 0%,#FCE7F3 100%)}
.admin-light .cpl-card.colorful.a6{background:linear-gradient(135deg,#E9D5FF 0%,#F5D0FE 100%)}
.admin-light .cpl-card.colorful.a0{background:linear-gradient(135deg,#EEF2FF 0%,#F7F8FC 100%)}
.admin-light .cpl-card.colorful.a7{background:linear-gradient(135deg,#FDE2E4 0%,#FAD2E1 100%)}
/* Headings white inside cards (badge-style) */
.admin-light .cpl-card h3{display:inline-block;background:linear-gradient(90deg,#8B5CF6,#60A5FA);color:#fff;border-radius:12px;padding:8px 12px;margin:0 0 10px 0;font-size:15px}
/* Tables tighter & legible */
.admin-light .cpl-table{color:#0B1220}
.admin-light .cpl-table thead th{background:#EEF2FF;color:#0B1220}
.admin-light .cpl-table th,.admin-light .cpl-table td{padding:10px;border-bottom:1px solid #E5E7EB;font-size:13px}
/* Forms smaller */
.admin-light .cpl-form{background:#ffffffcc;border:1px solid #E5E7EB;border-radius:14px;padding:12px}
.admin-light .cpl-form input,.admin-light .cpl-form select,.admin-light .cpl-form textarea{background:#fff;color:#0B1220;border:1px solid #CBD5E1;border-radius:10px;padding:10px;font-size:14px}
.admin-light .cpl-btn{background:#8B5CF6;color:#fff}
.admin-light .cpl-btn:hover{background:#7C3AED}
.admin-light .cpl-btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.7)}
.admin-light .cpl-btn.outline{background:transparent;color:#0B1220;border:1px solid #CBD5E1}
/* Grid spacing smaller on mobile, expands on desktop */
.admin-light .cpl-admin-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:640px){
  .admin-light .cpl-admin-grid{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:1024px){
  .admin-light .cpl-admin-grid{grid-template-columns:repeat(3,1fr)}
}
/* Selection highlight to brand */
.cpl-wrap ::selection{background:#C7D2FE;color:#0B1220}

/* === Daily Timeline styles === */
.cpl-timeline{list-style:none;margin:8px 0 0 0;padding:0;position:relative}
.cpl-timeline .tl-day{display:flex;gap:12px;position:relative;padding:10px 6px}
.cpl-timeline .tl-day + .tl-day{border-top:1px dashed rgba(11,18,32,.12)}
.cpl-timeline .tl-pin{flex:0 0 14px;height:14px;margin-top:6px;border-radius:999px;background:#A78BFA;box-shadow:0 0 0 4px rgba(167,139,250,.25)}
.cpl-timeline .tl-body{flex:1 1 auto}
.cpl-timeline .tl-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cpl-timeline .tl-date{font-weight:800;color:#0B1220}
.cpl-timeline .tl-total{font-weight:700;color:#4C1D95}
.cpl-timeline .tl-items{margin-top:6px;display:flex;flex-direction:column;gap:6px}
.cpl-timeline .tl-item{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:linear-gradient(90deg,#F8FAFF,#F3E8FF);border:1px solid #E5E7EB;border-radius:10px;padding:8px 10px}
.cpl-timeline .tl-item .amt{font-weight:800;color:#0B1220}
.cpl-timeline .tl-item .cat{font-size:12px;padding:4px 8px;border-radius:999px;background:#EDE9FE;color:#4C1D95}
.cpl-timeline .tl-item .proj{font-size:12px;padding:4px 8px;border-radius:999px;background:#DBEAFE;color:#1E40AF}
.cpl-timeline .tl-item .note{font-size:12px;color:#334155}

/* === v1.3.3: Navy rows (white text) for specific admin sections === */
/* Recent Activity Logs card (a6) — rows */
.admin-light .cpl-card.colorful.a6 .cpl-table tbody tr td{
  background:#0B1220;
  color:#ffffff;
}
.admin-light .cpl-card.colorful.a6 .cpl-table tbody tr a{ color:#ffffff; text-decoration: underline; }
.admin-light .cpl-card.colorful.a6 .cpl-table thead th{ background:#0B1220; color:#ffffff; }

/* Admin Client List card (a4) — rows */
.admin-light .cpl-card.colorful.a4 .cpl-table tbody tr td{
  background:#0B1220;
  color:#ffffff;
}
.admin-light .cpl-card.colorful.a4 .cpl-table tbody tr a{ color:#ffffff; text-decoration: underline; }
.admin-light .cpl-card.colorful.a4 .cpl-table thead th{ background:#0B1220; color:#ffffff; }

/* Last 3 Days Spending card (a7) — rows */
.admin-light .cpl-card.colorful.a7 .cpl-table tbody tr td{
  background:#0B1220;
  color:#ffffff;
}
.admin-light .cpl-card.colorful.a7 .cpl-table tbody tr a{ color:#ffffff; text-decoration: underline; }
.admin-light .cpl-card.colorful.a7 .cpl-table thead th{ background:#0B1220; color:#ffffff; }

/* Ensure white text for tables in a7 card on dark theme */
.cpl-card.colorful.a7 .cpl-table thead th,
.cpl-card.colorful.a7 .cpl-table tbody td {
  color:#ffffff;
}

/* Client Dashboard — ensure white text on navy/dark blocks */
.cpl-wrap.dark h3,
.cpl-wrap.dark .cpl-card-title,
.cpl-wrap.dark .cpl-topup-content h3 { color:#ffffff; }

/* Client Dashboard Active Projects table — force white text */
.cpl-wrap.dark .cpl-table thead th,
.cpl-wrap.dark .cpl-table tbody td { color:#ffffff; }

/* ensure summary text visible on dark */
.cpl-wrap.dark .cpl-section summary{ color:#ffffff; }

/* === v1.3.4: enforce navy rows + white text and white headings === */

/* Admin root hook */
.admin-root .cpl-card h3,
.admin-root .cpl-card .cpl-card-title { color:#ffffff !important; }

/* Client Dashboard: big headings (incl. Top-up Request) */
.cpl-wrap.dark h3,
.cpl-wrap.dark .cpl-card h3,
.cpl-wrap.dark .cpl-topup-content h3 { color:#ffffff !important; }

/* Client Dashboard: Active Projects table readability */
.cpl-wrap.dark .cpl-active-projects .cpl-table thead th,
.cpl-wrap.dark .cpl-active-projects .cpl-table tbody td { color:#ffffff !important; background:#0B1220; }

/* Admin: Client List (a4) rows navy + white */
.admin-root .cpl-card.colorful.a4 .cpl-table thead th,
.admin-root .cpl-card.colorful.a4 .cpl-table tbody td { background:#0B1220; color:#ffffff !important; }
.admin-root .cpl-card.colorful.a4 .cpl-table tbody tr a{ color:#ffffff !important; text-decoration: underline; }

/* Admin: Recent Activity Logs (a6) rows navy + white */
.admin-root .cpl-card.colorful.a6 .cpl-table thead th,
.admin-root .cpl-card.colorful.a6 .cpl-table tbody td { background:#0B1220; color:#ffffff !important; }
.admin-root .cpl-card.colorful.a6 .cpl-table tbody tr a{ color:#ffffff !important; text-decoration: underline; }

/* Admin: Create Invoices (a3) — ensure user/details white on dark */
.admin-root .cpl-card.colorful.a3 .cpl-table thead th,
.admin-root .cpl-card.colorful.a3 .cpl-table tbody td { background:#0B1220; color:#ffffff !important; }
.admin-root .cpl-card.colorful.a3 .cpl-table tbody tr a{ color:#ffffff !important; text-decoration: underline; }

/* v1.3.5 — Admin grid one-column stack on all screens */
.cpl-admin-grid{grid-template-columns:1fr !important;}
@media (min-width:640px){ .cpl-admin-grid{grid-template-columns:1fr !important;} }
@media (min-width:1024px){ .cpl-admin-grid{grid-template-columns:1fr !important;} }

/* v1.3.5 — stronger white headings for visibility */
.cpl-wrap.dark h2, .cpl-wrap.dark h3, .cpl-wrap.dark .cpl-card-title { color:#ffffff !important; }

/* ===== v1.3.6: Top-up Request heading force white + stronger mobile admin responsiveness ===== */

/* Top-up Request title in client dashboard */
.cpl-wrap.dark .cpl-topup-content > h3,
.cpl-wrap.dark .cpl-topup-hero h3 { color:#ffffff !important; text-shadow: 0 1px 0 rgba(0,0,0,.2); }

/* Make admin portal super mobile-friendly on all phones */
.cpl-admin-grid{grid-template-columns:1fr !important; gap:12px;}
.cpl-card{border-radius:14px;}
.cpl-card.colorful{border:1px solid rgba(255,255,255,.08);}

/* Tables: better mobile readability */
.cpl-table-responsive{-webkit-overflow-scrolling:touch;}
.cpl-table th,.cpl-table td{padding:10px;}

/* Buttons & inputs sizing tweaks */
.cpl-btn{min-height:44px; line-height:1.15;}
.cpl-form input,.cpl-form select,.cpl-form textarea{min-height:42px;}

/* Tiny devices */
@media (max-width: 420px){
  .cpl-wrap{padding:10px;}
  .cpl-brand img{height:28px !important;}
  .cpl-hero{padding:14px;}
  .cpl-card{padding:12px;}
  .cpl-form{padding:12px;}
  .cpl-btn{padding:10px 12px;font-size:14px;}
  .cpl-table th,.cpl-table td{font-size:12px;padding:8px;}
}

/* Very small phones */
@media (max-width: 340px){
  .cpl-btn{padding:8px 10px;font-size:13px;}
  .cpl-card{padding:10px;}
  .cpl-form input,.cpl-form select,.cpl-form textarea{font-size:14px;}
}

/* ===== v1.3.7: Active Projects brand theming (client dashboard & shortcode) ===== */
.cpl-active-projects .cpl-table thead th{
  background: var(--grad1) !important; /* purple brand gradient */
  color:#ffffff !important;
  border-bottom: none;
}
.cpl-active-projects .cpl-table tbody tr td{
  background:#0c142d !important;    /* deep navy rows */
  color:#ffffff !important;
}
.cpl-active-projects .cpl-table tbody tr:nth-child(even) td{
  background:#111b3a !important;    /* alternate row */
}
.cpl-active-projects .cpl-table a{ color:#ffffff !important; text-decoration: underline; }
.cpl-active-projects .cpl-table .status{ color:#ffffff !important; }

/* ===== v1.3.8 specific requests ===== */

/* Admin → Create Invoice card white background with dark text */
.cpl-card.colorful.a3{ 
  background:#ffffff !important; 
  color:#0B1220 !important; 
  border:1px solid #E5E7EB !important;
}
.cpl-card.colorful.a3 .cpl-card-title,
.cpl-card.colorful.a3 h3{ color:#0B1220 !important; }
.cpl-card.colorful.a3 .cpl-form{ background:#F9FAFB !important; border-color:#E5E7EB !important; }
.cpl-card.colorful.a3 .cpl-table thead th{ background:#F3F4F6 !important; color:#0B1220 !important; }
.cpl-card.colorful.a3 .cpl-table tbody td{ background:#FFFFFF !important; color:#0B1220 !important; }
.cpl-card.colorful.a3 .status{ color:#ffffff !important; } /* keep badges readable */

/* Client Dashboard → Top-up Request container background */
.cpl-topup-content{ 
  background:#CFD1D6 !important; 
  color:#0B1220 !important; 
  border-color:#d6d8dd !important;
}
.cpl-topup-content .cpl-form{ 
  background:#FFFFFF !important; 
  border-color:#e5e7eb !important; 
}
.cpl-topup-content h3{ color:#ffffff !important; } /* as requested, title stays white */

/* Client Dashboard → Top-up History table: white body rows & dark text */
.cpl-history-topup .cpl-table thead th{ background:#0B1220 !important; color:#FFFFFF !important; }
.cpl-history-topup .cpl-table tbody td{ background:#FFFFFF !important; color:#0B1220 !important; }
.cpl-history-topup .cpl-table tbody tr:nth-child(even) td{ background:#F7F7FA !important; }

/* Client Dashboard → Active Projects: ensure distinct contrast */
.cpl-active-projects .cpl-table thead th{ background:var(--grad1) !important; color:#FFFFFF !important; }
.cpl-active-projects .cpl-table tbody td{ background:#0D1530 !important; color:#FFFFFF !important; }
.cpl-active-projects .cpl-table tbody tr:nth-child(even) td{ background:#111a39 !important; }

/* ===== v1.3.9: Client Active Projects — full white BG + full black text ===== */
.cpl-active-projects h3{ color:#000000 !important; }
.cpl-active-projects .cpl-table{ border-collapse:separate; border-spacing:0; }
.cpl-active-projects .cpl-table thead th{
  background:#FFFFFF !important;
  color:#000000 !important;
  border-bottom:1px solid #E5E7EB !important;
}
.cpl-active-projects .cpl-table tbody td{
  background:#FFFFFF !important;
  color:#000000 !important;
  border-bottom:1px solid #F0F2F5 !important;
}
.cpl-active-projects .cpl-table tbody tr:nth-child(even) td{
  background:#FFFFFF !important; /* keep flat white as requested */
}
.cpl-active-projects .cpl-table a{
  color:#000000 !important;
  text-decoration: underline;
}
/* ===== v1.3.10: Admin → Pending Top-ups (a1) contrast fix ===== */
.cpl-card.colorful.a1,
.cpl-card.colorful.a1 .cpl-table { color:#ffffff !important; }

.cpl-card.colorful.a1 .cpl-table thead th{
  background:#152045 !important;
  color:#ffffff !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
}

.cpl-card.colorful.a1 .cpl-table tbody td{
  background:#0b1020 !important;
  color:#ffffff !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
}

.cpl-card.colorful.a1 .cpl-table tbody tr:nth-child(even) td{
  background:#0f162b !important;
}

.cpl-card.colorful.a1 a{
  color:#ffffff !important;
  text-decoration: underline;
}

.cpl-card.colorful.a1 .badge{
  background:#A78BFA !important;
  color:#0B1220 !important;
}

.cpl-card.colorful.a1 .status{
  color:#ffffff !important; /* Approved/Pending/Rejected ট্যাগের টেক্সট সাদা */
}


/* ===== AUTO-APPENDED ===== */
:root { --cpl-radius:16px; --cpl-gap:16px; --cpl-shadow:0 10px 24px rgba(0,0,0,.12); --cpl-text:#16181d; --cpl-text-inverse:#fff; --cpl-theme:#9B59B6; }
[data-cpl="summary"],[data-cpl="actions"],.cpl-summary,.cpl-actions{display:grid;grid-template-columns:1fr;gap:var(--cpl-gap)}
@media(min-width:600px){[data-cpl="summary"],[data-cpl="actions"],.cpl-summary,.cpl-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cpl-card-title{font-weight:700;font-size:1.05rem;margin:0 0 6px;color:var(--cpl-text)}
.cpl-card-value{font-size:1.6rem;font-weight:800;letter-spacing:.3px;margin-bottom:8px;color:var(--cpl-text)}
.amount{display:inline-flex;align-items:baseline;gap:6px}
.currency{font-weight:900}.currency-usd{color:#15803d}.currency-bdt{color:#9B59B6}
.amount .num{padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.06);font-variant-numeric:tabular-nums}
/* Clients — Summary & Actions: two per row */
.cpl-clients-grid{display:grid;grid-template-columns:1fr;gap:20px;margin-top:10px}
@media(min-width:800px){.cpl-clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cpl-client-card{border-radius:18px;box-shadow:0 12px 26px rgba(0,0,0,.10);background:linear-gradient(135deg,#fff 0%,#F8FBFF 100%);padding:16px;position:relative}
.cpl-stats{display:flex;gap:12px;flex-wrap:wrap}
.cpl-stat{flex:1 1 120px;min-width:120px;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:14px;padding:10px 12px;box-shadow:0 4px 12px rgba(0,0,0,.05)}
.cpl-stat__label{font-size:.78rem;color:#475569;margin-bottom:6px}
.cpl-stat__value{font-size:1.25rem;font-weight:800;letter-spacing:.2px}
.cpl-stat--neg .cpl-stat__value{color:#b91c1c}.cpl-stat--pos .cpl-stat__value{color:#15803d}
.cpl-danger{background:#b91c1c;color:#fff;border:none;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer;box-shadow:0 10px 20px rgba(185,28,28,.25)}
.cpl-danger:hover{transform:translateY(-1px)}


/* === CPL Redesign: Clients — Summary & Actions (2025-08-29) === */
.cpl-clients-toolbar{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  background:var(--grad3); color:var(--ink-dark);
  padding:10px 12px; border-radius:14px; box-shadow:var(--shadow); margin:8px 0 14px;
  flex-wrap:wrap;
}
.cpl-clients-toolbar input[type="search"]{
  flex:1 1 220px; border:1px solid #E5E7EB; border-radius:10px; padding:8px 10px; font-size:14px; background:#fff;
}
.cpl-clients-toolbar .cpl-filters{display:flex; gap:8px; align-items:center;}
.cpl-clients-toolbar .cpl-chip{cursor:pointer; border:1px solid #d1d5db; background:#fff; color:#111827; padding:6px 10px; border-radius:999px;}
.cpl-clients-toolbar .cpl-chip.is-active{border-color:var(--brand-600); box-shadow:0 0 0 2px rgba(139,92,246,.15)}
.cpl-clients-toolbar .cpl-sort{display:flex; align-items:center; gap:8px; font-size:13px; color:#111827}
.cpl-clients-toolbar select{border:1px solid #E5E7EB; border-radius:10px; padding:6px 8px; background:#fff;}

.cpl-clients-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
@media (max-width: 1024px){ .cpl-clients-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 640px){ .cpl-clients-grid{grid-template-columns:1fr;} }

.cpl-client-card{background:#fff; color:#0b1220; border:1px solid #e5e7eb;}
.cpl-client-card.is-negative{border-color:#fecaca; box-shadow:0 6px 12px -6px rgba(185,28,28,.25);}
.cpl-client-card.is-positive{border-color:#d1fae5; box-shadow:0 6px 12px -6px rgba(16,185,129,.25);}

.cpl-client-meta{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px;}
.cpl-avatar{
  width:36px; height:36px; border-radius:999px; display:grid; place-items:center; font-weight:800;
  background: radial-gradient(100% 100% at 50% 0%, #C4B5FD 0%, #A78BFA 100%); color:#fff;
}
.cpl-meta .cpl-name{font-weight:700; font-size:15px; line-height:1.1}
.cpl-meta .cpl-sub{font-size:12px; opacity:.7}

.cpl-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:6px 0 8px;}
@media (max-width: 560px){ .cpl-stats{grid-template-columns:1fr 1fr;} }
.cpl-stat{background:#f9fafb; border:1px solid #eef2f7; border-radius:12px; padding:10px;}
.cpl-stat .cpl-card-title{margin:0 0 4px; color:#374151;}
.cpl-stat .cpl-card-value{font-size:18px; font-weight:800; color:#0b1220;}

.cpl-chip{display:inline-flex; align-items:center; gap:6px; font-size:12px; padding:4px 8px; border-radius:999px; background:#eef2ff; color:#1f2937; border:1px solid #e5e7eb;}
.cpl-chip--ok{background:#ecfdf5; color:#065f46; border-color:#d1fae5;}
.cpl-chip--warn{background:#fef2f2; color:#991b1b; border-color:#fecaca;}

.cpl-actions{display:flex; gap:8px; align-items:center; justify-content:flex-end; margin-top:8px;}
.cpl-actions .cpl-btn{border-radius:10px; padding:8px 12px; font-size:13px;}
.cpl-actions .cpl-btn.outline{background:#fff; border:1px solid #e5e7eb; color:#111827;}
.cpl-actions .cpl-btn.danger{background:#b00020; color:#fff; border:0;}


/* === DESKTOP STACK + RESPONSIVE FIXES APPENDED === */

/* ======================================================================
   Admin Portal – DESKTOP RESPONSIVE FIX (Stacked Sections + Safe Grids)
   Date: 2025-08-29
   Purpose:
     • Ensure every MAJOR section stacks vertically on desktop as well
     • Keep inner card grids responsive (auto-wrap)
     • Prevent any float/column rules from the plugin forcing side-by-side
     • Fix header button wraps and table overflow
   ====================================================================== */

/* 0) Base container width + spacing */
:root{--section-gap:20px}
.cpl-wrap{width:min(1280px, 100% - 24px); margin:18px auto; padding:14px}
.cpl-wrap *{box-sizing:border-box}

/* 1) FORCE STACK: major wrappers are vertical */
:where(.cpl-wrap, .cpl-admin-wrap, .admin-portal, #admin-portal, .portal-root){
  display:flex !important;
  flex-direction:column !important;
  gap:var(--section-gap);
}

/* 2) Each direct child of major wrappers becomes a full-width block */
:where(.cpl-wrap, .cpl-admin-wrap, .admin-portal, #admin-portal, .portal-root) > *{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  clear:both !important;
}

/* 3) Rows that previously placed sections side-by-side -> column */
:where(.cpl-wrap, .cpl-admin-wrap, .admin-portal, #admin-portal, .portal-root)
  :is([class*="section-row"], [class*="sections"], [class*="layout-row"], [class*="two-col"], [class*="three-col"]){
  display:flex !important;
  flex-direction:column !important;
  gap:var(--section-gap);
}

/* 4) Prevent side-by-side cols inside immediate section wrappers only */
:where(.cpl-wrap, .cpl-admin-wrap, .admin-portal, #admin-portal, .portal-root) 
  > :is(section, .section, .cpl-hero, .cpl-form, .cpl-table-block, .cpl-panel, .panel)
  > :is(.row, .rows, .columns, .cols, [class*="col-"]){
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  float:none !important;
}

/* 5) HERO header action buttons wrap nicely */
.cpl-header, .cpl-hero .header{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.cpl-header > *{flex:0 1 auto; min-width:0}
.cpl-header .actions, .cpl-hero .header .actions{display:flex; flex-wrap:wrap; gap:8px}

/* 6) Inner grids remain responsive */
.cpl-cards, .cpl-admin-wrap .cpl-admin-cards, .cpl-admin-grid, .cpl-grid-2, .cpl-grid-3, .cpl-paygrid, .cpl-stats{
  display:grid; gap:12px;
}
.cpl-cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.cpl-admin-wrap .cpl-admin-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.cpl-admin-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.cpl-grid-2{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.cpl-grid-3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.cpl-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.cpl-paygrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}

/* 7) Forms: wrap long rows */
.cpl-form .row, .cpl-form .cpl-actions{display:flex; flex-wrap:wrap; gap:10px}
.cpl-form .row > *{flex:1 1 260px; min-width:0}
.cpl-form input, .cpl-form select, .cpl-form textarea{width:100%; min-width:0}

/* 8) Tables: scroll on overflow + min width to avoid squish */
.cpl-table-wrap{width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch}
.cpl-logs table, .cpl-table-wrap table{min-width:860px}

/* 9) Kill plugin rules that re-impose multi-columns at large widths */
@media (min-width:640px){
  .cpl-admin-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important}
}
@media (min-width:1024px){
  .cpl-admin-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important}
}

/* 10) Visual: section blocks */
.section, .cpl-hero, .cpl-form, .cpl-card{
  background:#121528; border:1px solid rgba(255,255,255,.06); border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  padding:14px;
}
/* Payment tiles equal height */
.cpl-paygrid .cpl-card{display:flex; flex-direction:column; justify-content:space-between}

/* === Custom card colors & spacing for payment details === */
.cpl-card.total-spent { background: #9B59B6; color: #fff; margin-right: 10px; }
.cpl-card.lifetime-topup { background: #27AE60; color: #fff; margin-right: 10px; }
.cpl-card.current-balance { background: #2980B9; color: #fff; }
.cpl-card.total-spent .label,
.cpl-card.lifetime-topup .label,
.cpl-card.current-balance .label { font-weight: 600; }
.cpl-cards { display: flex; gap: 10px; }


/* === Custom card colors for payment details === */
.cpl-card.gradient-1 { background: #9B59B6; color: #fff; }
.cpl-card.gradient-2 { background: #27AE60; color: #fff; }
.cpl-card.gradient-3 { background: #2980B9; color: #fff; }
.cpl-card.gradient-1 .label,
.cpl-card.gradient-2 .label,
.cpl-card.gradient-3 .label { font-weight: 600; }


/* === Spacing override as requested === */
.cpl-cards { gap: 10px !important; }

/* === v1.4.0: Improved client dashboard organization and light theme cleanup === */

/* Payment Methods tiles: soften colours in admin-light */
.admin-light .cpl-paygrid .cpl-tile {
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(17, 24, 39, .04);
  color: #0B1220;
  padding: 12px;
}
.admin-light .cpl-paygrid .cpl-tile.c1 {
  background: linear-gradient(135deg, #FEF9C3 0%, #FDE5EC 100%);
} /* Bkash - soft yellow/pink */
.admin-light .cpl-paygrid .cpl-tile.c2 {
  background: linear-gradient(135deg, #E8F5FF 0%, #E2E8FF 100%);
} /* Nagad - soft blue */
.admin-light .cpl-paygrid .cpl-tile.c3 {
  background: linear-gradient(135deg, #E4F7EC 0%, #E8FAF0 100%);
} /* Bank - soft green */
.admin-light .cpl-paygrid .cpl-tile strong {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Top-up hero: unify form look for client dashboard */
.admin-light .cpl-topup-content {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, .06);
  padding: 16px;
}
.admin-light .cpl-topup-illustration {
  background: linear-gradient(135deg, #E8E7FD 0%, #F0E8FF 100%);
  border-radius: 16px;
}

/* Stats cards: soften gradients and add subtle borders */
.admin-light .cpl-card.gradient-1.light {
  background: linear-gradient(135deg, #EEF2FF 0%, #E8EDFF 100%);
  border: 1px solid #E5E7EB;
  color: #0B1220;
  box-shadow: 0 4px 8px rgba(17, 24, 39, .04);
}
.admin-light .cpl-card.gradient-2.light {
  background: linear-gradient(135deg, #E9FCEB 0%, #DFF6E7 100%);
  border: 1px solid #E5E7EB;
  color: #0B1220;
  box-shadow: 0 4px 8px rgba(17, 24, 39, .04);
}
.admin-light .cpl-card.gradient-3.light {
  background: linear-gradient(135deg, #EFF4FE 0%, #E5EBFD 100%);
  border: 1px solid #E5E7EB;
  color: #0B1220;
  box-shadow: 0 4px 8px rgba(17, 24, 39, .04);
}

/* cpl-section summaries: unify pastel backgrounds */
.admin-light .cpl-section summary {
  background: #F3F4FF;
  color: #0B1220;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 4px 8px rgba(17, 24, 39, .03);
}
.admin-light .cpl-section[open] summary {
  background: #E8EBFF;
}

/* Forms inside collapsible sections: ensure full width and subtle backgrounds */
.admin-light details .cpl-form {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0;
  box-shadow: 0 4px 8px rgba(17, 24, 39, .04);
}

/* Tables in admin-light: lighten headers and zebra rows */
.admin-light .cpl-table thead th {
  background: #F6F7FB;
  color: #0B1220;
  font-weight: 700;
}
.admin-light .cpl-table tbody tr:nth-child(even) td {
  background: #F8FAFE;
}
.admin-light .cpl-table tbody tr:nth-child(odd) td {
  background: #FFFFFF;
}
.admin-light .cpl-table tbody tr td {
  color: #0B1220;
  border-bottom: 1px solid #E5E7EB;
}

/* Status badges inside tables: unify appearance */
.admin-light .status {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}
.admin-light .status.pending {
  background: #FEF3C7;
  color: #92400E;
}
.admin-light .status.approved,
.admin-light .status.paid {
  background: #D1FAE5;
  color: #065F46;
}
.admin-light .status.rejected {
  background: #FEE2E2;
  color: #991B1B;
}

/* Timeline: lighten cards and colours */
.admin-light .cpl-step-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  box-shadow: 0 3px 6px rgba(17, 24, 39, .05);
  color: #0B1220;
}
.admin-light .cpl-step-dot {
  background: #8B5CF6;
  border: 2px solid #DDD6FE;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .25);
}
.admin-light .cpl-step-date {
  color: #4C1D95;
  font-weight: 700;
}
.admin-light .cpl-step-amount {
  color: #0B1220;
  font-weight: 700;
}
.admin-light .cpl-step-meta .tag {
  background: #EFE7FF;
  color: #4C1D95;
}
.admin-light .cpl-step-note {
  color: #475569;
}

/* Active projects table: unify with other tables */
.admin-light .cpl-active-projects .cpl-table thead th {
  background: #F6F7FB;
  color: #0B1220;
  font-weight: 700;
}
.admin-light .cpl-active-projects .cpl-table tbody tr:nth-child(even) td {
  background: #F8FAFE;
}
.admin-light .cpl-active-projects .cpl-table tbody tr:nth-child(odd) td {
  background: #FFFFFF;
}
.admin-light .cpl-active-projects .cpl-table tbody tr td {
  color: #0B1220;
  border-bottom: 1px solid #E5E7EB;
}

/* Top-up history and invoices sections use the generic table styling defined above */

/* Responsive: ensure grids auto-fit nicely */
.cpl-paygrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.cpl-cards.stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}


/* === v1.3.4: Custom enhancements for manual sections and client cards === */
/* Responsive grid for client summary cards */
.cpl-client-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
/* Individual client card styling */
.cpl-client-card {
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}
/*
 * Stack the stat cards vertically within each client card.
 * Previously these stats (Lifetime Top‑up, Total Spent, Current Balance)
 * were displayed in a three‑column grid. To improve readability
 * and avoid cramped layouts on smaller screens, switch to a single
 * column grid. A small gap separates each stat.  See user request
 * to place the yellow highlighted sections one below another.
 */
.cpl-client-card .client-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
.cpl-client-card .stat-card {
  background: #f7f7f9;
  border-radius: 12px;
  padding: 10px;
  color: inherit;
  border: 1px solid #E5E7EB;
  /* Reduce font sizes for stat cards */
  font-size: 13px;
}
/* Caption and value styling inside stat cards */
/* Reduce caption and value font sizes slightly for vertical stacking */
.cpl-client-card .stat-card .cpl-card-caption {
  font-size: 10px;
  font-weight: 600;
  color: #6B7280;
}
.cpl-client-card .stat-card .cpl-card-value {
  font-size: 16px;
  font-weight: 700;
  color: #0B1220;
}
/* Delete button styling */
.cpl-client-card .delete-client-btn {
  background: #b00020;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  text-align: center;
}
.cpl-client-card .delete-client-btn:hover {
  background: #9a001a;
}
/* Collapsible manual sections styling */
.cpl-admin-manual-section details {
  margin-bottom: 16px;
}
.cpl-admin-manual-section summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 12px;
  background: #EDE9FE;
  color: #4c1d95;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.cpl-admin-manual-section summary::-webkit-details-marker {
  display: none;
}
.cpl-admin-manual-section details[open] > summary {
  background: #DDD6FE;
}
.cpl-admin-manual-section .cpl-card {
  margin-top: 12px;
}
.cpl-manual-add form,
.cpl-manual-topup form {
  margin-top: 10px;
}

/* Responsive column layout for client cards */
@media (min-width: 640px) {
  .cpl-client-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .cpl-client-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*
 * === Logs section collapsible styling ===
 * When the Recent Activity Logs card is wrapped in a <details> with
 * the logs-section class, style the summary element to appear as a
 * clickable bar. This ensures the section can be minimized and
 * expanded while retaining a professional look.  The summary uses
 * a soft purple gradient similar to the colorful card palette and
 * inherits the card shadow for depth.  The open state darkens the
 * gradient slightly.
 */
.logs-section > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, #E9D5FF 0%, #F5D0FE 100%);
  color: #4c1d95;
  box-shadow: var(--shadow);
}
.logs-section > summary::-webkit-details-marker {
  display: none;
}
.logs-section[open] > summary {
  background: linear-gradient(135deg, #D8B4FE 0%, #E9D5FF 100%);
}


/* === Gradient card colors for payment details === */
.cpl-card.gradient-1 {
  background: linear-gradient(135deg, #9B59B6, #BB8FCE);
  color: #fff;
}
.cpl-card.gradient-2 {
  background: linear-gradient(135deg, #27AE60, #52BE80);
  color: #fff;
}
.cpl-card.gradient-3 {
  background: linear-gradient(135deg, #2980B9, #5DADE2);
  color: #fff;
}
.cpl-card.gradient-1 .label,
.cpl-card.gradient-2 .label,
.cpl-card.gradient-3 .label { font-weight: 600; }


/* === Forced gradient overrides with higher specificity & !important === */
/* Restrict forced gradient overrides to dark mode only. Admin-light will use softer palettes defined later */
.cpl-wrap.dark .cpl-cards .cpl-card.gradient-1.light,
.cpl-wrap.dark .cpl-cards .cpl-card.gradient-1 {
  background: linear-gradient(135deg, #9B59B6, #BB8FCE) !important;
  background-image: linear-gradient(135deg, #9B59B6, #BB8FCE) !important;
  color: #fff !important;
}
.cpl-wrap.dark .cpl-cards .cpl-card.gradient-2.light,
.cpl-wrap.dark .cpl-cards .cpl-card.gradient-2 {
  background: linear-gradient(135deg, #27AE60, #52BE80) !important;
  background-image: linear-gradient(135deg, #27AE60, #52BE80) !important;
  color: #fff !important;
}
.cpl-wrap.dark .cpl-cards .cpl-card.gradient-3.light,
.cpl-wrap.dark .cpl-cards .cpl-card.gradient-3 {
  background: linear-gradient(135deg, #2980B9, #5DADE2) !important;
  background-image: linear-gradient(135deg, #2980B9, #5DADE2) !important;
  color: #fff !important;
}

/* Keep spacing */
.cpl-cards { gap: 10px !important; }
