/* =========================================================
   ATM - Variables & Root
   ========================================================= */
:root {
  --atm-primary: #FE5E00;
  /* Premium Orange */
  --atm-primary-dark: #dc5400;
  --atm-success: #10b981;
  /* Modern Green */
  --atm-blue: #3b82f6;
  /* Modern Blue */
  --atm-section-heading: #1e3a5f;
  --atm-accordion-navy: #0f172a;
  --atm-accordion-navy-mid: #1e293b;
  --atm-bg-light: #f8fafc;
  /* Light Gray Background */
  --atm-text: #1e293b;
  --atm-muted: #64748b;
  --atm-border: #e2e8f0;
  --atm-radius: 12px;
  --atm-radius-sm: 8px;
  --atm-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --atm-booking-max-width: 1400px;
  --atm-error: #dc2626;
  --atm-error-bg: #fef2f2;
}

/* =========================================================
   1) RESET & BASE
   ========================================================= */
.atm-container {
  max-width: var(--atm-booking-max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.atm-plugin-wrapper .atm-form {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: var(--atm-booking-max-width) !important;
  width: 100%;
  margin: 20px auto !important;
  padding: 32px;
  background: #fff;
  border-radius: var(--atm-radius);
  box-shadow: var(--atm-shadow);
  border: 1px solid var(--atm-border);
  box-sizing: border-box;
}

.atm-form-header h3 {
  color: var(--atm-primary);
  text-align: center;
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* =========================================================
   2) PROGRESS STEPS
   ========================================================= */
.atm-plugin-wrapper .atm-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.atm-progress:before {
  content: "";
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--atm-border);
  z-index: 1;
}

.atm-progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.atm-step-number {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 2px solid var(--atm-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: 700;
  color: var(--atm-muted);
  transition: all 0.3s ease;
}

.atm-progress-step.active .atm-step-number {
  background: var(--atm-primary);
  border-color: var(--atm-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(254, 94, 0, 0.3);
}

.atm-progress-step.completed .atm-step-number {
  background: var(--atm-success);
  border-color: var(--atm-success);
  color: #fff;
}

.atm-step-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--atm-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.atm-progress-step.active .atm-step-label {
  color: var(--atm-primary);
}

/* =========================================================
   3) SEARCH BAR (STEP 1)
   ========================================================= */
.atm-plugin-wrapper .atm-trip-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
}

.atm-trip-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 24px;
  border: 1px solid var(--atm-border);
  border-radius: 999px;
  background: #fff;
  color: var(--atm-muted);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.atm-trip-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.atm-trip-tab--active {
  background: var(--atm-primary);
  border-color: var(--atm-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(254, 94, 0, 0.2);
}

.atm-plugin-wrapper .atm-search-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--atm-bg-light);
  border-radius: var(--atm-radius);
  padding: 24px;
  gap: 20px;
  border: 1px solid var(--atm-border);
  align-items: end;
}

.atm-plugin-wrapper .atm-input-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.atm-input-group label {
  font-size: 11px;
  font-weight: 800;
  color: var(--atm-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.atm-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--atm-border);
  border-radius: var(--atm-radius-sm);
  padding: 8px 12px;
}

.atm-qty-wrapper input {
  border: none !important;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  color: var(--atm-text);
}

.atm-modern-picker-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--atm-border);
  border-radius: var(--atm-radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.atm-modern-picker-container:hover {
  border-color: var(--atm-primary);
}

.atm-modern-picker-container input {
  border: none !important;
  font-weight: 600;
  font-size: 14px;
  width: 100%;
  cursor: pointer;
}

.atm-btn-main {
  background: var(--atm-primary);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: var(--atm-radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
  width: 100%;
}

.atm-btn-main:hover {
  background: var(--atm-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(254, 94, 0, 0.4);
}

/* =========================================================
   4) VEHICLES GRID (STEP 2)
   ========================================================= */
.atm-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.atm-vehicle-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--atm-border);
  border-radius: var(--atm-radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.atm-vehicle-card:hover {
  border-color: var(--atm-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
}

.atm-vehicle-radio {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.atm-vehicle-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--atm-bg-light);
}

.atm-vehicle-content {
  padding: 20px;
}

.atm-vehicle-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--atm-text);
  margin-bottom: 8px;
  display: block;
}

.atm-vehicle-features {
  font-size: 14px;
  color: var(--atm-muted);
  margin-bottom: 16px;
  display: block;
}

.atm-vehicle-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--atm-success);
}

/* =========================================================
   5) BILLING (STEP 3)
   ========================================================= */
.atm-billing-split-v2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.atm-field-block {
  margin-bottom: 20px;
}

.atm-field-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--atm-text);
}

.atm-input-v2 {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--atm-border);
  border-radius: var(--atm-radius-sm);
  font-size: 15px;
  transition: border-color 0.2s;
}

.atm-input-v2:focus {
  outline: none;
  border-color: var(--atm-primary);
  box-shadow: 0 0 0 3px rgba(254, 94, 0, 0.1);
}

/* =========================================================
   6) TICKET (STEP 4)
   ========================================================= */
.atm-ticket-card {
  background: #fff;
  border-radius: var(--atm-radius);
  border: 2px dashed var(--atm-border);
  overflow: hidden;
  margin: 32px 0;
}

.atm-ticket-banner {
  background: var(--atm-primary);
  color: #fff;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.atm-ticket-banner-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.atm-ticket-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 32px;
}

/* =========================================================
   7) RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .atm-billing-split-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .atm-form {
    padding: 20px;
  }

  .atm-search-bar {
    grid-template-columns: 1fr;
  }

  .atm-progress {
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

/* =========================================================
   8) SUGGESTIONS (AUTOCOMPLETE)
   ========================================================= */
.atm-input-group {
  position: relative;
}

.atm_pickup_input,
.atm_dropoff_input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--atm-border);
  border-radius: var(--atm-radius-sm);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  transition: all 0.2s;
}

.atm_pickup_input:focus,
.atm_dropoff_input:focus {
  outline: none;
  border-color: var(--atm-primary);
  box-shadow: 0 0 0 3px rgba(254, 94, 0, 0.1);
}

.atm-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--atm-radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--atm-border);
  z-index: 1000;
  margin-top: 8px;
  max-height: 250px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.atm-suggestions.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.atm-suggestion-item {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--atm-text);
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid #f1f5f9;
}

.atm-suggestion-item:last-child {
  border-bottom: none;
}

.atm-suggestion-item:hover {
  background: var(--atm-bg-light);
  color: var(--atm-primary);
  padding-left: 20px;
}

.atm-suggestion-empty {
  color: var(--atm-muted);
  font-style: italic;
  cursor: default;
}

.atm-suggestion-empty:hover {
  background: transparent;
  color: var(--atm-muted);
  padding-left: 16px;
}

/* Scrollbar for suggestions */
.atm-suggestions::-webkit-scrollbar {
  width: 6px;
}

.atm-suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.atm-suggestions::-webkit-scrollbar-thumb {
  background: var(--atm-border);
  border-radius: 10px;
}

.atm-suggestions::-webkit-scrollbar-thumb:hover {
  background: var(--atm-muted);
}

/* =========================================================
   9) V3 PREMIUM DESIGN (MyTransfers Clone)
   ========================================================= */
.atm-premium-form-container {
  max-width: 500px;
  margin: 0 auto;
}

.atm-plugin-wrapper .atm-search-form-v3 {
  background: #fff;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', -apple-system, sans-serif;
}

/* Trip Toggle */
.atm-v3-trip-toggle {
  display: flex;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 12px;
}

.atm-v3-toggle-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: #64748b;
  font-weight: 700;
  font-size: 14px;
}

/* Horizontal Layout - Unified Premium Container */
.atm-plugin-wrapper.atm-layout-horizontal {
  max-width: 1250px;
  margin: 20px auto;
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 10;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-search-form-v3 {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-horizontal-top {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
  position: relative;
  z-index: 100;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-trip-toggle {
  margin-bottom: 0;
  flex: 1;
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  width: 100%;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-toggle-item {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-toggle-active {
  background: #007a48;
  /* MyTransfers Green */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 122, 72, 0.2);
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-search-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  align-items: stretch;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-input-group {
  flex: 1 1 0%;
  min-width: 150px;
  padding: 0;
  margin-bottom: 0;
  border: none;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-group-full {
  flex: 1 1 100%;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-group-half {
  flex: 1 1 calc(50% - 6px);
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-field-box {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px;
  padding: 10px 16px;
  background: #fff;
  box-shadow: none !important;
  transition: border-color 0.2s;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-field-box:focus-within {
  border-color: #007a48 !important;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-field-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 2px;
  text-transform: capitalize;
  letter-spacing: 0;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-submit-container {
  padding-left: 0;
  margin-top: 8px;
  flex: 1 1 100%;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-btn-search {
  background: #007a48 !important;
  color: #fff !important;
  padding: 16px;
  border-radius: 12px;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-btn-search:hover {
  background: #00633a !important;
}

.atm-plugin-wrapper .atm-v3-passengers-dropdown {
  min-width: 320px;
  z-index: 9999;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Desktop Fixes for Grid */
@media (min-width: 992px) {
  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-horizontal-top {
    max-width: 400px;
    margin-bottom: 15px;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-search-grid {
    flex-wrap: nowrap;
    gap: 0;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 6px;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-input-group {
    border-right: 1px solid #e2e8f0;
    padding: 0 15px;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-group-full,
  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-group-half {
    flex: 1;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-field-box {
    border: none !important;
    background: transparent;
    padding: 5px 0;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-submit-container {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0;
    padding-left: 10px;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-btn-search {
    width: auto;
    min-width: 160px;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .atm-plugin-wrapper.atm-layout-horizontal {
    padding: 20px;
    border-radius: 16px;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-horizontal-top {
    margin-bottom: 15px;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-input-group {
    margin-bottom: 10px;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-submit-container {
    margin-top: 10px;
  }
}

.atm-v3-toggle-item input {
  display: none;
}

.atm-v3-toggle-active {
  background: #007a48;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 122, 72, 0.2);
}

.atm-v3-toggle-active .atm-v3-toggle-icon {
  color: #fff;
}

/* Grid & Inputs (Base) */
.atm-plugin-wrapper.atm-layout-horizontal .atm-v3-search-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

@media (max-width: 991px) {
  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-search-grid {
    flex-wrap: wrap !important;
    gap: 12px;
    padding: 0;
  }
  
  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-group-full {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  .atm-plugin-wrapper.atm-layout-horizontal .atm-v3-group-half {
    width: calc(50% - 6px) !important;
    flex: 0 0 calc(50% - 6px) !important;
    min-width: 140px;
  }
}

.atm-plugin-wrapper .atm-v3-field-box {
  position: relative;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 16px;
  transition: all 0.2s;
  background: #fff;
  height: 100%;
}

.atm-v3-field-box:focus-within {
  border-color: #007a48;
  box-shadow: 0 0 0 4px rgba(0, 122, 72, 0.1);
}

.atm-v3-field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: capitalize;
  margin-bottom: 2px;
}

.atm-v3-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.atm-v3-icon {
  color: #1e293b;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.atm-v3-input {
  border: none !important;
  background: transparent !important;
  width: 100%;
  padding: 4px 0 !important;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  box-shadow: none !important;
  outline: none !important;
}

.atm-v3-input::placeholder {
  color: #cbd5e1;
  font-weight: 500;
}

@media (max-width: 767px) {
  .atm-plugin-wrapper .atm-v3-search-grid {
    display: flex !important;
    flex-flow: row wrap !important;
    gap: 12px !important;
  }

  .atm-plugin-wrapper .atm-v3-group-full {
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  .atm-plugin-wrapper .atm-v3-group-half {
    width: calc(50% - 6px) !important;
    flex: 0 0 calc(50% - 6px) !important;
  }
}

/* Autocomplete Dropdown */
.atm-v3-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  display: none;
}

.atm-v3-suggestions.active {
  display: block;
}

.atm-v3-suggestion-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f1f5f9;
}

.atm-v3-suggestion-item:last-child {
  border-bottom: none;
}

.atm-v3-suggestion-item:hover {
  background: #f8fafc;
}

.atm-v3-suggestion-icon {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.atm-v3-suggestion-text {
  display: flex;
  flex-direction: column;
}

.atm-v3-suggestion-main {
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
}

.atm-v3-suggestion-sub {
  font-size: 12px;
  color: #64748b;
}

/* Passenger Dropdown */
.atm-v3-passengers-trigger {
  cursor: pointer;
}

.atm-v3-passengers-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  padding: 16px;
  border: 1px solid #e2e8f0;
  display: none;
}

.atm-v3-passengers-dropdown.active {
  display: block;
}

.atm-v3-pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.atm-v3-pax-row:last-child {
  border-bottom: none;
}

.atm-v3-pax-title {
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
}

.atm-v3-pax-counter {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 4px;
}

.atm-v3-pax-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f1f5f9;
  color: #10b981;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.atm-v3-pax-btn:hover {
  background: #e2e8f0;
}

.atm-v3-pax-val {
  width: 25px;
  border: none !important;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  background: transparent !important;
  padding: 0 !important;
}

/* Submit Button */
.atm-v3-submit-container {
  margin-top: 8px;
}

.atm-v3-btn-search {
  width: 100%;
  background: #10b981;
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.atm-v3-btn-search:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
}

/* =========================================================
   10) V3 STEP 2 - VEHICLE SELECTION
   ========================================================= */
.atm-v3-step2-container {
  max-width: 1320px;
  margin: 30px auto;
  font-family: 'Inter', sans-serif;
  padding: 0 20px;
}

.atm-v3-step2-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.atm-v3-vehicle-list {
  flex: 1;
}

.atm-v3-step-title {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.atm-v3-step-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 30px;
}

/* Vehicle Cards */
.atm-v3-vehicles-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 120px;
  /* Space for sticky footer */
}

.atm-v3-vehicle-card {
  display: block;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.2s ease;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.atm-v3-vehicle-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.atm-v3-card-selected {
  border: 3px solid #1e293b !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.atm-v3-radio-hidden {
  display: none;
}

.atm-v3-card-inner {
  display: flex;
  padding: 20px;
  gap: 20px;
  align-items: center;
}

.atm-v3-card-img {
  width: 180px;
  flex-shrink: 0;
}

.atm-v3-card-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.atm-v3-card-content {
  flex: 1;
}

.atm-v3-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.atm-v3-vehicle-name {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.atm-v3-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.atm-v3-badge-best {
  background: #ecfdf5;
  color: #10b981;
}

.atm-v3-vehicle-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.atm-v3-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.atm-v3-meta-info {
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.atm-v3-vehicle-desc {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.atm-v3-card-price-box {
  text-align: right;
  flex-shrink: 0;
  min-width: 120px;
}

.atm-v3-price-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}

.atm-v3-price-old {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.atm-v3-price-current {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
}

.atm-v3-price-label {
  font-size: 11px;
  color: #94a3b8;
}

/* Add Return Suggestion */
.atm-v3-roundtrip-suggestion {
  background: #f0fdf4;
  border: 1.5px dashed #bbf7d0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.atm-v3-rt-icon {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.1);
  flex-shrink: 0;
}

.atm-v3-rt-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.atm-v3-rt-text strong {
  font-size: 15px;
  color: #1e293b;
}

.atm-v3-rt-text span {
  font-size: 13px;
  color: #64748b;
}

.atm-v3-btn-add-return {
  width: 36px;
  height: 36px;
  border: 1.5px solid #1e293b;
  background: #fff;
  color: #1e293b;
  border-radius: 8px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.atm-v3-btn-add-return:hover {
  background: #1e293b;
  color: #fff;
}

/* Sidebar */
.atm-v3-sidebar {
  width: 420px;
  position: sticky;
  top: 20px;
  flex-shrink: 0;
}

.atm-v3-summary-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.atm-v3-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.atm-v3-summary-title {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.atm-v3-summary-badge {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.atm-v3-summary-section {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.atm-v3-summary-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.atm-v3-summary-step-label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.atm-v3-summary-edit {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Route Visualizer */
.atm-v3-route-visual {
  position: relative;
  padding-left: 24px;
}

.atm-v3-route-dot {
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1e293b;
  z-index: 2;
}

.atm-v3-route-dot.outward {
  top: 6px;
}

.atm-v3-route-dot.destination {
  bottom: 6px;
  background: #fbbf24;
}

.atm-v3-route-line {
  position: absolute;
  left: 4.5px;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: #e2e8f0;
}

.atm-v3-route-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.atm-v3-route-item:last-child {
  margin-bottom: 0;
}

.atm-v3-route-loc {
  display: flex;
  flex-direction: column;
}

.atm-v3-route-loc strong {
  font-size: 15px;
  color: #1e293b;
}

.atm-v3-route-loc span {
  font-size: 12px;
  color: #94a3b8;
}

.atm-v3-route-time {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.atm-v3-btn-outline-add {
  width: 100%;
  padding: 12px;
  border: 1.5px dashed #e2e8f0;
  background: transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 20px;
}

.atm-v3-btn-outline-add:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.atm-v3-summary-footer {
  padding-top: 20px;
}

.atm-v3-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.atm-v3-summary-total-label {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.atm-v3-summary-total-val {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
}

.atm-v3-trust-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0.6;
  margin-top: 15px;
}

.atm-v3-trust-icons img {
  max-height: 25px;
  max-width: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Sticky Footer */
.atm-v3-sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.atm-v3-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.atm-v3-footer-choice-label {
  font-size: 12px;
  color: #94a3b8;
  display: block;
}

.atm-v3-footer-choice-name {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
}

.atm-v3-footer-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.atm-v3-footer-price-block {
  text-align: right;
}

.atm-v3-footer-total-label {
  font-size: 12px;
  color: #94a3b8;
  display: block;
}

.atm-v3-footer-total-val {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
}

.atm-v3-btn-continue {
  background: #1e293b;
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.atm-v3-btn-continue:hover {
  background: #0f172a;
  transform: translateY(-2px);
}

/* Modal */
.atm-v3-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.atm-v3-modal.active {
  display: flex;
}

.atm-v3-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.atm-v3-modal-content {
  background: #fff;
  width: 90%;
  max-width: 500px;
  position: relative;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  z-index: 20001;
  max-height: 95vh;
  overflow-y: auto;
}

.atm-v3-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.atm-v3-modal-close:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: rotate(90deg);
}

.atm-v3-route-visual-mini {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  position: relative;
  /* Fixed: Added relative positioning */
  overflow: hidden;
}

.atm-v3-route-visual-mini .atm-v3-route-dot {
  position: absolute;
  left: 20px;
  width: 8px;
  height: 8px;
}

.atm-v3-route-visual-mini .atm-v3-route-dot.outward {
  top: 24px;
}

.atm-v3-route-visual-mini .atm-v3-route-dot.destination {
  bottom: 24px;
}

.atm-v3-route-visual-mini .atm-v3-route-line-mini {
  position: absolute;
  left: 23px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: #e2e8f0;
}

.atm-v3-mini-locs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.atm-v3-mini-locs strong {
  font-size: 14px;
  color: #1e293b;
}

.atm-v3-modal-fields {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
}

.atm-v3-modal-field {
  flex: 1;
}

.atm-v3-modal-field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.atm-v3-modal-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
}

.atm-v3-modal-input-box svg {
  color: #64748b;
}

.atm-v3-modal-input-box input {
  border: none !important;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  outline: none;
  background: transparent;
}

.atm-v3-btn-modal-add {
  width: 100%;
  background: #1e293b;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.atm-v3-footer-price-info {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.atm-v3-footer-price-route {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 992px) {
  .atm-v3-step2-layout {
    flex-direction: column;
  }

  .atm-v3-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    background: #fff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    display: flex;
    flex-direction: column;
  }

  .atm-v3-sidebar.active {
    transform: translateY(0);
    visibility: visible;
  }

  .atm-v3-summary-card {
    border: none;
    box-shadow: none;
    padding: 30px 24px 100px;
    /* Space for footer */
  }

  .atm-v3-footer-left {
    display: none;
  }

  .atm-v3-sidebar:before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 12px auto 20px;
  }

  .atm-v3-sidebar .atm-v3-summary-close-mobile {
    display: flex;
    justify-content: center;
    padding: 10px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }
}

.atm-v3-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.atm-v3-sidebar.active~.atm-v3-mobile-overlay,
.atm-v3-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}


@media (max-width: 992px) {
  .atm-v3-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
  }

  .atm-v3-card-img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 10px;
  }

  .atm-v3-card-header {
    justify-content: center;
  }

  .atm-v3-vehicle-meta {
    justify-content: center;
  }

  .atm-v3-card-price-box {
    width: 100%;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: 10px;
  }

  .atm-v3-price-wrapper {
    justify-content: center;
  }

  .atm-v3-footer-price-block {
    gap: 8px;
  }
}

/* Step 3: Booking Details */
.atm-v3-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 24px;
}

.atm-v3-form-section {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.atm-v3-input-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.atm-v3-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #94a3b8;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  margin-left: 4px;
}

.atm-v3-input-icon-box {
  position: relative;
  display: flex;
  align-items: center;
}

.atm-v3-input-icon-box svg {
  position: absolute;
  left: 16px;
  color: #64748b;
  z-index: 5;
}

.atm-v3-input-icon-box input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #1e293b;
  transition: all 0.2s;
}

.atm-v3-input-icon-box input:focus {
  border-color: #1e293b;
  background: #fff;
  outline: none;
}

.atm-v3-input-help {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}

.atm-v3-addons-toggles {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.atm-v3-addon-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 30px;
  background: #ffffff !important;
  color: #1e293b !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: none !important;
}

.atm-v3-addon-btn:hover {
  background: #f1f5f9 !important;
}

.atm-v3-addon-btn.active {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.atm-v3-addon-btn .atm-v3-plus {
  font-size: 18px;
  font-weight: 400;
}

.atm-v3-addon-panel {
  display: none;
  margin-top: 20px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.atm-v3-seat-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.atm-v3-seat-option:last-of-type {
  border-bottom: none;
}

.atm-v3-seat-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.atm-v3-seat-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.atm-v3-seat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.atm-v3-seat-header strong {
  font-size: 15px;
  color: #1e293b;
}

.atm-v3-badge-free {
  font-size: 10px;
  font-weight: 800;
  color: #10b981;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #10b981;
}

.atm-v3-seat-text p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.atm-v3-select {
  padding: 8px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #1e293b;
  min-width: 80px;
}

.atm-v3-alert-box-orange {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  margin-top: 20px;
}

.atm-v3-alert-box-orange svg {
  color: #d97706;
  flex-shrink: 0;
}

.atm-v3-alert-box-orange p {
  font-size: 13px;
  color: #92400e;
  margin: 0;
  line-height: 1.5;
}

.atm-v3-panel-help {
  font-size: 12px;
  color: #64748b;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.atm-v3-panel-help::before {
  content: "i";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: #cbd5e1;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

.atm-v3-addon-panel textarea {
  width: 100%;
  padding: 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  color: #1e293b;
  resize: vertical;
}

.atm-v3-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.atm-v3-field {
  margin-bottom: 16px;
}

.atm-v3-field input[type="text"],
.atm-v3-field input[type="email"],
.atm-v3-field input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #1e293b;
  transition: all 0.2s;
}

.atm-v3-field input:focus {
  border-color: #1e293b;
  background: #fff;
  outline: none;
}

.atm-v3-input-label-small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

/* intl-tel-input integration */
.iti {
  width: 100%;
}

.iti__country-list {
  z-index: 1000;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.atm-v3-form-footer-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.atm-v3-btn-back {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e2e8f0;
  background: #fff !important;
  border-radius: 12px;
  cursor: pointer;
  color: #1e293b !important;
  transition: all 0.2s;
  padding: 0;
}

.atm-v3-btn-back:hover {
  background: #f1f5f9 !important;
}

.atm-v3-btn-continue-long {
  flex: 1;
  background: #1e293b !important;
  color: #fff !important;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  padding: 15px;
}

.atm-v3-btn-continue-long:hover {
  background: #334155 !important;
  transform: translateY(-1px);
}

/* Aggressive Fix for Payment Icons */
.atm-v3-trust-icons-row img {
  height: 20px !important;
  width: auto !important;
  max-width: 50px !important;
  display: inline-block !important;
  margin-right: 10px;
}

/* Force Button Colors in Step 3 */
.atm-v3-btn-continue-mob,
.atm-v3-btn-continue-long,
.atm-v3-btn-modal-add {
  background-color: #1e293b !important;
  color: #ffffff !important;
}

.atm-v3-btn-back,
.atm-v3-btn-back-mob {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #e2e8f0 !important;
}

/* Layout & Background Improvements */
.atm-v3-step2-container,
.atm-v3-step3-container {
  max-width: 1320px;
  margin: 30px auto;
  font-family: 'Inter', sans-serif;
  padding: 0 20px;
}

/* Ensure body background is light gray for contrast */
body {
  background-color: #f8fafc !important;
}

/* Button Visibility */
.atm-v3-mobile-footer {
  display: none;
  /* Hide on desktop */
}

/* Mobile Footer Redesign - V3 Premium */
@media (max-width: 992px) {
  .atm-v3-mobile-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    flex-direction: column;
    gap: 12px;
  }

  .atm-v3-footer-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .atm-v3-footer-total-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
  }

  .atm-v3-footer-total-val {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
  }

  .atm-v3-footer-nav-btns {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .atm-v3-btn-back-mob {
    width: 54px !important;
    height: 54px !important;
    flex-shrink: 0;
    border-radius: 12px !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
  }

  .atm-v3-btn-continue-mob {
    flex: 1;
    height: 54px;
    background: #1e293b !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
  }

  /* Phone Input Fix */
  .iti--allow-dropdown input,
  .iti--allow-dropdown input[type=text],
  .iti--allow-dropdown input[type=tel] {
    padding-left: 52px !important;
  }

  .atm-v3-step3-container {
    padding: 0 15px 120px 15px !important;
  }

  .atm-v3-form-section {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }
}

/* Ensure intl-tel-input is always above */
.iti {
  width: 100% !important;
}

.iti__flag-container {
  z-index: 10;
}

@media (min-width: 993px) {
  .atm-v3-form-footer-nav {
    display: flex;
  }
}

/* Step 4: Success Page */
.atm-v3-step4-container {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background: #f8fafc;
  min-height: 80vh;
}

.atm-v3-success-card {
  background: #fff;
  width: 100%;
  max-width: 600px;
  padding: 48px;
  border-radius: 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin: 40px auto;
}

.atm-v3-success-header {
  margin-bottom: 40px;
}

.atm-v3-checkmark-circle {
  width: 80px;
  height: 80px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.atm-v3-checkmark-svg {
  width: 52px;
  height: 52px;
}

.atm-v3-checkmark-circle-bg {
  stroke: #10b981;
  stroke-width: 2;
}

.atm-v3-checkmark-check {
  stroke: #10b981;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: atm-checkmark 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards 0.3s;
}

@keyframes atm-checkmark {
  to {
    stroke-dashoffset: 0;
  }
}

.atm-v3-success-title {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.atm-v3-success-subtitle {
  font-size: 16px;
  color: #64748b;
}

.atm-v3-ref-banner {
  background: #f1f5f9;
  padding: 16px;
  border-radius: 16px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
  min-width: 200px;
}

.atm-v3-ref-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.atm-v3-ref-id {
  font-size: 20px;
  color: #1e293b;
  font-weight: 800;
}

.atm-v3-journey-summary {
  background: #fff;
  border: 1.5px solid #f1f5f9;
  border-radius: 20px;
  padding: 24px;
  text-align: left;
  margin-bottom: 40px;
}

.atm-v3-summary-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
}

.atm-v3-summary-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.atm-v3-summary-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atm-v3-info-label {
  font-size: 12px;
  color: #94a3b8;
}

.atm-v3-info-value {
  font-size: 14px;
  color: #1e293b;
  font-weight: 600;
}

.atm-v3-summary-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.atm-v3-summary-date-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
}

.atm-v3-summary-total {
  text-align: right;
}

.atm-v3-summary-total span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

.atm-v3-summary-total strong {
  font-size: 18px;
  color: #1e293b;
  font-weight: 800;
}

.atm-v3-next-steps {
  text-align: left;
  margin-bottom: 40px;
}

.atm-v3-next-steps-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.atm-v3-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.atm-v3-steps-list li {
  display: flex;
  gap: 16px;
}

.atm-v3-step-icon {
  width: 32px;
  height: 32px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.atm-v3-step-text p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.atm-v3-success-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atm-v3-btn-home {
  background: #1e293b !important;
  color: #fff !important;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}

.atm-v3-btn-home:hover {
  background: #334155 !important;
  transform: translateY(-2px);
  color: #fff !important;
}

.atm-v3-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  color: #25d366 !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

/* =========================================================
   10) INTERNATIONAL PHONE INPUT THEME PROTECTION
   ========================================================= */
.iti {
  color: #1e293b !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.iti__country-list {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  color: #1e293b !important;
  z-index: 999999 !important;
  padding: 0 !important;
  margin: 8px 0 0 0 !important;
  list-style: none !important;
}

.iti__country {
  color: #1e293b !important;
  padding: 10px 14px !important;
  background-color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: none !important;
  text-align: left !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

.iti__country-name {
  color: #1e293b !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.iti__dial-code {
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.iti__selected-flag {
  background-color: transparent !important;
  border-right: 1px solid #e2e8f0 !important;
  padding: 0 12px !important;
}

.atm-input-v2[type="tel"],
input[type="tel"].atm-input-v2,
.iti input[type="tel"] {
  color: #1e293b !important;
  background-color: #ffffff !important;
}