body {
  background: #f5f5f5;
  padding: 2rem;
  font-family: system-ui, sans-serif;
}

.card {
  max-width: 420px;
  margin: auto;
  padding: 1.5rem;
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.header img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.header-details h5 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.header-details small {
  display: block;
  color: #212529;
  font-size: 0.85rem;
}

.spacer-box {
  background-color: #f1f3f5;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.sub-label {
  color: #6c757d;
  font-size: 10pt;
}

.learn-more {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 4px;
  text-decoration: underline;
}

.tooltip-icon {
  font-size: 0.75rem;
  color: #6c757d;
  margin-left: 4px;
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  width: 42px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.toggle-switch input:checked + .slider {
  background-color: #0d6efd;
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(18px);
}

.discount-row {
  display: flex;
  gap: 0.5rem;
}

.discount-input {
  flex: 1;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 1rem;
  border: 1px solid #ced4da;
}

.apply-btn {
  padding: 10px 20px;
  border-radius: 12px;
  white-space: nowrap;
}

.breakdown-toggle {
  font-size: 12pt;
  color: #212529;
  cursor: pointer;
  margin-bottom: 1rem;
  text-decoration: underline;
}

.breakdown-line {
  border-left: 2px solid #e0e0e0;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.discount {
  color: #212529;
  font-weight: regular;
}

.footer-note {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 0px;
  line-height: 0.5; /* Add this */
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

h6.fw-bold {
  font-size: 1.125rem;
}

.total-due {
  font-size: 1.25rem;
}
.deposit-breakdown {
  padding-left: 0.05rem; /* or use margin-left if you prefer */
  font-size: 0.95rem;
  color: #6c757d;
}
.deposit-container {
  border-left: 2px solid #e0e0e0;
  padding-left: 1rem;
}
.deposits-label {
  text-decoration: underline;
}
