/* credit-app.css — CREDiPORT consumer credit wizard (generated) */

/* ====== STEP 2 — UNIFIED MODAL (Klarna-inspired minimal) ====== */

/* Base: hidden by default; becomes centered modal overlay when .active */
#step2Content { display: none; }
#step2Content.active {
  display: flex; position: fixed; inset: 0; z-index: 9000;
  align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  animation: wizBackdropIn .22s ease both;
  height: 100%; height: 100dvh;
}
@keyframes wizBackdropIn { from { opacity: 0; } to { opacity: 1; } }

.step2-inner {
  background: #fff; position: relative;
  display: flex; flex-direction: column;
  width: 100%; max-width: 520px;
  max-height: 88vh; max-height: 88dvh;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(2,6,23,.28), 0 10px 20px -8px rgba(2,6,23,.14);
  animation: wizShellIn .3s cubic-bezier(.34,1.1,.64,1) both;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateZ(0);
}

/* Drag handle no longer used (centered modal) */
.step2-drag-handle { display: none !important; }

/* Header */
.step2-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; position: sticky; top: 0; z-index: 2;
  background: linear-gradient(120deg, rgba(255,83,73,.09) 0%, #fff 58%);
  border-bottom: 1px solid rgba(255,83,73,.12);
  overflow: hidden;
}
.step2-sheet-header > * { position: relative; z-index: 1; }
.wiz-hdr-deco {
  position: absolute; right: 0; top: 0; bottom: 0;
  height: 100%; width: 130px; pointer-events: none; z-index: 0;
  opacity: .55;
}
.step2-modal-summary {
  display: inline-flex; align-items: center;
  background: rgba(255,83,73,.07);
  border: 1.5px solid rgba(255,83,73,.35);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: .82rem; font-weight: 700; color: #0F172A;
  letter-spacing: -.01em;
}
.step2-modal-close {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #64748B; transition: background .15s, color .15s;
  padding: 0; flex-shrink: 0;
}
.step2-modal-close:hover { background: #F3F4F6; color: #0F172A; }
.step2-modal-close svg { width: 20px; height: 20px; }

/* Progress bar */
#step2Content .wiz-progress-wrap {
  height: 3px; background: #e2e8f0; border-radius: 2px;
  margin: 0 0 20px; position: sticky; top: 54px; z-index: 1;
}
#step2Content .wiz-progress-fill {
  height: 3px; background: var(--accent, #FF5349); border-radius: 2px;
  transition: width .3s ease;
}

/* Body */
.step2-body { padding: 0; flex: 1; overflow-y: auto; }
.step2-body .form-body { padding: 28px 28px 36px; }

/* Mobile: full-screen split layout */
@media (max-width: 599px) {
  #step2Content.active { padding: 0; align-items: flex-start; }

  /* Clean white full-screen */
  .step2-inner {
    max-width: 100%;
    max-height: 100vh; max-height: 100dvh;
    height: 100vh; height: 100dvh;
    border-radius: 0; box-shadow: none;
    background: #fff;
  }

  /* Header: white with subtle shadow */
  .step2-sheet-header {
    background: #fff;
    border-bottom: none;
    box-shadow: 0 1px 0 #F1F5F9;
  }

  /* Step label: more readable, no uppercase */
  #step2Content .step2-sheet-header #wizStepLabel {
    font-size: .82rem !important; text-transform: none;
    letter-spacing: 0; color: #475569 !important; font-weight: 600;
  }

  /* Progress bar: flush with header, no border-radius */
  #step2Content .wiz-progress-wrap { height: 6px; background: #F1F5F9; top: 54px; border-radius: 0; }
  #step2Content .wiz-progress-fill { height: 6px; border-radius: 0; }

  /* Body */
  .step2-body { flex: 1; overflow-y: auto; scroll-padding-bottom: 90px; }

  /* Vertical centering */
  .step2-body .form-body {
    padding: 28px 22px 20px;
    display: flex; flex-direction: column;
    min-height: 100%; justify-content: center;
  }

  /* Hide duplicate eyebrow */
  #step2Content .step-eyebrow { display: none; }

  /* Bigger typography */
  #step2Content .step-title { font-size: 2rem; letter-spacing: -.03em; margin-bottom: 10px; }
  #step2Content .step-sub { font-size: .95rem; color: #94A3B8; line-height: 1.55; margin-bottom: 26px; }

  /* Opt-cards */
  #step2Content .opt-grid { gap: 10px; }
  #step2Content .opt-card {
    padding: 14px 14px; font-size: .92rem; min-height: 52px;
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
  }

  /* YN: vertical, comfortable but not gigantic */
  #step2Content .yn-grid { grid-template-columns: 1fr; gap: 12px; }
  #step2Content .yn-btn { padding: 17px 22px; font-size: 1rem; border-radius: 14px; }

  /* Inputs */
  #step2Content .field-group input,
  #step2Content .field-group select { padding: 18px 16px; font-size: 1.05rem; border-radius: 14px; }
  #step2Content .field-group label { font-size: .84rem; margin-bottom: 9px; }
  #step2Content .field-group { margin-bottom: 18px; }

  /* Footer buttons */
  #step2Content .btn-form-next { padding: 18px 24px; font-size: 1rem; }
  #step2Content .btn-form-back { padding: 16px 20px; font-size: .9rem; }
}
@keyframes wizShellIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Sticky footer — keeps "Продължете" always visible inside modal body */
#step2Content .form-actions {
  position: sticky; bottom: 0;
  background: linear-gradient(to top, #fff 72%, rgba(255,255,255,0));
  padding: 16px 0 8px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  margin-top: 16px;
  z-index: 1;
}

/* Step transitions (fade + slide) */
.wiz-step.wiz-entering { animation: wizStepIn .28s cubic-bezier(.4,0,.2,1) both; }
@keyframes wizStepIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Prevent background scroll when active (set via JS body class) */
body.wiz-open { overflow: hidden; }

/* === Wizard open: X в nav, wizard под nav (мобилно) === */
#wizCloseNav{display:none;width:40px;height:40px;border-radius:10px;align-items:center;justify-content:center;background:none;border:0;cursor:pointer;color:var(--dark);flex-shrink:0}
#wizCloseNav svg{width:20px;height:20px}
@media(max-width:599px){
  body.wiz-open #menuBtn{display:none!important}
  body.wiz-open #wizCloseNav{display:flex!important}
  body.wiz-open .nav-phone-icon{display:none!important}
  body.wiz-open nav.nav{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;border-bottom:1px solid #F1F5F9}
  body.wiz-open #step2Content.active{top:var(--nav-h,64px);height:calc(100vh - var(--nav-h,64px));height:calc(100svh - var(--nav-h,64px));padding:0 0 max(72px,env(safe-area-inset-bottom)) 0;align-items:flex-start;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
  body.wiz-open .step2-inner{max-height:100%;border-radius:0;box-shadow:none}
  body.wiz-open .step2-sheet-header{justify-content:center;padding:13px 22px;background:#fff;border-bottom:1px solid #F1F5F9;box-shadow:none}
  body.wiz-open .step2-modal-close{display:none!important}
  body.wiz-open .step2-modal-summary{font-size:.86rem;padding:7px 20px;letter-spacing:-.01em}
  body.wiz-open #step2Content .wiz-progress-wrap{position:relative;top:auto}
}
@media(min-width:600px){
  body.wiz-open #step2Content.active{padding-top:calc(var(--nav-h,64px) + 20px)}
}/* Step 1 lenders info line */
/* Hero tip */

/* Hero press bubble */
/* Success step */
.success-content h3 {
  font-size: 1.3rem; font-weight: 900; color: var(--dark);
  margin-bottom: 8px;
}.success-content p {
  font-size: .88rem; color: var(--text-mid); line-height: 1.6;
  max-width: 360px; margin: 0 auto;
}

/* ====== UPSELL MODAL ====== */
#upsellModal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:10000;align-items:center;justify-content:center;padding:16px}#upsellModal.open{display:flex;animation:upsellFadeIn .25s ease}@keyframes upsellFadeIn{from{opacity:0}to{opacity:1}}.upsell-card{background:var(--card);border-radius:20px;border-top:3px solid var(--accent);max-width:460px;width:100%;padding:28px 28px 24px;position:relative;box-shadow:var(--shadow-xl);animation:upsellSlideUp .3s .05s ease both}@keyframes upsellSlideUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.upsell-close{position:absolute;top:12px;right:14px;background:none;border:none;width:32px;height:32px;border-radius:50%;cursor:pointer;color:var(--text-light);font-size:1.3rem;display:flex;align-items:center;justify-content:center;transition:all .15s}.upsell-close:hover{background:var(--bg);color:var(--dark)}.upsell-icon{text-align:center;margin-bottom:14px}.upsell-title{font-size:1.15rem;font-weight:900;color:var(--dark);margin-bottom:8px;text-align:center;line-height:1.3}.upsell-desc{font-size:.88rem;color:var(--text-mid);margin-bottom:16px;text-align:center;line-height:1.6}.upsell-list{list-style:none;padding:0;margin:0 0 20px;display:flex;flex-direction:column;gap:9px}.upsell-list li{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;color:var(--text);font-weight:600}.upsell-list li::before{content:"\2713";background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:900;flex-shrink:0;margin-top:1px}.upsell-no{display:block;text-align:center;margin-top:12px;font-size:.82rem;color:var(--text-light);cursor:pointer;text-decoration:underline;transition:color .15s}.upsell-no:hover{color:var(--text-mid)}

/* ====== WIZARD STEPS ====== */
.opt-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
.opt-grid-3{grid-template-columns:1fr 1fr 1fr}
.opt-card{background:#fff;border:1.5px solid #E5E7EB;border-radius:14px;padding:14px 14px;font-size:.88rem;font-weight:600;color:#334155;cursor:pointer;text-align:center;transition:border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;line-height:1.4;width:100%}
.opt-card:hover{border-color:var(--accent,#FF5349);color:var(--accent,#FF5349);transform:translateY(-1px);box-shadow:0 4px 14px rgba(15,23,42,.06)}
.opt-card:active{transform:translateY(0);box-shadow:none}
.opt-card-full{grid-column:1/-1}
.yn-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}
.yn-btn{background:#fff;border:1.5px solid #E5E7EB;border-radius:14px;padding:16px 14px;font-size:.95rem;font-weight:700;color:#475569;cursor:pointer;text-align:center;transition:border-color .18s ease,color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;width:100%}
.yn-btn:hover{border-color:var(--accent,#FF5349);color:var(--accent,#FF5349);transform:translateY(-1px);box-shadow:0 4px 14px rgba(15,23,42,.06)}
.yn-btn:active{transform:translateY(0);box-shadow:none}
#step2Content .form-actions{display:flex;gap:10px;margin-top:24px;align-items:center}
#step2Content .btn-form-back{flex:0 0 auto;background:#fff;border:1.5px solid #E5E7EB;border-radius:999px;padding:13px 22px;font-size:.88rem;font-weight:600;color:#475569;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}
#step2Content .btn-form-back:hover{background:#F9FAFB;border-color:#CBD5E1;color:#0F172A}
#step2Content .btn-form-next{flex:1;background:linear-gradient(135deg,#FF6B57 0%,#FF8A7A 100%);color:#fff;border:none;border-radius:999px;padding:15px 22px;font-size:.95rem;font-weight:700;letter-spacing:.01em;cursor:pointer;transition:filter .15s ease,transform .1s ease,box-shadow .15s ease;box-shadow:0 6px 18px rgba(255,83,73,.28)}
#step2Content .btn-form-next:hover{filter:brightness(1.05);box-shadow:0 8px 24px rgba(255,83,73,.36)}
#step2Content .btn-form-next:active{transform:translateY(1px);box-shadow:0 4px 12px rgba(255,83,73,.3)}
#step2Content .field-hint{font-size:.75rem;color:#94A3B8;margin-top:6px;line-height:1.45}
#step2Content .consent-group{display:flex;align-items:flex-start;gap:10px;margin:18px 0 0}
#step2Content .consent-label{font-size:.78rem;color:#475569;line-height:1.55;cursor:pointer;font-weight:500}
#step2Content .consent-label a{color:var(--accent,#FF5349);text-decoration:none}
#step2Content .form-trust-line{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:.72rem;color:#94A3B8;margin-top:14px;font-weight:500}
#step2Content .form-trust-dot{width:3px;height:3px;border-radius:50%;background:#CBD5E1;flex-shrink:0}
.cond-field{display:none}
.wiz-step{display:none}
.opt-card.selected{border-color:var(--accent,#FF5349)!important;background:rgba(255,83,73,.06)!important;color:var(--accent,#FF5349)!important;font-weight:700;box-shadow:0 0 0 3px rgba(255,83,73,.12)!important}
.opt-card:hover:not(.selected){border-color:#CBD5E1;background:#F8FAFC;transform:translateY(-1px);box-shadow:0 2px 8px rgba(15,23,42,.06)}
.yn-btn.selected{border-color:var(--accent,#FF5349)!important;background:var(--accent,#FF5349)!important;color:#fff!important;font-weight:700;box-shadow:0 6px 20px rgba(255,83,73,.28)!important}

/* Step heading tune-up inside modal */
#step2Content .step-eyebrow{font-size:.7rem;color:#94A3B8;text-transform:uppercase;letter-spacing:.1em;font-weight:700;margin-bottom:8px}
#step2Content .step-title{font-size:1.45rem;font-weight:800;color:#0F172A;letter-spacing:-.015em;line-height:1.2;margin:0 0 10px}
#step2Content .step-sub{font-size:.92rem;color:#64748B;line-height:1.55;margin-bottom:22px}
#step2Content .step2-trust{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
#step2Content .step2-badge{font-size:.72rem;font-weight:600;color:#475569;background:#F8FAFC;border:1px solid #E5E7EB;border-radius:8px;padding:5px 10px}

/* Input polish inside modal (Klarna-clean, off-white bg) */
#step2Content .field-group{margin-bottom:14px;position:relative}
.city-suggestions{display:none;position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1.5px solid #E2E8F0;border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,.1);max-height:200px;overflow-y:auto;z-index:200}
.city-sug-item{padding:12px 16px;font-size:.95rem;font-weight:500;color:#0F172A;cursor:pointer;border-bottom:1px solid #F1F5F9}
.city-sug-item:last-child{border-bottom:none}
.city-sug-item:hover,.city-sug-item:active{background:#F8FAFC}
#step2Content .field-group label{display:block;font-size:.76rem;font-weight:600;color:#475569;margin-bottom:7px;letter-spacing:.01em}
#step2Content .field-group input,
#step2Content .field-group select{
  width:100%;padding:14px 16px;background:#F9FAFB;border:1.5px solid #E5E7EB;border-radius:12px;
  font-size:1rem;font-weight:500;color:#0F172A;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
  font-family:inherit;box-sizing:border-box;
}
#step2Content .field-group input:focus,
#step2Content .field-group select:focus{
  border-color:var(--accent,#FF5349);background:#fff;
  box-shadow:0 0 0 4px rgba(255,83,73,.12);outline:none;
}
#step2Content .field-group input.error{
  border-color:#EF4444;box-shadow:0 0 0 4px rgba(239,68,68,.1);
}
#step2Content .field-error{font-size:.75rem;color:#EF4444;font-weight:600;margin-top:6px;display:none}
#step2Content .field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
/* ====== MODERNIZATION LAYER (2026) ====== */
.pm-reassure{display:flex;gap:10px;align-items:flex-start;margin:10px 0 4px;padding:10px 12px;background:#F8FAFC;border:1px solid #E2E8F0;border-left:3px solid var(--accent);border-radius:8px;font-size:.72rem;line-height:1.55;color:#475569}
.pm-reassure svg{flex-shrink:0;width:16px;height:16px;stroke:var(--accent);margin-top:1px}
.pm-reassure strong{color:#0F172A;font-weight:700}
.pm-trust-svg{display:inline-flex;align-items:center;gap:5px}
.pm-trust-svg svg{width:13px;height:13px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.pm-celebrate{position:fixed;inset:0;z-index:9500;display:none;align-items:center;justify-content:center;background:rgba(17,24,39,.72);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:wizBackdropIn .2s ease both}
.pm-celebrate.show{display:flex}
.pm-celebrate-card{background:#fff;border-radius:24px;padding:32px 28px;max-width:320px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.25);animation:pmCelebIn .45s cubic-bezier(.34,1.56,.64,1) both}
@keyframes pmCelebIn{from{opacity:0;transform:translateY(20px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}
.pm-celeb-icon{width:72px;height:72px;margin:0 auto 14px;border-radius:50%;background:linear-gradient(135deg,#22c55e,#10b981);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(34,197,94,.35);animation:pmIconPop .5s .1s cubic-bezier(.34,1.56,.64,1) both}
@keyframes pmIconPop{from{transform:scale(0)}to{transform:scale(1)}}
.pm-celeb-icon svg{width:38px;height:38px;stroke:#fff;stroke-width:3.5;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:30;stroke-dashoffset:30;animation:pmCheckDraw .4s .35s ease forwards}
@keyframes pmCheckDraw{to{stroke-dashoffset:0}}
.pm-celeb-title{font-size:1.15rem;font-weight:800;color:#0F172A;margin-bottom:6px}
.pm-celeb-sub{font-size:.85rem;color:#64748B;line-height:1.5;margin-bottom:4px}
.pm-celeb-progress{margin-top:14px;font-size:.72rem;color:var(--accent);font-weight:700;letter-spacing:.02em}
.pm-resume-banner{position:fixed;top:12px;left:12px;right:12px;z-index:10000;background:#fff;border:1px solid #E2E8F0;border-left:3px solid var(--accent);border-radius:12px;padding:12px 14px;box-shadow:0 8px 24px rgba(0,0,0,.12);display:none;animation:pmSlideDown .35s ease both;font-size:.82rem}
.pm-resume-banner.show{display:block}
@keyframes pmSlideDown{from{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}
.pm-resume-title{font-weight:800;color:#0F172A;margin-bottom:4px;font-size:.88rem}
.pm-resume-sub{color:#64748B;font-size:.76rem;line-height:1.45;margin-bottom:10px}
.pm-resume-btns{display:flex;gap:8px}
.pm-resume-btns button{flex:1;padding:9px 12px;border-radius:8px;font-weight:700;font-size:.78rem;cursor:pointer;border:none}
.pm-resume-yes{background:var(--accent);color:#fff}
.pm-resume-no{background:#F1F5F9;color:#475569}
@media (min-width:600px){.pm-resume-banner{max-width:380px;left:auto;right:20px;top:20px}}
#step2Content .btn-form-next.pm-submitting{position:relative;color:transparent!important;pointer-events:none;overflow:hidden}
#step2Content .btn-form-next.pm-submitting::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.35) 50%,transparent 100%);animation:pmShimmer 1.1s linear infinite}
#step2Content .btn-form-next.pm-submitting::after{content:"Свързваме ви с кредиторите…";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.9rem;letter-spacing:.01em}
@keyframes pmShimmer{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.step-title [data-pm-name]{color:var(--accent)}

/* cp-cookie-modal */
#cp-cookie-modal{display:none;position:fixed;inset:0;z-index:100000;align-items:center;justify-content:center;padding:16px}
#cp-cookie-modal.cp-modal-visible{display:flex}
.cp-modal-overlay{position:absolute;inset:0;background:rgba(10,10,30,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:cpFadeIn .3s ease}
@keyframes cpFadeIn{from{opacity:0}to{opacity:1}}
.cp-modal-box{position:relative;background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.28);width:100%;max-width:520px;max-height:92vh;display:flex;flex-direction:column;animation:cpModalIn .35s cubic-bezier(.16,1,.3,1);z-index:1}
@keyframes cpModalIn{from{opacity:0;transform:translateY(24px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
.cp-modal-header{display:flex;align-items:center;gap:12px;padding:24px 28px 18px}
.cp-modal-cookie-icon{font-size:32px;line-height:1}
.cp-modal-header h3{margin:0;font-size:19px;font-weight:700;color:#1a1a2e}
.cp-modal-desc{margin:0;padding:0 28px 6px;font-size:13.5px;color:#666;line-height:1.6}
.cp-modal-desc a{color:#FF5349;text-decoration:underline}
.cp-modal-body{padding:14px 28px 20px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;flex:1 1 auto;min-height:0}
.cp-cat-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #ebebeb;border-radius:12px;background:#f8f8fa;transition:border-color .15s,background .15s}
.cp-cat-card:hover{border-color:#ddd;background:#f3f3f6}
.cp-cat-info{display:flex;flex-direction:column;gap:2px;flex:1}
.cp-cat-name{font-size:14px;font-weight:700;color:#1a1a2e}
.cp-cat-desc{font-size:12px;color:#888;line-height:1.45}
.cp-always-on{font-size:11.5px;font-weight:600;color:#2e7d32;background:#e8f5e9;padding:5px 12px;border-radius:20px;white-space:nowrap}
.cp-toggle-switch{position:relative;display:inline-block;width:46px;height:26px;flex-shrink:0;cursor:pointer}
.cp-toggle-switch input{opacity:0;width:0;height:0;position:absolute}
.cp-slider{position:absolute;inset:0;background:#d0d0d0;border-radius:26px;transition:background .22s}
.cp-slider::before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .22s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 4px rgba(0,0,0,.18)}
.cp-toggle-switch input:checked + .cp-slider{background:#FF5349}
.cp-toggle-switch input:checked + .cp-slider::before{transform:translateX(20px)}
.cp-toggle-switch input:focus-visible + .cp-slider{outline:2px solid #FF5349;outline-offset:2px}
.cp-modal-footer{display:flex;gap:10px;padding:18px 28px 24px;border-top:1px solid #f0f0f0}
.cp-cookie-btn{flex:1;padding:13px 20px;border-radius:10px;border:2px solid transparent;font-size:14px;font-weight:600;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .12s;font-family:inherit;line-height:1;white-space:nowrap;text-align:center}
.cp-cookie-btn:active{transform:scale(.97)}
.cp-cookie-reject{background:transparent;border-color:transparent;color:#999;font-weight:500;flex:0 0 auto;padding:13px 12px}
.cp-cookie-reject:hover{color:#555;text-decoration:underline}
.cp-cookie-accept{background:#FF5349;border-color:#FF5349;color:#fff;box-shadow:0 2px 12px rgba(255,83,73,.25)}
.cp-cookie-accept:hover{background:#e5413a;border-color:#e5413a}
#cp-reopen-btn{position:fixed;bottom:18px;left:18px;z-index:9999;background:#fff;border:1.5px solid #e0e0e0;border-radius:50%;width:40px;height:40px;font-size:19px;cursor:pointer;box-shadow:0 2px 12px rgba(0,0,0,.10);display:flex;align-items:center;justify-content:center;transition:box-shadow .2s,border-color .2s,transform .18s;opacity:0.6}
#cp-reopen-btn:hover{box-shadow:0 4px 20px rgba(0,0,0,.18);border-color:#bbb;opacity:1;transform:scale(1.1)}
@media (max-width:560px){
  .cp-modal-box{border-radius:14px}
  .cp-modal-header{padding:20px 20px 14px}
  .cp-modal-desc{padding:0 20px 6px}
  .cp-modal-body{padding:12px 20px 16px}
  .cp-modal-footer{padding:14px 20px 20px;flex-direction:column}
  .cp-cookie-btn{width:100%}
  .cp-cat-card{padding:12px 14px;gap:12px}
}

/* Terms iframe modal */
#cpTermsFrame{display:none;position:fixed;inset:0;z-index:99998;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);align-items:center;justify-content:center;padding:16px}
#cpTermsFrame.active{display:flex}
.cp-terms-box{background:#fff;border-radius:16px;width:100%;max-width:900px;height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 64px rgba(0,0,0,.35)}
.cp-terms-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid #E2E8F0;flex-shrink:0}
.cp-terms-bar span{font-weight:700;font-size:.88rem;color:#0F172A}
.cp-terms-close{background:none;border:none;cursor:pointer;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#64748B;font-size:1.1rem;transition:background .15s}
.cp-terms-close:hover{background:#F1F5F9;color:#0F172A}
#cpTermsIframe{flex:1;border:none;width:100%}
@media(max-width:599px){.cp-terms-box{height:100vh;border-radius:0;max-width:100%}#cpTermsFrame{padding:0}}
