/* Main container */
.kadence-parking-tabs {
  background: #ffffff;
  border-radius: 2rem;
  padding: 1.3rem 1.5rem;
  max-width: 600px;
  margin: 0em auto;
  box-shadow: 0 10px 30px rgb(33 33 33 / 42%);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  }
/* Tab bar */
  .tabs-buttons.modern-style {
      display: flex;
      justify-content: space-between;
      background: #00295d;
      border-radius: 50px;
      padding: 2px;
      margin-bottom: 1em;
      position: relative;
  }
  .tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.05em;
    border-radius: 50px;
    padding: 0.3em 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin:3px;
  }
  .tab-btn.active {
      background: #ffc102;
      color: #152148;
      box-shadow: 0 0 0 0px #ffc102 inset;
  }
  .tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
  }

/* Panels */
  .tab-panel {
    display: none;
    animation: fadeIn 0.3s ease forwards;
  }
  .tab-panel.active {
    display: block;
  }

/* Card style */
/* Main white box container inside each tab */
  .tab-box {
  border-radius: 15px;
  padding: 0.4em 0.4em 0.3em;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  transition: max-width 0.3s 
ease;
  }

/* Form layout — keeps spacing balanced even with a wider box */
  .tab-box form {
      display: flex;
      justify-content: center;
      align-items: stretch;
      max-width: 100%;
      margin: 0 auto;
  }

/* Inputs and buttons scale smoothly */
  .tab-box input[type="text"], .tab-box input[type="number"] {
      flex: 1;
  padding: 1em 1.2em 0.9em 1em;
  border-radius: 6px;
  width: 100%;
  border: 0px solid #ffffff !important;
  background: #f0f1f5;
      font-size: 1em;
      font-family: inherit;
      color: var(--global-palette1);
      outline: none;
      transition: border-color 0.25s ease;
  }
  .tab-box button {
      background: #ffc102;
      color: #152148;
    padding: 1em 1.8em; /* slightly wider for balance */
    border: none;
    font-weight: 500;
    font-size: 1em;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
  }

/* Headings */
  .tab-box h4 {
  color: var(--global-palette1);
    margin-bottom: 0.1em;
    letter-spacing:0px;
    font-size: 1.3em;
    font-family: inherit;
    text-align:left;
    font-weight:500;
    text-transform:capitalize;
  }
  .tab-box p {
font-weight: 500;
  color: #000000;
  font-size: 1.2em;
  margin-bottom: 12px !important;
  font-family: inherit;
  opacity: 0.8;
  line-height: 1.2em;
  text-align: left;
  }

/* Input + button wrapper */
  .tab-box form {
    display: flex;
    flex-direction: column; /* fields stack vertically */
    gap: 1em;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .tab-box input:focus {
    border-color: #00295d;
    box-shadow: 0 0 0 2px rgba(0, 41, 93, 0.15);
  }
  
/* --- PLACEHOLDER COLOR --- */
  .tab-box input::placeholder {
   color: #000000;
    font-weight: 500;
    opacity: 0.3;
  }

/* --- BUTTON --- */
  .tab-box button {
  align-self: flex-start;
  background: #ffc102;
  color: #152148;
  padding: 0.4em 1.2em 0.3em;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  font-size:17px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  }


/* --- PAY NOTICE TWO-COLUMN (still side by side for desktop) --- */
  .notice-fields {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.7em;
    margin-bottom: 0em;
    width: 100%;
    align-items: center;
  }

  .notice-fields-or {
    font-weight: 600;
    color: #666;
    font-size: 1em;
    text-align: center;
    margin-top: 40px;
  }
  
  .notice-fields .field {
    width: 100%;
  }
  .notice-fields label {
  display: block;
  font-weight: 500;
  color: #404040;
  font-size: 1.1em;
  margin-bottom: 9px !important;
  font-family: inherit;
  opacity: 0.8;
  text-align: left;
  }
  
/* Continue button (optional) */
  .continue-btn {
    display: inline-block;
    background: #134247;
    color: #fff;
    font-weight: 500;
    font-size: 1em;
    border: none;
    border-radius: 40px;
    padding: 0.9em 2.4em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 1.2em;
  }
  .continue-btn:hover {
    background: #0f383d;
  }

/* Input + subtle location icon */
  .geo-input-wrap {
    position: relative;
    display: flex;
    align-items: flex-end; /* helps align with text baseline */
    width: 100%;
  }
  .geo-input-wrap input {
    flex: 1;
    width: 100%;
    padding: 1em 2.8em 1em 1.2em; /* add space on the right for icon */
    border-radius: 10px;
    border: 1px solid #e2e2e2;
    background: #fff;
    font-size: 1em;
    font-family: inherit;
    color: #222;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .geo-input-wrap input:focus {
    border-color: #00295d;
    box-shadow: 0 0 0 2px rgba(0, 41, 93, 0.1);
  }

/* Placeholder style */
  .geo-input-wrap input::placeholder {
    color: #000000;
    font-weight: 500;
    opacity: 0.3;
  }

/* The location icon */
  .geo-icon {
    position: absolute;
    right: 0.9em;
    bottom: 0.9em; /* aligns the icon slightly lower */
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, transform 0.2s ease;
  }
  .geo-icon:hover {
    color: #c0c0c0; /* gold accent */
    transform: scale(1.1);
  }
  .kadence-icon {
    width: 21px;
    height: 21px;
    pointer-events: none;
  }
  
  

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
/* Responsive */
  @media (max-width: 768px) {
    .kadence-parking-tabs {
      padding: 1em 0.8em;
      border-radius: 1.4rem;
    }
    .tab-box form {
      flex-direction: column;
    }
    .tab-box input,
    .tab-box button {
      border-radius: 12px;
    }
      .notice-fields {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
    }
    .notice-fields-or {
      margin: 0.25em 0;
      text-align: left;
    }
  
    .tab-box button {
      width: 100%;
      text-align: center;
    }
  }

/* --- MOBILE: Show all 3 tabs (compact layout) --- */
@media (max-width: 612px) {

.tabs-buttons.modern-style {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 6px;
  background: #00295d;
  border-radius: 13px;
}

/* All 3 tabs visible, larger buttons, text centered */
.tab-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 9em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(0.4em, 3vw, 7em);
  font-weight: 600;
  line-height: 1.2;
  padding: 0.85em 0.3em;
  margin: 0;
  white-space: normal;
  word-break: break-word;
  border-radius: 10px;
}
/* Hide arrows when all tabs are visible */
.tab-arrow {
  display: none !important;
}
}

/* --- Hide arrows and restore desktop layout above 612px --- */
@media (min-width: 613px) {
.tab-arrow {
  display: none !important;
}
.tabs-buttons.modern-style {
  justify-content: space-between;
  padding: 6px;
}
.tab-btn {
  display: inline-block;
}
}

/* --- GOOGLE AUTOCOMPLETE OVERRIDE --- */
.pac-container {
  font-family: 'DM Sans', sans-serif !important;
  border: 1px solid var(--gold) !important;
  border-radius: 0 0 6px 6px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
  z-index: 9999 !important;
}
.pac-item          { padding: 8px 12px !important; font-size: 13px !important; cursor: pointer !important; }
.pac-item:hover    { background: #fffbea !important; }
.pac-item-selected { background: #fffbea !important; }
.pac-matched       { color: var(--navy) !important; font-weight: 400 !important; }
.pac-icon          { display: none !important; }



