@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=DM+Sans:wght@400;500;600&display=swap');

.lsp-container {
  --blue: #2563eb;
  --blue-light: #93c5fd;
  --blue-btn: #8ba5fc;
  --blue-info: #1c5ff0;
  --dark: #1e293b;
  --mid: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --green: #c6f6d5;
  --green-icon: #22c55e;
  
  font-family: 'DM Sans', sans-serif;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  max-width: 960px;
  margin: 2rem auto;
  color: var(--mid);
  box-sizing: border-box;
}
.lsp-container * {
  box-sizing: border-box;
}

/* Steps */
.lsp-step {
  margin-bottom: 2.5rem;
}
.lsp-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.lsp-step-num {
  background: #dbeafe;
  color: #1e40af;
  font-family: 'Sora', sans-serif;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.lsp-step-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* Bags List */
.lsp-bags-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.lsp-bag-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.2s;
}
.lsp-bag-item.active {
  border-color: var(--blue-light);
  box-shadow: 0 4px 12px rgba(37,99,235,0.08);
}
.lsp-bag-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.lsp-bag-icon {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  flex-shrink: 0;
}
.lsp-bag-icon svg {
  width: 20px;
  height: 20px;
}
.lsp-bag-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.lsp-bag-name span {
  font-weight: 400;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}
.lsp-bag-price {
  font-size: 0.85rem;
  color: var(--muted);
}
.lsp-stepper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.lsp-step-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.lsp-step-btn.minus {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--muted);
}
.lsp-step-btn.minus:hover {
  background: #f1f5f9;
}
.lsp-step-btn.plus {
  background: var(--blue);
  color: white;
}
.lsp-step-btn.plus:hover {
  background: #1d4ed8;
}
.lsp-step-count {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 1rem;
  text-align: center;
  color: var(--dark);
}

/* Card Boxes for steps 2 & 3 */
.lsp-card-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Duration step */
.lsp-duration-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.lsp-dt-wrap {
  display: flex;
  flex-direction: column;
}
.lsp-dt-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.lsp-dt-inputs {
  display: flex;
  gap: 0.5rem;
}
.lsp-input-grp {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}
.lsp-input-icon {
  position: absolute;
  left: 4px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.lsp-input {
  width: 100%;
  padding: 0.65rem 0.6rem 0.65rem 2.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--bg);
  outline: none;
  transition: all 0.2s;
}
.lsp-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.lsp-input.min-w-100 {
  min-width: 110px;
}

/* Personal info */
.lsp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.lsp-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.lsp-input-grp.fill-grp .lsp-input {
  background: var(--bg-alt);
  border: 1px solid transparent;
}
.lsp-input-grp.fill-grp .lsp-input:focus {
  background: var(--bg);
  border-color: var(--blue);
}

/* Sidebar */
.lsp-summary-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
}
.lsp-summary-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 1.2rem;
}
.lsp-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.border-bottom {
  border-bottom: 1px solid #f1f5f9;
}
.lsp-row-val {
  color: var(--dark);
  font-weight: 500;
}

/* Addons inside summary */
.lsp-addon-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  margin-bottom: 8px;
}
.lsp-addon-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lsp-addon-icon svg { width: 16px; height: 16px; }
.lsp-addon-icon.green { background: var(--green); color: var(--green-icon); }
.lsp-addon-icon.grey { background: #f1f5f9; color: var(--muted); }
.lsp-addon-text { flex: 1; }
.lsp-addon-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}
.lsp-addon-desc {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.lsp-addon-cb {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
  margin-top: 4px;
}

/* Total */
.lsp-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 1.2rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.lsp-total-label {
  font-size: 0.95rem;
  font-weight: 500;
}
.lsp-total-right {
  text-align: right;
}
.lsp-total-val {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1;
}
.lsp-taxes {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* CTA */
.lsp-cta {
  width: 100%;
  padding: 1rem;
  background: var(--blue-btn);
  color: white;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.lsp-cta:hover {
  background: #7a94eb;
  transform: translateY(-1px);
}
.lsp-cta:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Info box */
.lsp-info-card {
  background: var(--blue-info);
  border-radius: 16px;
  padding: 1.2rem;
  color: white;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.lsp-info-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.lsp-info-p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Notification boxes */
.lsp-error { background:#fef2f2; border:1px solid #fca5a5; border-radius:10px; color:#b91c1c; font-size:0.85rem; padding:0.75rem 1rem; margin-bottom:1rem; }
.lsp-success { background:var(--gbg); border:1px solid #a7e8cc; border-radius:16px; padding:1.5rem; text-align:center; }
.lsp-success-icon { font-size:2.5rem; margin-bottom:0.5rem; }
.lsp-success-title { font-family:'Sora',sans-serif; font-size:1.1rem; font-weight:700; color:#059669; margin-bottom:0.4rem; }
.lsp-success-msg { font-size:0.85rem; color:var(--muted); }

/* Responsive Grid */
@media (max-width: 850px) {
  .lsp-container {
    grid-template-columns: 1fr;
  }
  .lsp-duration-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 500px) {
  .lsp-bag-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .lsp-stepper {
    width: 100%;
    justify-content: flex-end;
  }
  .lsp-field-row {
    grid-template-columns: 1fr;
  }
  .lsp-dt-inputs {
    flex-direction: column;
  }
}