/* ===== ss-v49-themes-style ===== */

/* ── Theme picker row ── */
.v49-theme-row{
  display:flex;gap:8px;flex-wrap:wrap;align-items:center;
  padding:10px 12px;margin:8px 0 2px;
  background:var(--bg-panel,#1e293b);border-radius:14px;
  border:1px solid rgba(255,255,255,.07);
}
.v49-theme-label{
  font-size:11px;font-weight:800;opacity:.6;
  white-space:nowrap;letter-spacing:.5px;
  color:var(--text-main,#f1f5f9);flex-shrink:0;
}
.v49-theme-swatch{
  width:34px;height:34px;border-radius:50%;border:2.5px solid transparent;
  cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s;
  flex-shrink:0;position:relative;overflow:hidden;
}
.v49-theme-swatch:hover{transform:scale(1.18);}
.v49-theme-swatch.active{border-color:#facc15;box-shadow:0 0 0 3px rgba(250,204,21,.35);}
.v49-theme-swatch::after{
  content:'✓';position:absolute;inset:0;display:flex;
  align-items:center;justify-content:center;
  font-size:13px;font-weight:900;color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.6);
  opacity:0;transition:opacity .15s;
}
.v49-theme-swatch.active::after{opacity:1;}

/* ── THEME CSS injected into the print page (v49page) ── */

/* 1 ── کڵێشەی ساکارەی ئاسایی (هێڵی پچڕپچڕ) */
.v49-theme-dotted .v49-hdr{border:2px dashed #334155!important;}
.v49-theme-dotted .v49-hdr td{border-right:2px dashed #94a3b8!important;}
.v49-theme-dotted .v49-unit{
  border-bottom:1.5px dashed #94a3b8;
  padding-bottom:2mm;margin-bottom:2mm;
}
.v49-theme-dotted .v49-unit:last-child{border-bottom:none;}

/* 2 ── کڵێشەی هێڵی داشخراو (سێبەر) */
.v49-theme-shadow .v49-hdr{
  border:none!important;
  background:linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%)!important;
  box-shadow:0 4px 18px rgba(15,23,42,.18),0 1px 4px rgba(15,23,42,.10)!important;
  border-radius:10px!important;
}
.v49-theme-shadow .v49-hdr td{border-right:1px solid rgba(0,0,0,.08)!important;}
.v49-theme-shadow .v49-unit{
  background:#fff;
  box-shadow:0 2px 8px rgba(15,23,42,.09),0 1px 2px rgba(15,23,42,.06);
  border-radius:7px;padding:2.5mm 3.5mm;margin-bottom:2.5mm;
  border:1px solid rgba(0,0,0,.05);
}

/* 3 ── کڵێشەی شوشەیی (Glass) */
.v49-theme-glass .v49-hdr{
  background:rgba(255,255,255,.62)!important;
  backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;
  border:1px solid rgba(255,255,255,.55)!important;
  box-shadow:0 4px 20px rgba(15,23,42,.13),inset 0 1px 0 rgba(255,255,255,.7)!important;
  border-radius:12px!important;
}
.v49-theme-glass .v49-hdr td{border-right:1px solid rgba(255,255,255,.4)!important;}
.v49-theme-glass .v49page{
  background:linear-gradient(135deg,#e0f2fe 0%,#f0fdf4 50%,#fdf4ff 100%)!important;
}
.v49-theme-glass .v49-unit{
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.6);
  border-radius:8px;padding:2.5mm 3.5mm;margin-bottom:2mm;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 4px rgba(15,23,42,.07);
}

/* 4 ── کڵێشەی مۆدێرن توندوتیژ (Bold Modern) */
.v49-theme-bold .v49-hdr{
  background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 100%)!important;
  border:none!important;border-radius:10px!important;
  box-shadow:0 6px 24px rgba(15,23,42,.35)!important;
}
.v49-theme-bold .v49-hdr td{
  border-right:1px solid rgba(255,255,255,.12)!important;
  color:#f1f5f9!important;
}
.v49-theme-bold .v49-h-label{color:rgba(148,163,184,1)!important;}
.v49-theme-bold .v49-h-value{color:#fff!important;}
.v49-theme-bold .v49-h-title{color:#facc15!important;}
.v49-theme-bold .v49-h-note{color:#94d2bd!important;}
.v49-theme-bold .v49-unit{
  border-right:3px solid #3b82f6;
  padding-right:4mm;margin-bottom:3mm;
  background:linear-gradient(90deg,rgba(59,130,246,.04) 0%,transparent 100%);
}

/* 5 ── کڵێشەی کاغەز کەرتی (Warm Paper) */
.v49-theme-paper .v49page{
  background:#fdf6e3!important;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 24px,rgba(180,150,100,.13) 25px)!important;
}
.v49-theme-paper .v49-hdr{
  background:#fff8e7!important;
  border:2px solid #c4a35a!important;
  border-radius:4px!important;
  box-shadow:2px 3px 0 #c4a35a!important;
}
.v49-theme-paper .v49-hdr td{border-right:1.5px solid #c4a35a!important;}
.v49-theme-paper .v49-h-title{color:#7c4a1e!important;}
.v49-theme-paper .v49-h-label{color:#9a6b3a!important;}
.v49-theme-paper .v49-unit{
  border-bottom:1px solid #c4a35a;
  padding-bottom:2mm;margin-bottom:2.5mm;
}

/* 6 ── کڵێشەی مینیمالیست (Minimalist) */
.v49-theme-minimal .v49-hdr{
  background:#fff!important;
  border:none!important;
  border-bottom:2.5px solid #0f172a!important;
  border-radius:0!important;
  padding-bottom:3mm!important;
  box-shadow:none!important;
}
.v49-theme-minimal .v49-hdr td{border-right:none!important;}
.v49-theme-minimal .v49-h-title{font-size:18pt!important;letter-spacing:-0.5px;}
.v49-theme-minimal .v49-unit{
  border-bottom:1px solid #e2e8f0;
  padding-bottom:2.5mm;margin-bottom:2.5mm;
}
.v49-theme-minimal .v49-unit:last-child{border-bottom:none;}

/* print: make glass & paper look clean */
@media print{
  .v49-theme-glass .v49page{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
  .v49-theme-paper .v49page{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
  .v49-theme-bold .v49-hdr{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
  .v49-theme-shadow .v49-unit{box-shadow:none!important;}
}
