*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   BANNER — .inner-banner-section-l40sgpuserverv2page.calculatorpagecss
═══════════════════════════════════════════ */
.bodyclass{ background: linear-gradient(135deg, #ece9f7 0%, #f0eefa 40%, #e8e4f5 100%);
    min-height: 100vh; background-image: url(/assets/ai-images/calculator-image.png);    background-repeat: no-repeat;
    background-size: cover;}
.inner-banner-section-l40sgpuserverv2page.calculatorpagecss {
  position: relative;
  padding:0px;
  text-align: center;
  overflow: hidden;
  min-height: initial;  
}
.calculatorpagecss .inner-banner-bg-new{padding: 40px 0;}
.calculatorpagecss .banner-heading p{margin: 0;}

/* Hide the banner bg image — handled by CSS */
.baner-image-new { display: none; }

.inner-banner-section-l40sgpuserverv2page.calculatorpagecss .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.banner-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pill chip / eyebrow */
.chip.eyebrow {
  display: inline-block;
  font-size: 30px;
  font-weight: 600;
  color: #7c3aed;
  letter-spacing: 0.04em;
}

/* H1 headline */
.banner-heading .heading1 {
  font-size: clamp(40px, 4vw, 2.9rem)!important;
  font-weight: 800;
  color: #1e1040;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0!important;
}

/* Purple "AI Services" inline in h1 */
.banner-heading .heading1 .chip.eyebrow {
  display: inline;
  font-size: inherit;
  font-weight: 800;
  border: none;
  padding: 0;
  border-radius: 0;
  color: #7c3aed;
  letter-spacing: inherit;
}

.banner-heading p:last-child {
  font-size: 20px;
  color: #5a5474;
  max-width: 100%;
  line-height: 28px;
}

/* ═══════════════════════════════════════════
   MAIN — .main-site.animate.inner-main
═══════════════════════════════════════════ */
.main-site.animate.inner-main {
  padding: 0 20px 70px;
}

/* ═══════════════════════════════════════════
   CALC LAYOUT
═══════════════════════════════════════════ */
.calc-wrapper {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ── Main Card ── */
.main-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(100,80,200,0.10);
  padding: 36px 36px 28px;
  flex: 1;
  min-width: 0;
}

.main-card > h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4b3089;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 2px solid #e5e0f5;
  margin-bottom: 24px;
}
.tab-btn {
  background: none;
  border: none;
  padding: 10px 28px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  outline: none;
}
.tab-btn.active { color: #5b21b6; font-weight: 700; }
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2.5px;
  background: #5b21b6;
  border-radius: 2px 2px 0 0;
}

/* Steps */
.steps-row {
  margin-bottom: 22px;
}
.steps-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b3089;
  white-space: nowrap;
  margin-right: 16px;
  flex-shrink: 0;
}
.steps-track {
  display: flex;
  align-items: center;
  flex: 1;
}
.step-item {
  display: flex;
  padding-top: 14px;
  align-items: center;
  flex-direction: column;
}
.step-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid #d1c8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #aaa;
  z-index: 1;
}
.step-circle.done { background: #5b21b6; border-color: #5b21b6; color: #fff; }
.step-label { font-size: 0.62rem; color: #aaa; margin-top: 4px; white-space: nowrap; }
.step-label.active { color: #5b21b6; font-weight: 600; }
.step-line { flex: 1; height: 2px; background: #e0d8f5;margin-bottom: -18px;}
.step-line.done { background: #5b21b6; }

/* Search */
.search-section { margin-bottom: 22px; }
.search-section label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 8px;
}
.search-box {
  display: flex;
  align-items: center;
  border: 1.5px solid #b39bdb;
  border-radius: 8px;
  padding: 10px 16px;
  gap: 10px;
  background: #faf9ff;
  transition: border-color 0.2s;
}
.search-box:focus-within { border-color: #7c3aed; }
.search-box svg { color: #b39bdb; flex-shrink: 0; }
.search-box input {
  border: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: #333;
  width: 100%;
  outline: none;
}
.search-box input::placeholder { color: #b0a0d8; }

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}
.service-grid::-webkit-scrollbar { width: 6px; }
.service-grid::-webkit-scrollbar-track { background: #e6e6e6; border-radius: 3px; }
.service-grid::-webkit-scrollbar-thumb { background: #5b21b6; border-radius: 3px; }

.service-card {
  background: #f2efff;
  border-radius: 12px;
  padding: 18px 16px 16px;
  border: 1.5px solid #b39bdb;
  transition: all 0.22s;
  cursor: pointer;
}
.service-card:hover { border-color: #5b21b6; box-shadow: 0 4px 16px rgba(92,33,182,0.10); }
.service-card.configured { border-color: #370f77; background: #5b21b6; }
.service-card.configured .service-title,
.service-card.configured .service-desc{color: #fff;}
.service-card.highlighted-edit { border-color: #5b21b6; box-shadow: 0 0 0 2px rgba(91,33,182,.3); background: #ede9ff; animation: highlightPulse .6s ease; }
@keyframes highlightPulse { 0% { box-shadow: 0 0 0 4px rgba(163, 106, 255, 0.4); } 100% { box-shadow: 0 0 0 2px rgba(91,33,182,.3); } }

.service-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #d9cbef;
    padding-bottom: 10px;
}
.service-icon {
  width: 36px; height: 36px;
  background: #613b9c;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { color: #fff;stroke-width: 2; }
.service-title { font-size: 0.88rem; font-weight: 700; color: #613b9c; }
.service-desc { font-size: 0.73rem; color: #1c1a1a; line-height: 1.5; margin-bottom: 14px; }

.configure-btn {
  background: #fff;
  border: 1.5px solid #b39bdb;
  color: #613b9c;
  padding: 6px 18px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.service-card:hover .configure-btn { background: #613b9c; color: #fff; border-color: #613b9c;}
.service-card.configured .configure-btn { background: #613b9c; border-color: #613b9c; color: #fff; }

/* Discount Note */
.discount-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 11px 16px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  color: #555;
}
.discount-badge {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.1;
}
.discount-note span.highlight { color: #e55; font-weight: 600; }

/* Buttons */
.bottom-actions { display: flex; align-items: center; gap: 14px; }
.btn-cancel {
  background: #f0eefa;
  border: none;
  color: #7c3aed;
  padding: 11px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
}
.btn-cancel:hover { background: #ddd6fe; }
.btn-save {
  
    background: rgb(117, 84, 247);
    background: linear-gradient(90deg, rgba(117, 84, 247, 1) 0%, rgba(117, 84, 247, 1) 0%, rgba(117, 84, 247, 1) 62%, rgba(147, 94, 223, 1) 95%);
    
  border: none;
  color: #fff;
  padding: 11px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(91,33,182,0.25);
  transition: opacity 0.18s;
}
.btn-save:hover { opacity: 0.92; }
.btn-save:hover svg { transform: translateX(3px); }
.btn-save svg { transition: transform 0.18s; }

/* Sidebar */
.sidebar { width: 260px; flex-shrink: 0; }
.sidebar-card {
  background:#613b9c;
  border-radius: 16px;
  padding: 22px 18px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(55,20,150,0.25);
  position: sticky;
  top: 30px;      /* distance from top */
  z-index: 10;
}
.total-section {
  background:  linear-gradient(36deg, #c2a1f5 0%, #fff 100%);
  border-radius: 10px;
  padding: 16px 15px;
  text-align: left;
  margin-bottom: 20px;
}
.total-label { font-size: 0.82rem; font-weight: 600; color: #5b21b6; margin-bottom: 4px; }
.total-amount { font-size: 2rem; font-weight: 700; color: #2d1a6e; line-height: 1.1; }
.total-amount .dollar { color: #5b21b6; }
.per-month { font-size: 0.72rem; color: #888; margin-top: 2px; }

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.toggle-label { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.85); }
.toggle-wrap { display: flex; align-items: center; gap: 6px; }
.toggle-text { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.75); }

.toggle-switch { position: relative; width: 46px; height: 24px; cursor: pointer;background: #6943ff; }
.toggle-switch input { display: none; }
.toggle-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  transition: background 0.2s;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: rgba(255,255,255,0.35); position: initial!important;width: auto;height: auto;    transform: none;}
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .calc-wrapper { flex-direction: column; }
  .sidebar { width: 100%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .main-card { padding: 20px 14px; }
  .banner-heading .heading1 { font-size: 1.65rem; }
}
/* tablet */
@media (max-width:992px){

    .voicesalespage .pricecalc-grid{
    grid-template-columns:repeat(2,1fr);
    gap:22px;
    }
    
    }
    
    /* mobile */
    @media (max-width:576px){
    
    .voicesalespage .pricecalc-title{
    font-size:30px;
    }
    
    .voicesalespage .pricecalc-subtitle{
    font-size:14px;
    }
    
    .voicesalespage .pricecalc-grid{
    grid-template-columns:1fr;
    }
    
    .voicesalespage .pricecalc-card{
    padding:28px;
    }
    
    }
/* section */
.voicesalespage .pricecalc-section{
    text-align:center;
  }
  
  /* heading */
  .voicesalespage .pricecalc-title{
    font-size:42px;
    font-weight:700;
    color:#111;
    margin-bottom:18px;
  }
  
  .voicesalespage .pricecalc-title span{
    color:#6c63ff;
  }
  
  /* subtitle */
  .voicesalespage .pricecalc-subtitle{
    max-width:760px;
    margin:0 auto 60px;
    font-size:16px;
    line-height:1.7;
    color:#666;
  }
  
  /* grid */
  .voicesalespage .pricecalc-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
  }
  
  /* card */
  .voicesalespage .pricecalc-card{
    position:relative;
    padding:36px 28px;
    border-radius:18px;
    text-align:left;
  
    background:linear-gradient(199deg, #ffffff 30%, #e9e4ff 80%);
    border:1px solid transparent;
  
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
  
    transition:all .35s ease;
  }
  
  /* gradient border */
  .voicesalespage .pricecalc-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:18px;
    padding:1px;
  
    background:linear-gradient(135deg,#6c63ff,#9b8cff);
  
    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  
    -webkit-mask-composite:xor;
    mask-composite:exclude;
  
    opacity:0;
    transition:opacity .35s ease;
  }
  
  /* hover */
  .voicesalespage .pricecalc-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(108,99,255,0.15);
  }
  
  .voicesalespage .pricecalc-card:hover::before{
    opacity:1;
  }
  
  
  
  /* svg */
  .voicesalespage .pricecalc-icon svg{
    width: 40px;
    height: 40px;
    stroke: #8361f3;
    stroke-width: 1.5;
  }
  
  /* card title */
  .voicesalespage .pricecalc-card h3{
    font-size: 18px;
    font-weight: 600;
    color: #7554f7;
    margin-bottom: 10px;
    padding-top: 20px;
  }
  
  /* card text */
  .voicesalespage .pricecalc-card p{
    font-size:16px;
    color:#333;
    line-height:20px;
  }

  /* ═══ STEP 2 — CONFIGURE FORM ═════════════════════ */
#step2{display:none;}
.cfg-hdr{display:flex;align-items:center;gap:10px;margin-bottom:20px;padding-bottom:13px;border-bottom:1px solid #ede8fc;}
.cfg-hdr .svc-ico{width:34px;height:34px;border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;}
.cfg-hdr-title{font-size:.97rem;font-weight:700;color:#1e1060;}

.form-group{margin-bottom:14px;position:relative;}
.form-lbl{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:#5f4489;margin-bottom:6px;}
.help-ic{width:30px;height:30px;border-radius:50%;background:#e8e2fc;color:#7c3aed;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;cursor:help;flex-shrink:0;position:relative;}

/* standard input */
.f-input{width:100%;padding:9px 13px;border:1.5px solid #ddd8f5;border-radius:8px;font-family:'Poppins',sans-serif;font-size:.83rem;color:#333;background:#faf9ff;outline:none;transition:border-color .2s;}
.f-input:focus{border-color:#7c3aed;}
.f-input::placeholder{color:#b8a8e0;}

/* Number spinner */
.num-wrap{position:relative;}
.calculatortooltipe{display: flex;gap: 14px;align-items: center;}
.num-wrap .f-input{padding-right:34px;}
.spin-btns{position:absolute;right:0;top:0;bottom:0;width:26px;display:flex;flex-direction:column;border-left:1.5px solid #ddd8f5;}
.spin-btns button{flex:1;background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#888;font-size:.6rem;transition:background .15s;}
.spin-btns button:first-child{border-bottom:1px solid #ddd8f5;border-radius:0 8px 0 0;}
.spin-btns button:last-child{border-radius:0 0 8px 0;}
.spin-btns button:hover{background:#f0eafa;color:#5b21b6;}

/* ── Custom Dropdown (Image 1 style) ── */
.cust-sel-wrap{position:relative;}
.cust-sel-trigger{width:100%;padding:9px 36px 9px 13px;border:1.5px solid #ddd8f5;border-radius:8px;font-family:'Poppins',sans-serif;font-size:.83rem;color:#333;background:#faf9ff;cursor:pointer;display:flex;align-items:center;gap:8px;transition:border-color .2s;user-select:none;}
.cust-sel-trigger.open{border-color:#7c3aed;border-radius:8px 8px 0 0;}
.cust-sel-trigger .arrow{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#888;pointer-events:none;transition:transform .2s;font-size:.75rem;}
.cust-sel-trigger.open .arrow{transform:translateY(-50%) rotate(180deg);}
.cust-sel-trigger .t-ico{width:25px;height:25px;background:#b39bdb;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cust-sel-trigger .t-ico svg{color:#fff;width: 18px;height: 18px;}
.cust-sel-trigger .sel-val{color:#b39bdb;}

.cust-sel-panel{position:absolute;top:100%;left:0;right:0;background:#fff;border:1.5px solid #7c3aed;border-top:none;border-radius:0 0 10px 10px;z-index:200;box-shadow:0 8px 24px rgba(90,30,180,.13);max-height:240px;overflow-y:auto;max-width: 991px;}
.cust-sel-panel::-webkit-scrollbar{width:5px;}
.cust-sel-panel::-webkit-scrollbar-thumb{background:#c8b8f5;border-radius:3px;}
.cust-sel-opt{display:flex;align-items:center;gap:10px;padding:9px 14px;cursor:pointer;font-size:.82rem;color:#333;transition:background .15s;border-bottom:1px solid #f3f0fc;}
.cust-sel-opt:last-child{border-bottom:none;}
.cust-sel-opt:hover{background:#f3f0fc;}
.cust-sel-opt.selected{background:#5b21b6;color:#fff;}
.cust-sel-opt .opt-ico{width:26px;height:26px;background:linear-gradient(135deg,#7c3aed,#4f46e5);border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cust-sel-opt.selected .opt-ico{background:rgba(255,255,255,.25);}
.cust-sel-opt .opt-ico svg{color:#fff;width: 15px;height: 15px;}
.cust-sel-opt .check-ic{margin-left:auto;display:none;}
.cust-sel-opt.selected .check-ic{display:block;}

/* ── Multi-select Location Dropdown (checkbox style) ── */
.multi-sel-panel .cust-sel-opt{border-bottom:1px solid #f3f0fc;}
.multi-sel-panel .cust-sel-opt.selected{background:#f3f0fc;color:#333;}
.cb-wrap{width:16px;height:16px;border:2px solid #7c3aed;border-radius:3px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:4px;}
.cust-sel-opt.selected .cb-wrap{background:#5b21b6;border-color:#5b21b6;}
.cb-check{color:#fff;font-size:.6rem;display:none;}
.cust-sel-opt.selected .cb-check{display:block;}
.multi-sel-header{padding:7px 14px;font-size:.72rem;color:#999;border-bottom:1px solid #f0eafa;}

/* Discount bar */
.disc-bar{display:flex;align-items:center;gap:11px;background:#fffceb;border:1px solid #fde98a;border-radius:8px;padding:9px 13px;margin-bottom:16px;font-size:.75rem;color:#555;}
.disc-badge{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ef4444);color:#fff;font-size:.58rem;font-weight:700;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.15;flex-shrink:0;}
.disc-bar .red{color:#e44;font-weight:600;}

/* Buttons */
.btn-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.btn-ghost{background:#ede8fc;border:none;color:#7c3aed;padding:9px 22px;border-radius:8px;font-family:'Poppins',sans-serif;font-size:.83rem;font-weight:500;cursor:pointer;transition:background .18s;}
.btn-ghost:hover{background:#ddd5fc;}
.btn-primary{background:linear-gradient(90deg,#5b21b6,#4f46e5);border:none;color:#fff;padding:9px 22px;border-radius:8px;font-family:'Poppins',sans-serif;font-size:.83rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:7px;box-shadow:0 4px 14px rgba(80,30,180,.22);transition:opacity .18s;}
.btn-primary:hover{opacity:.9;}
.btn-primary svg,.btn-secondary svg{transition:transform .18s;}
.btn-primary:hover svg,.btn-secondary:hover svg{transform:translateX(3px);}
.btn-secondary{background:linear-gradient(90deg,#7c3aed,#5b21b6);border:none;color:#fff;padding:9px 20px;border-radius:8px;font-family:'Poppins',sans-serif;font-size:.83rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:7px;box-shadow:0 4px 14px rgba(80,30,180,.22);transition:opacity .18s;}
.btn-secondary:hover{opacity:.9;}

/* ═══ STEP 3 — SUMMARY ════════════════════════════ */
#step3{display:none;}

.sum-top-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.sum-top-bar h2{font-size:1.05rem;font-weight:700;color:#1e1060;}
.top-actions{display:flex;gap:8px;}
.top-btn{background:#fff;border:1.5px solid #ddd;color:#444;padding:6px 14px;border-radius:7px;font-family:'Poppins',sans-serif;font-size:.78rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:5px;transition:border-color .2s;}
.top-btn:hover{border-color:#7c3aed;color:#7c3aed;}

/* Success alert */
.success-alert{display:flex;align-items:center;justify-content:space-between;background:#f0fdf4;border:1.5px solid #86efac;border-radius:8px;padding:10px 14px;margin-bottom:16px;font-size:.78rem;color:#166534;}
.success-alert .s-left{display:flex;align-items:center;gap:8px;}
.success-alert .s-close{background:none;border:none;cursor:pointer;color:#aaa;font-size:1rem;line-height:1;padding:0;}
.success-alert .s-close:hover{color:#666;}
.green-dot{width:18px;height:18px;background:#22c55e;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.green-dot svg{color:#fff;}

/* Summary grid */
.sum-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px;}
.sum-est-card{background:#f8f6ff;border:1.5px solid #e8e2fc;border-radius:10px;padding:16px;}
.sum-est-card h3{font-size:.79rem;font-weight:600;color:#444;margin-bottom:10px;}
.est-row{display:flex;gap:32px;}
.est-item{}
.est-item .lbl{font-size:.69rem;color:#999;margin-bottom:2px;}
.est-item .val{font-size:.88rem;font-weight:600;color:#1e1060;}
.est-item .val.pur{color:#5b21b6;}
.est-item .val.big{font-size:1.3rem;font-weight:700;}
.est-total{margin-left:auto;text-align:right;}

.get-started-card{background:#f8f6ff;border:1.5px solid #e8e2fc;border-radius:10px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;}
.get-started-card h3{font-size:.79rem;font-weight:600;color:#444;margin-bottom:12px;}
.gs-btns{display:flex;gap:8px;}
.gs-btn-white{background:#fff;border:1.5px solid #ddd;color:#444;padding:8px 16px;border-radius:7px;font-family:'Poppins',sans-serif;font-size:.78rem;font-weight:500;cursor:pointer;transition:all .18s;}
.gs-btn-white:hover{border-color:#7c3aed;color:#7c3aed;}
.gs-btn-purple{background:linear-gradient(90deg,#5b21b6,#4f46e5);border:none;color:#fff;padding:8px 16px;border-radius:7px;font-family:'Poppins',sans-serif;font-size:.78rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;box-shadow:0 3px 10px rgba(80,30,180,.2);transition:opacity .18s;}
.gs-btn-purple:hover{opacity:.9;}
.bot-icon{width:22px;height:22px;background:rgba(255,255,255,.25);border-radius:50%;display:flex;align-items:center;justify-content:center;}

/* My Estimation */
.my-est-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #f0eafa;}
.my-est-left{display:flex;align-items:center;gap:8px;}
.my-est-title{font-size:.85rem;font-weight:700;color:#1e1060;}
.page-nav{display:flex;align-items:center;gap:4px;background:#f3f0fc;border-radius:6px;padding:3px 8px;font-size:.75rem;font-weight:600;color:#5b21b6;}
.page-nav button{background:none;border:none;cursor:pointer;color:#5b21b6;font-weight:700;padding:0 3px;}
.gear-btn{background:none;border:none;cursor:pointer;color:#999;font-size:.85rem;transition:color .2s;}
.gear-btn:hover{color:#5b21b6;}
.action-btns{display:flex;gap:6px;flex-wrap:wrap;}
.act-btn{background:#fff;border:1.5px solid #e0daf5;color:#555;padding:5px 12px;border-radius:6px;font-family:'Poppins',sans-serif;font-size:.73rem;font-weight:500;cursor:pointer;transition:all .18s;}
.act-btn:hover{border-color:#7c3aed;color:#7c3aed;}
.act-btn.pur-fill{background:linear-gradient(90deg,#5b21b6,#4f46e5);border:none;color:#fff;box-shadow:0 3px 10px rgba(80,30,180,.18);}
.act-btn.pur-fill:hover{opacity:.9;}

/* Table */
.sum-search{display:flex;align-items:center;gap:8px;border:1.5px solid #e0daf5;border-radius:7px;padding:7px 12px;background:#faf8ff;margin-bottom:10px;}
.sum-search svg{color:#c0b0e0;flex-shrink:0;}
.sum-search input{border:none;background:transparent;font-family:'Poppins',sans-serif;font-size:.82rem;color:#333;width:100%;outline:none;}
.sum-search input::placeholder{color:#c0b0e0;}

.sum-table{width:100%;border-collapse:collapse;font-size:.78rem;}
.sum-table th{background:#f8f6ff;color:#555;font-weight:600;padding:9px 10px;text-align:left;border-bottom:2px solid #e8e2f8;white-space:nowrap;}
.sum-table th:first-child{width:30px;}
.sum-table td{padding:9px 10px;border-bottom:1px solid #f0eafa;color:#333;vertical-align:top;}
.sum-table tr:hover td{background:#faf8ff;}
.sum-table .sort-ic{color:#bbb;margin-left:4px;font-size:.65rem;}
.sum-table .svc-link{color:#5b21b6;text-decoration:none;font-size:.75rem;}
.sum-table .svc-link:hover{text-decoration:underline;}
.edit-ico{background:none;border:none;cursor:pointer;color:#bbb;margin-left:4px;font-size:.75rem;transition:color .18s;padding:0;}
.edit-ico:hover{color:#5b21b6;}
.svc-name-text{cursor:pointer;}
.svc-name-text:hover{text-decoration:underline;color:#5b21b6;}
.sum-table input[type=checkbox]{accent-color:#5b21b6;width:14px;height:14px;}

/* Popup tooltip */
/* Config Summary Popup */
#configPopup{
  display:none;
  position:fixed;
  z-index:9999;
  width:340px;
  background:#fff;
  border:1.5px solid #ddd5f8;
  border-radius:10px;
  box-shadow:0 12px 40px rgba(70,30,180,.2);
  overflow:hidden;
  animation:popIn .18s ease;
}
#configPopup.visible{display:block}

/* Description Popup */
#descPopup{
  display:none;
  position:fixed;
  z-index:9999;
  width:320px;
  background:#fff;
  border:1.5px solid #ddd5f8;
  border-radius:10px;
  box-shadow:0 12px 40px rgba(70,30,180,.2);
  overflow:hidden;
  animation:popIn .18s ease;
}
#descPopup.visible{display:block}

/* Delete confirmation popup */
.delete-popup-overlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.4);display:none;align-items:center;justify-content:center;animation:fadeIn .2s ease}
.delete-popup-overlay.visible{display:flex}
.delete-popup-box{background:#fff;border-radius:12px;box-shadow:0 16px 48px rgba(0,0,0,.2);min-width:320px;max-width:90%;padding:0;overflow:hidden}
.delete-popup-title{font-size:1rem;font-weight:700;color:#1e1060;padding:18px 20px 0;font-family:'Poppins',sans-serif}
.delete-popup-body{padding:14px 20px 20px;font-size:.9rem;color:#555;line-height:1.5}
.delete-popup-actions{display:flex;gap:10px;justify-content:flex-end;padding:0 20px 20px}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* Shared popup parts */
.pop-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px 9px;
  border-bottom:1.5px solid #ede8fc;
}
.pop-title{font-size:.79rem;font-weight:700;color:#1e1060;font-family:'Poppins',sans-serif}
.pop-close{
  width:22px;height:22px;border-radius:50%;
  background:#fff;border:1.5px solid #ddd5f8;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;color:#aaa;font-size:.68rem;line-height:1;
  font-family:'Poppins',sans-serif;
  transition:all .15s;flex-shrink:0;
}
.pop-close:hover{background:#5b21b6;color:#fff;border-color:#5b21b6}
.pop-body{padding:12px 14px;font-size:.72rem;color:#444;line-height:1.8;font-family:'Poppins',sans-serif}
.cfg-hdr {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid #ede8fc;
}
.cfg-hdr .svc-ico {
    width: 34px;
    height: 34px;
    background: #b39bdb;
}
.cfg-hdr-title {
    font-size: .97rem;
    font-weight: 700;
    color: #1e1060;
}
.svc-ico svg {
    color: #fff;
}
.sel-svc-card{margin-bottom:12px;}
.sel-svc-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;background: #ffffff;padding: 10px;border-radius: 7px;}
.sel-svc-name{display:flex;align-items:center;gap:7px;font-size:.76rem;font-weight:700;color:#fff;}
.mini-ico{width:28px;height:28px;border-radius:5px;background:#ecebfe;display:flex;align-items:center;justify-content:center;}
.mini-ico svg{color:#d0c4f9;}
.close-svc{background:none;border:none;color:rgba(255,255,255,.8);cursor:pointer;font-size:.9rem;line-height:1;padding:0 2px;transition:color .15s;}
.close-svc:hover{color:#fff;}
.sel-svc-details{font-size:.65rem;color:rgba(255,255,255,.8);line-height:1.85;}
.sel-svc-details .lbl{color:#fff;font-size:12px;font-weight: 605;}
.sel-svc-name #selSvcName{color: #634396;}
.save-sum-btn{width:100%;background:#fff;color:#5b21b6;border:none;padding:8px;border-radius:7px;font-family:'Poppins',sans-serif;font-size:.73rem;font-weight:700;cursor:pointer;transition:background .18s;}
.save-sum-btn:hover{background:#ede8fc;}
.summary-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap;gap:10px}
.summary-title{font-size:1.15rem;font-weight:700;color:#1e1060}
.summary-actions{display:flex;gap:10px}
.action-btn{display:flex;align-items:center;gap:6px;padding:7px 16px;border-radius:7px;border:1.5px solid #d4cbf2;background:#fff;font-family:'Poppins',sans-serif;font-size:.8rem;font-weight:600;color:#444;cursor:pointer;transition:all .18s}
.action-btn:hover{border-color:#7c3aed;color:#5b21b6}
.action-btn .caret-sm{display:inline-block;margin-left:2px;font-size:.65rem}
.sel-svc-card .close-svc svg{stroke: red;}
.calculatorlisting {
    border-bottom: 1px solid #9674cc;
    padding-bottom: 6px;
}
/* Alert-style messages (success banner, step1/step3 msgs) */
.success-banner,.step1-msg,.step3-msg{
  display:flex;align-items:center;gap:12px;
  padding:14px 18px;border-radius:8px;
  border-left:4px solid;
  font-size:.88rem;font-weight:500;
  margin-bottom: 20px;
}


/* Enhanced Description Popup */
#descPopup { width: 420px; max-width: 95vw; max-height: 80vh; overflow-y: auto; }

.desc-field-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .82rem; }
.desc-field-table th {
    text-align: left; padding: 6px 8px;
    background: #f3f0ff; color: #5b21b6;
    font-weight: 600; border-bottom: 2px solid #ddd6fe;
}
.desc-field-table td { padding: 6px 8px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.desc-field-table tr:hover td { background: #fafafa; }
.desc-field-cost { font-weight: 600; color: #1e1060; white-space: nowrap; }
.desc-remove-btn {
    background: none; border: 1px solid #fca5a5; color: #dc2626;
    border-radius: 4px; padding: 2px 7px; font-size: .75rem;
    cursor: pointer; white-space: nowrap;
}
.desc-remove-btn:hover { background: #fee2e2; }
.desc-remove-btn:disabled { opacity: .4; cursor: not-allowed; }
.desc-text-block { font-size: .85rem; color: #444; margin-bottom: 10px; line-height: 1.5; }
.desc-total-row td { font-weight: 700; background: #f3f0ff; color: #1e1060; border-top: 2px solid #ddd6fe; }

.success-banner{background:#f0fdf4;border-left-color:#22c55e;color:#166534;border:1px solid #bbf7d0;border-left:4px solid #22c55e}
.success-banner .s-icon{width:28px;height:28px;border-radius:50%;background:#22c55e;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.success-banner .s-icon svg{color:#fff}
.success-banner .close-banner{background:none;border:none;cursor:pointer;color:#999;font-size:1rem;line-height:1;padding:0;margin-left:auto}
.success-banner .close-banner:hover{color:#555}

.step1-msg-error,.step3-msg-error{
  background:#fff5f5;border:1px solid #fecaca;border-left:4px solid #dc2626;color:#b91c1c
}
.step1-msg-error::before,.step3-msg-error::before{
  content:"!";display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#dc2626;color:#fff;font-size:.9rem;font-weight:700;flex-shrink:0
}
.step1-msg-success,.step3-msg-success{
  background:#f0fdf4;border:1px solid #bbf7d0;border-left:4px solid #22c55e;color:#166534
}


/* Estimation summary cards */
.est-panels{display:grid;grid-template-columns:1fr 350px;gap:16px;margin-bottom:22px}
.est-card{background:#f8f6ff;border:1.5px solid #e6e0f8;border-radius:12px;padding:18px 20px;}
.est-card-title{font-size:.78rem;font-weight:600;color:#555;margin-bottom:14px}
.est-fields{display:flex;gap:30px;flex-wrap:wrap;justify-content: space-between;}
.est-field{display:flex;flex-direction:column;gap:4px}
.est-field-lbl{font-size:.7rem;color:#999}
.est-field-val{font-size:.92rem;font-weight:700;color:#1e1060}
.est-field-val.purple{color:#7c3aed}
.est-field-val.big{font-size:1.3rem;color:#1e1060}
.est-field-sub{font-size:.68rem;color:#999;margin-top:1px}
.est-ai-card{background:linear-gradient(135deg,#f3f0ff,#ece8ff);border:1.5px solid #d4c9f7;border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:12px;width:350px;}
.est-ai-title{font-size:.82rem;font-weight:600;color:#3b1fa0}
.est-ai-btns{display:flex;gap:10px}
.est-ai-btn{padding:8px 16px;border-radius:8px;font-family:'Poppins',sans-serif;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .18s}
.est-ai-btn.outline{background:#fff;border:1.5px solid #d4cbf2;color:#5b21b6}
.est-ai-btn.outline:hover{background:#ede8fc}
.est-ai-btn.filled{background:linear-gradient(90deg,#5b21b6,#4f46e5);border:none;color:#fff;display:flex;align-items:center;gap:8px;box-shadow:0 3px 10px rgba(80,30,180,.2)}
.est-ai-btn.filled:hover{opacity:.9}

/* My Estimation table section */
.my-est-section{border:1.5px solid #e8e2f8;border-radius:12px;overflow:hidden;margin-bottom:20px}
.my-est-header{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;background:#f8f6ff;border-bottom:1.5px solid #e8e2f8;gap:10px}
.my-est-title{display:flex;align-items:center;gap:10px;font-size:.9rem;font-weight:700;color:#1e1060}
.my-est-nav{display:flex;align-items:center;gap:6px;font-size:.78rem;color:#666}
.my-est-nav span{font-weight:600;color:#5b21b6}
.my-est-nav button{background:none;border:1px solid #d4cbf2;border-radius:4px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#666;font-size:.65rem}
.my-est-nav button:hover{border-color:#7c3aed;color:#5b21b6}
.gear-btn{background:none;border:1px solid #d4cbf2;border-radius:6px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#888;transition:all .15s}
.gear-btn:hover{border-color:#7c3aed;color:#5b21b6}
.tbl-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tbl-btn{padding:6px 14px;border-radius:6px;font-family:'Poppins',sans-serif;font-size:.74rem;font-weight:500;cursor:pointer;border:1.5px solid #d4cbf2;background:#fff;color:#555;transition:all .15s}
.tbl-btn:hover{border-color:#7c3aed;color:#5b21b6}
.tbl-btn.primary{background:linear-gradient(90deg,#5b21b6,#4f46e5);border-color:transparent;color:#fff;font-weight:600;box-shadow:0 2px 8px rgba(80,30,180,.2)}
.tbl-btn.primary:hover{opacity:.9}

/* Search inside table section */
.tbl-search-wrap{padding:12px 18px;border-bottom:1.5px solid #e8e2f8;background:#fff}
.tbl-search-box{display:flex;align-items:center;gap:9px;border:1.5px solid #d4cbf2;border-radius:7px;padding:8px 13px;background:#faf8ff}
.tbl-search-box svg{color:#b8a8e0;flex-shrink:0}
.tbl-search-box input{border:none;background:transparent;font-family:'Poppins',sans-serif;font-size:.84rem;color:#333;width:100%;outline:none}
.tbl-search-box input::placeholder{color:#b8a8e0}

/* Table */
.est-table-wrap{overflow-x:auto}
.est-table{width:100%;border-collapse:collapse;font-size:.8rem}
.est-table thead tr{background:#f8f6ff;border-bottom:1.5px solid #e8e2f8}
.est-table th{padding:11px 14px;text-align:left;font-size:.73rem;font-weight:600;color:#555;white-space:nowrap;cursor:pointer;user-select:none;position:relative}
.est-table th .th-inner{display:flex;align-items:center;gap:5px}
.est-table th .sort-ico{display:inline-flex;flex-direction:column;gap:1px;opacity:.4}
.est-table th .sort-ico span{display:block;width:0;height:0}
.est-table th .sort-ico span.up{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid #555}
.est-table th .sort-ico span.dn{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #555}
.est-table th:hover .sort-ico{opacity:1}
.est-table tbody tr{border-bottom:1px solid #f0eafa;transition:background .15s}
.est-table tbody tr:last-child{border-bottom:none}
.est-table tbody tr:hover{background:#faf8ff}
.est-table td{padding:11px 14px;vertical-align:middle;color:#333}
.est-table td.svc-col{display:flex;align-items:center;gap:8px;font-weight:500;color:#1e1060;white-space:nowrap}
.est-table td.svc-col .edit-ico{color:#b8a8e0;cursor:pointer;flex-shrink:0;transition:color .15s}
.est-table td.svc-col .edit-ico:hover{color:#7c3aed}
.est-table td .link-txt{color:#5b21b6;text-decoration:none;font-size:.75rem;cursor:pointer}
.est-table td .link-txt:hover{text-decoration:underline}
.est-table td .region-tag{font-size:.74rem;color:#444}
.est-table td .config-txt{font-size:.73rem;color:#5b21b6;cursor:pointer;white-space:normal;word-break:break-word;max-width:300px;display:block;line-height:1.4}
.est-table td .config-txt:hover{text-decoration:underline}
.row-check{width:15px;height:15px;border-radius:3px;border:1.5px solid #d4cbf2;cursor:pointer;accent-color:#5b21b6}
.cost-val{font-weight:600;color:#1e1060;white-space:nowrap}

/* Acknowledgement */
.ack-section{background:#f8f6ff;border:1.5px solid #e8e2f8;border-radius:10px;padding:16px 18px}
.ack-title{font-size:.82rem;font-weight:700;color:#1e1060;margin-bottom:6px}
.ack-text{font-size:.74rem;color:#666;line-height:1.65}
.ack-link{color:#5b21b6;text-decoration:none;cursor:pointer;font-weight:500}
.ack-link:hover{text-decoration:underline}

/* Step 4 Success */
.success-step-wrap{padding:24px 0 32px}
.success-thanks-card{background:linear-gradient(135deg,#7c3aed 0%,#5b21b6 100%);border-radius:14px;padding:32px 28px;text-align:center;margin-bottom:24px;color:#fff}
.success-thanks-icon{width:64px;height:64px;margin:0 auto 16px;background:rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center}
.success-thanks-icon svg{stroke:#fff}
.success-thanks-title{font-size:1.6rem;font-weight:800;margin-bottom:8px;letter-spacing:-.02em}
.success-thanks-msg{font-size:.95rem;opacity:.95;line-height:1.5;max-width:520px;margin:0 auto}
.success-summary-card{background:#fff;border:1.5px solid #e8e2f8;border-radius:12px;padding:20px 24px;margin-bottom:24px}
.success-summary-head{font-size:1rem;font-weight:700;color:#1e1060;margin-bottom:16px}
.success-summary-stats{display:flex;gap:24px;margin-bottom:20px;flex-wrap:wrap}
.success-stat-item{display:flex;flex-direction:column;gap:2px}
.success-stat-lbl{font-size:.75rem;color:#666}
.success-stat-val{font-size:1.1rem;font-weight:700;color:#5b21b6}
.success-details-list{display:flex;flex-direction:column;gap:16px}
.success-detail-item{background:#f8f6ff;border:1px solid #e8e2f8;border-radius:10px;padding:14px 18px}
.success-detail-name{font-weight:600;color:#1e1060;font-size:.9rem;margin-bottom:10px}
.success-detail-row{font-size:.78rem;color:#555;line-height:1.6}
.success-detail-row .dl{font-weight:600;color:#5b21b6;min-width:100px;display:inline-block;margin-right: 20px;}
.success-detail-price{font-weight:700;color:#5b21b6;font-size:.85rem;margin-top:10px;padding-top:10px;border-top:1px solid #e8e2f8}
.success-detail-empty{text-align:center;padding:24px;color:#888;font-size:.9rem}
.success-actions{display:flex;gap:12px;flex-wrap:wrap}

.summary-actions .dropdown-wrapper{
  position:relative;
  display:inline-block;
}

.summary-actions .action-btn{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:6px;
  cursor:pointer;
  font-weight:500;
}

.summary-actions .dropdown-menu{
  position:absolute;
  top:110%;
  left:0;
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  min-width:150px;
  display:none;
  flex-direction:column;
  overflow:hidden;
}

.summary-actions .dropdown-menu a{
  padding:10px 14px;
  text-decoration:none;
  color:#333;
  font-size:14px;
}

.summary-actions .dropdown-menu a:hover{
  background:#f5f5f5;
}

.summary-actions .dropdown-menu.show{
  display:flex;
}

.share-modal{
  border-radius:8px;
  }
  
 .shareModalpage .share-success{
  display:flex;
  align-items:center;
  gap:12px;
  background:#edf7ed;
  border:2px solid #2e7d32;
  padding:16px;
  border-radius:6px;
  font-size:18px;
  margin-bottom:25px;
  }
  
 .shareModalpage .success-icon{
  display:flex;
  align-items:center;
  }
  
 .shareModalpage .share-link-area h5{
  font-weight:600;
  margin-bottom:10px;
  }
  
  .shareModalpage .share-link-area p{
  color:#555;
  margin-bottom:15px;
  }
  
  .shareModalpage .share-input-wrapper{
  display:flex;
  border:1px solid #ddd;
  border-radius:6px;
  overflow:hidden;
  margin-bottom: 20px;
  }
  
  .shareModalpage .share-input-wrapper input{
  flex:1;
  border:none;
  padding:14px;
  font-size:16px;
  outline:none;
  }
  
  .shareModalpage .copy-btn{
    background: rgb(117, 84, 247);
    background: linear-gradient(90deg, rgba(117, 84, 247, 1) 0%, rgba(117, 84, 247, 1) 0%, rgba(117, 84, 247, 1) 62%, rgba(147, 94, 223, 1) 95%);
    color: #fff;
  border:none;
  padding:0 22px;
  font-weight:600;
  cursor:pointer;
  }
  
  .shareModalpage .copy-btn:hover{
  background:#a377ee;
  }
  .shareModalpage .modal-dialog{max-width: 700px;}
  .shareModalpage .modal-body{padding: 15px 30px!important;}
  /* ── Parent wrapper ── */
.search-section {
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* ── Label ── */
.search-section .find-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
  display: block;
}

/* ── Search input box ── */
.search-section .search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #fff;
  border: 1.5px solid #c4b2f0;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 2;
}

.search-section .search-box:focus-within {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.search-section .search-box .search-icon {
  color: #b0a0e0;
  flex-shrink: 0;
  display: flex;
}

.search-section .search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  color: #333;
  width: 100%;
}

.search-section .search-box input::placeholder {
  color: #b0a0e0;
  font-weight: 400;
}

/* ── Dropdown panel - always visible ── */
.search-section .svc-dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(100, 60, 200, 0.13);
  z-index: 100;
  overflow: hidden;
  border: 1px solid #ede8f8;
}

/* ── Dropdown scroll area ── */
.search-section .svc-dropdown .dd-scroll {
  max-height: 288px;
  overflow-y: auto;
  padding: 8px 0;
}

/* Custom scrollbar */
.search-section .svc-dropdown .dd-scroll::-webkit-scrollbar {
  width: 4px;
}
.search-section .svc-dropdown .dd-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.search-section .svc-dropdown .dd-scroll::-webkit-scrollbar-thumb {
  background: #c4b2f0;
  border-radius: 4px;
}
.search-section .svc-dropdown .dd-scroll::-webkit-scrollbar-thumb:hover {
  background: #9c77e8;
}

/* ── Dropdown item ── */
.search-section .svc-dropdown .dd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s;
  margin: 2px 8px;
  border-radius: 8px;
  position: relative;
}

.search-section .svc-dropdown .dd-item:hover {
  background: #f5f0ff;
}

/* ── Selected item - full purple ── */
.search-section .svc-dropdown .dd-item.selected {
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
  border-radius: 8px;
  margin: 2px 8px;
}

.search-section .svc-dropdown .dd-item.selected:hover {
  background: linear-gradient(90deg, #6d28d9, #5b21b6);
}

/* ── Icon box ── */
.search-section .svc-dropdown .dd-item .dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ede8ff, #ddd0fa);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-section .svc-dropdown .dd-item .dd-icon svg {
  color: #7c3aed;
}

/* Icon box when selected */
.search-section .svc-dropdown .dd-item.selected .dd-icon {
  background: rgba(255, 255, 255, 0.22);
}

.search-section .svc-dropdown .dd-item.selected .dd-icon svg {
  color: #fff;
}

/* ── Item name ── */
.search-section .svc-dropdown .dd-item .dd-name {
  flex: 1;
  font-size: 0.84rem;
  font-weight: 500;
  color: #2a1a5e;
  line-height: 1;
}

.search-section .svc-dropdown .dd-item.selected .dd-name {
  color: #fff;
  font-weight: 600;
}

/* ── Checkmark (right side, only on selected) ── */
.search-section .svc-dropdown .dd-item .dd-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s;
}

.search-section .svc-dropdown .dd-item.selected .dd-check {
  opacity: 1;
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
}

.search-section .svc-dropdown .dd-item .dd-check svg {
  color: #fff;
}

/* ── No results ── */
.search-section .svc-dropdown .dd-empty {
  padding: 20px 16px;
  text-align: center;
  font-size: 0.8rem;
  color: #bbb;
}

/* ── Item divider (thin line between items except when selected) ── */
.search-section .svc-dropdown .dd-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50px;
  right: 0;
  height: 1px;
  background: #f0eaf8;
}
.search-section .svc-dropdown .dd-item.selected::after,
.search-section .svc-dropdown .dd-item.selected + .dd-item::after {
  background: transparent;
}

.search-section .dd-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  cursor:pointer;
  }
  
  .search-section .dd-check{
  width:18px;
  height:18px;
  min-width:18px;
  border:2px solid #cfd7e3;
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  }
  
  .search-section .dd-check svg{
  width:12px;
  height:12px;
  stroke:#fff;
  }
  #topAlert{
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 14px;
    transition: top 0.4s ease;
    z-index: 9999;
  }
  
  #topAlert.show{
    top: 20px;
  }
  .config-popup-content p{margin: 0;}
  #totalValue{font-size: 28px;}