/* Main container */
    .kadence-parking-tabs {
    background: #ffffff;
    border-radius: 2rem;
    padding: 1.5rem 2rem;
  max-width: 700px;
    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.4em 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;
    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 1fr;
      gap: 1em;
      margin-bottom: 0em;
      width: 100%;
    }
    
    .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;
      }
      .tab-box form {
        flex-direction: column;
      }
      .tab-box input,
      .tab-box button {
        border-radius: 12px;
      }
        .notice-fields {
        grid-template-columns: 1fr;
      }
    
      .tab-box button {
        width: 100%;
        text-align: center;
      }
    }

/* --- MOBILE ARROWS ONLY (White Kadence SVGs) --- */
@media (max-width: 612px) {

  .tabs-buttons.modern-style {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0.2em 2.3em; /* space for arrows */
    background: #00295d; 
    border-radius: 50px;
  }

  /* Show one tab title only */
  .tab-btn {
    flex: 0 0 100%;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
  }
  .tab-btn:not(.active) {
    display: none;
  }

  /* Kadence-style arrows */
  .tab-arrow {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #ffffff;
    z-index: 5;
  }

  .tab-arrow.left {
        left: 0.1em;
        font-size: 54px;
        border-radius: 50px;
        padding: 12px;
    }
  .tab-arrow.right {
        right: 0.1em;
        font-size: 54px;
        border-radius: 50px;
        padding: 12px;
    }
    
    .tab-arrow.right:hover, .tab-arrow.left:hover {background:transparent;}

  .tab-arrow svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
  }

  .tab-arrow:hover svg {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* --- 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: 7px;
  }

  .tab-btn {
    display: inline-block;
  }
}



