/* ==========================================================
   SmartWish – Day mode (white) overrides + theme button
   Dark mode = the page's own CSS (nothing changes there).
   Day mode applies only when <html data-theme="light">.
   ========================================================== */

/* ---------- Theme button (added by theme.js) ---------- */
.sw-theme-btn{
  position:absolute;
  top:10px;
  right:10px;
  z-index:50;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(25,21,56,.92);
  color:#fff;
  font:700 .82rem 'Segoe UI',system-ui,-apple-system,Roboto,sans-serif;
  cursor:pointer;
  transition:.2s
}
.sw-theme-btn:hover{border-color:#f857a6}
.sw-theme-btn:focus-visible{outline:3px solid #ffc837;outline-offset:2px}
html[data-theme="light"] .sw-theme-btn{
  background:#fff;
  color:#1f1b3a;
  border-color:#e3d4ec;
  box-shadow:0 4px 14px rgba(75,47,179,.12)
}
html[data-theme="light"] .sw-theme-btn:focus-visible{outline-color:rgba(75,47,179,.6)}
@media(max-width:520px){
  .sw-theme-btn .sw-tl{display:none}
  .sw-theme-btn{padding:8px 12px}
}

/* ---------- Page base ---------- */
html[data-theme="light"]{color-scheme:light}

html[data-theme="light"] body{
  background:#ffffff;
  color:#1f1b3a
}

html[data-theme="light"] body::before{
  background:
    radial-gradient(520px 380px at 0% 0%, rgba(248,87,166,.13), transparent 70%),
    radial-gradient(520px 380px at 100% 0%, rgba(255,200,55,.20), transparent 70%),
    radial-gradient(600px 420px at 0% 100%, rgba(120,100,255,.10), transparent 70%),
    radial-gradient(520px 380px at 100% 100%, rgba(248,87,166,.08), transparent 70%)
}

html[data-theme="light"] body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:radial-gradient(rgba(75,47,179,.09) 1px, transparent 1.2px);
  background-size:24px 24px
}

html[data-theme="light"] a{color:#c2185b}
html[data-theme="light"] a:hover{color:#4b2fb3}

html[data-theme="light"] h1,
html[data-theme="light"] h2{
  background:linear-gradient(90deg,#d6246e,#e8470f);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent
}

html[data-theme="light"] h3{color:#4b2fb3}

html[data-theme="light"] .updated{color:#6b6685}
html[data-theme="light"] .sub{color:#5b5675}
html[data-theme="light"] .badge{color:#1f1b3a}

/* ---------- Cards and text blocks ---------- */
html[data-theme="light"] .card{
  background-color:#ffffff;
  background-image:linear-gradient(90deg,#f857a6,#ffc837);
  background-size:100% 4px;
  background-repeat:no-repeat;
  border-color:#eadff0;
  color:#3a3458;
  box-shadow:0 10px 34px rgba(75,47,179,.09)
}

html[data-theme="light"] .card b{color:#1f1b3a}

html[data-theme="light"] .highlight{
  background:rgba(248,87,166,.07);
  color:#3a3458
}

html[data-theme="light"] .ad{
  background:#faf5fc;
  border-color:#d9c3e6;
  color:#6b6685
}

html[data-theme="light"] .noscript{
  background:#fff0f6;
  color:#1f1b3a
}

/* ---------- Tool pages: drop zone, preview, controls ---------- */
html[data-theme="light"] .drop{
  border-color:#d9c3e6;
  background:#fffafd
}

html[data-theme="light"] .drop:hover,
html[data-theme="light"] .drop.over,
html[data-theme="light"] .drop:focus-visible{
  border-color:#f857a6;
  background:#fff0f7
}

html[data-theme="light"] .drop p{color:#5b5675}

html[data-theme="light"] .drop h2{
  background:none;
  -webkit-text-fill-color:#1f1b3a;
  color:#1f1b3a
}

html[data-theme="light"] .preview{
  background:#f7f1fa;
  border:1px solid #eadff0
}

html[data-theme="light"] .preview img{box-shadow:0 4px 20px rgba(31,27,58,.18)}

html[data-theme="light"] .info{color:#5b5675}
html[data-theme="light"] .info b{color:#c2185b}

html[data-theme="light"] .tabs{background:#f4ecf7}
html[data-theme="light"] .tab{color:#5b5675}
html[data-theme="light"] .tab.active{color:#ffffff}

html[data-theme="light"] label{color:#1f1b3a}

html[data-theme="light"] input[type=number],
html[data-theme="light"] input[type=text],
html[data-theme="light"] input[type=date],
html[data-theme="light"] input[type=email],
html[data-theme="light"] textarea,
html[data-theme="light"] select{
  background:#ffffff;
  border-color:#d9cfe4;
  color:#1f1b3a
}

html[data-theme="light"] select option{
  background:#ffffff;
  color:#1f1b3a
}

html[data-theme="light"] .hint{color:#6b6685}
html[data-theme="light"] .check,
html[data-theme="light"] .preset-title{color:#1f1b3a}

html[data-theme="light"] .chip{
  background:#ffffff;
  border-color:#e3d4ec;
  color:#3a3458
}

html[data-theme="light"] .chip:hover,
html[data-theme="light"] .chip.active{
  background:linear-gradient(90deg,#e0357f,#ff5a5f);
  border-color:transparent;
  color:#ffffff
}

html[data-theme="light"] .percent-symbol{color:#b4236a}

html[data-theme="light"] .btn-download{
  background:linear-gradient(90deg,#0b8a5f,#16a86f);
  box-shadow:0 6px 20px rgba(11,138,95,.28)
}

/* Result messages that were written with the yellow colour inline */
html[data-theme="light"] [style*="#ffc837"]{color:#b4236a!important}

/* ---------- Features, tools, FAQ, table ---------- */
html[data-theme="light"] .feature{
  background:#faf5fc;
  border-color:#eadff0
}

html[data-theme="light"] .feature h3{color:#1f1b3a}
html[data-theme="light"] .feature p{color:#5b5675}

html[data-theme="light"] .tool-link{
  background:#faf5fc;
  border-color:#eadff0;
  color:#1f1b3a
}

html[data-theme="light"] .tool-link:hover{
  background:#fff0f7;
  border-color:#f857a6
}

html[data-theme="light"] .tool-link h3{color:#4b2fb3}
html[data-theme="light"] .tool-link p{color:#5b5675}

html[data-theme="light"] .faq{border-bottom-color:#eadff0}
html[data-theme="light"] .faq h3{color:#4b2fb3}
html[data-theme="light"] .faq p{color:#5b5675}

html[data-theme="light"] .size-table caption{color:#6b6685}

html[data-theme="light"] .size-table th,
html[data-theme="light"] .size-table td{border-color:#eadff0}

html[data-theme="light"] .size-table th{
  background:#f6eef9;
  color:#4b2fb3
}

html[data-theme="light"] .size-table td{color:#5b5675}

/* ---------- Footer ---------- */
html[data-theme="light"] footer{color:#6b6685}
html[data-theme="light"] footer a{color:#c2185b}

html[data-theme="light"] .sw-footer{
  background:#ffffff;
  border-color:#eadff0;
  box-shadow:0 10px 34px rgba(75,47,179,.09)
}

html[data-theme="light"] .sw-title{color:#c2185b}

html[data-theme="light"] .sw-row a{color:#c2185b}
html[data-theme="light"] .sw-row.sw-small a{color:#5b5675}
html[data-theme="light"] .sw-row a:hover{color:#4b2fb3}

html[data-theme="light"] .sw-legal{border-top-color:#eadff0}
html[data-theme="light"] .sw-legal a{color:#6b6685}
html[data-theme="light"] .sw-legal a:hover{color:#4b2fb3}

html[data-theme="light"] .sw-copy{color:#6b6685}

html[data-theme="light"] .sw-social a{
  background:#faf5fc;
  border-color:#e3d4ec;
  color:#1f1b3a
}

html[data-theme="light"] .sw-social a:hover,
html[data-theme="light"] .sw-social a:focus-visible{
  background:#fff0f7;
  border-color:#e0357f;
  color:#1f1b3a
}
/* ---------- Resize Button (Pink) ---------- */
html[data-theme="light"] .btn-main,
html[data-theme="light"] button.btn-main {
  background: linear-gradient(90deg, #be185d, #e11d6e);
  color: #fff;
  box-shadow: 0 6px 18px rgba(190, 24, 93, .25);
}
html[data-theme="light"] .btn-main:hover {
  filter: brightness(1.05);
}

/* ---------- Tabs (Blue) ---------- */
html[data-theme="light"] .tab.active {
  background: #1d4ed8;
  color: #ffffff;
}
html[data-theme="light"] .tab:hover:not(.active) {
  color: #1d4ed8;
}
/* ---------- Light mode: readable text on guide / legal pages (added 11/11/2026) ---------- */
html[data-theme="light"] .card p,
html[data-theme="light"] .card li,
html[data-theme="light"] .card td{color:#3a3458}
html[data-theme="light"] .card th,
html[data-theme="light"] .size-table th{color:#4b2fb3}
html[data-theme="light"] .note{color:#4a4668}
html[data-theme="light"] .meta-info,
html[data-theme="light"] .meta-info time,
html[data-theme="light"] .crumbs,
html[data-theme="light"] .crumbs a{color:#6b6685}
html[data-theme="light"] .steps li,
html[data-theme="light"] .faq p{color:#3a3458}
html[data-theme="light"] .formula{color:#4b2fb3}
html[data-theme="light"] footer p{color:#6b6685}
html[data-theme="light"] .drop-title{color:#1f1b3a}