/* Container Layout */
.booking-container {
  max-width: 850px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

/* Hero CTA Block */
.hero-card {
  background: var(--card-bg, #161b22);
  border: 2px solid var(--border-color, #30363d);
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-content h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.35rem;
  color: var(--text-primary, #f0f6fc);
}

.hero-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted, #8b949e);
}

.btn-schedule {
  background-color: #238636;
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn-schedule:hover {
  background-color: #2ea043;
}

/* Options Grid */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.option-card {
  background: var(--card-bg, #161b22);
  border: 1px solid var(--border-color, #30363d);
  border-left-width: 4px;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.option-card h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.1rem;
  color: var(--text-primary, #f0f6fc);
}

.option-card p {
  margin: 0 0 0.85rem 0;
  font-size: 0.9rem;
  color: var(--text-muted, #8b949e);
  line-height: 1.4;
}

.card-link,
.card-btn {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.card-link:hover,
.card-btn:hover {
  text-decoration: underline;
}

/* Page-Specific Accents */
.border-red { border-left-color: #f85149; }
.text-red { color: #f85149; }

.border-blue { border-left-color: #58a6ff; }
.text-blue { color: #58a6ff; }

.border-yellow { border-left-color: #d29922; }
.text-yellow { color: #d29922; }

.border-gray { border-left-color: var(--border-color, #30363d); }
.text-gray { color: var(--text-muted, #8b949e); }

/* Estimator Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  background: var(--card-bg, #161b22);
  border: 1px solid var(--border-color, #30363d);
  border-radius: 12px;
  width: 90%;
  max-width: 520px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #8b949e;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-card h2 {
  margin: 0 0 0.25rem 0;
  color: #ffffff;
  font-size: 1.35rem;
}

.modal-subtitle {
  color: #8b949e;
  font-size: 0.85rem;
  margin: 0 0 1.5rem 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label, .section-label {
  display: block;
  font-size: 0.85rem;
  color: #f0f6fc;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.65rem;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  color: #f0f6fc;
  font-size: 0.9rem;
}

.addons-group {
  margin-top: 1rem;
  background: var(--bg-main, #181c20);
  border: 1px solid var(--border-subtle, #373e47);
  border-radius: 6px;
  padding: 1rem;
  max-height: 220px;     /* Keeps the container from overflowing the modal */
  overflow-y: auto;      /* Enables smooth scrolling if items exceed max height */
}

.addons-group.hidden {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #8b949e;
  cursor: pointer;
}

.checkbox-label:last-child {
  margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
  accent-color: #d29922;
}

.estimator-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #30363d;
}

.total-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  color: #ffffff;
}

.total-display strong {
  color: #d29922;
  font-size: 1.4rem;
}
