/* Rapid Roll-Off Dumpster Booking Wizard CSS - Enhanced UI/UX */
.rapid-booking-wizard-wrapper {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  padding: 36px 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1e293b;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
}

.rapid-booking-wizard-wrapper * {
  box-sizing: border-box;
}

/* Stepper Indicator */
.rapid-wizard-stepper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
  padding: 0;
  list-style: none;
}

.rapid-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  flex: 1;
  text-align: center;
}

.rapid-step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2.5px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.rapid-step-item.active .rapid-step-circle {
  background: #007a87;
  border-color: #007a87;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 122, 135, 0.2);
}

.rapid-step-item.completed .rapid-step-circle {
  background: #0d9488;
  border-color: #0d9488;
  color: #ffffff;
}

.rapid-step-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.rapid-step-item.active .rapid-step-label {
  color: #007a87;
}

.rapid-step-line {
  height: 3px;
  background: #e2e8f0;
  flex: 1;
  margin: 0 -10px;
  margin-top: -24px;
  z-index: 1;
}

/* Step Headings */
.rapid-step-heading h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  padding: 0;
}

.rapid-step-heading p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 22px 0;
  line-height: 1.5;
}

/* Size Pills UI Selector */
.rapid-size-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.rapid-size-pill {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.rapid-size-pill:hover {
  border-color: #007a87;
  background: #f0fdfa;
}

.rapid-size-pill.active {
  border-color: #007a87;
  background: #e6f6f8;
  box-shadow: 0 4px 12px rgba(0, 122, 135, 0.15);
}

.rapid-size-pill strong {
  font-size: 15px;
  color: #0f172a;
  font-weight: 800;
}

.rapid-size-pill span.sub {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.rapid-size-pill .pill-badge {
  position: absolute;
  top: -9px;
  right: 8px;
  background: #ff7700;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(255, 119, 0, 0.3);
}

/* Form Controls & Dropdown UX */
.rapid-form-group {
  margin-bottom: 18px;
  width: 100%;
}

.rapid-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .rapid-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rapid-size-pills {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .rapid-booking-wizard-wrapper {
    padding: 24px 18px;
  }
}

.rapid-booking-wizard-wrapper label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 7px;
}

.rapid-booking-wizard-wrapper .req {
  color: #ef4444;
}

.rapid-form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background-color: #ffffff;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: none;
}

/* Custom Sleek Dropdown Arrow */
select.rapid-form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23007a87' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

select.rapid-form-control:hover {
  border-color: #007a87;
  background-color: #f8fafc;
}

.rapid-form-control:focus,
select.rapid-form-control:focus {
  border-color: #007a87;
  background-color: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(0, 122, 135, 0.16);
}

.rapid-form-control.is-invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

select.rapid-form-control option {
  padding: 10px 14px;
  font-size: 14.5px;
  background: #ffffff;
  color: #0f172a;
}

/* Inline Notice / Alert Banner */
.rapid-inline-notice {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rapid-inline-notice.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

.rapid-inline-notice.success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
}

/* Buttons */
.rapid-actions-row {
  margin-top: 24px;
}

.rapid-grid-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px;
}

.rapid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  font-size: 15.5px;
  font-weight: 800;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.rapid-btn-primary {
  background: #007a87;
  color: #ffffff;
}

.rapid-btn-primary:hover {
  background: #005f6a;
}

.rapid-btn-secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1.5px solid #cbd5e1;
}

.rapid-btn-secondary:hover {
  background: #e2e8f0;
}

.rapid-btn-orange {
  background: #ff7700;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.3);
}

.rapid-btn-orange:hover {
  background: #e06900;
  box-shadow: 0 6px 18px rgba(255, 119, 0, 0.4);
}

/* Summary Box */
.rapid-summary-box {
  background: #e6f6f8;
  border: 1.5px solid #007a87;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
}

.rapid-summary-title {
  font-weight: 800;
  font-size: 15px;
  color: #005f6a;
  margin-bottom: 8px;
}

.rapid-summary-body {
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.7;
}

.rapid-summary-badge {
  color: #007a87;
  font-weight: 800;
  margin-top: 6px;
  font-size: 13px;
}

.rapid-form-privacy {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-top: 14px;
}

/* Success Card */
.rapid-success-card {
  text-align: center;
  padding: 24px 10px;
}

.rapid-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2);
}

.rapid-success-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.rapid-success-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 16px auto;
}

.rapid-success-meta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: #334155;
  display: inline-block;
  margin-top: 10px;
}

.rapid-success-meta a {
  color: #007a87;
  font-weight: 700;
  text-decoration: none;
}

/* Spinner */
.rapid-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: rapid-spin 0.6s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes rapid-spin {
  to { transform: rotate(360deg); }
}

/* POPUP MODAL OVERLAY (High-Converting Success Pop-up) */
.rapid-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.rapid-modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 490px;
  width: 100%;
  padding: 34px 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  box-sizing: border-box;
  animation: rapidModalZoom 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rapidModalZoom {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.rapid-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 26px;
  line-height: 1;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.rapid-modal-close:hover {
  color: #0f172a;
}

.rapid-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.14);
}

.rapid-modal-title {
  font-size: 23px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.rapid-modal-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.rapid-modal-recap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  text-align: left;
  margin-bottom: 16px;
}

.rapid-modal-recap .recap-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.rapid-modal-recap .recap-row:last-child {
  border-bottom: none;
}

.rapid-modal-recap .recap-row strong {
  color: #0f172a;
}

.rapid-modal-notice {
  font-size: 13px;
  color: #007a87;
  background: #e6f6f8;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  text-align: center;
}
