/* =====================================================
   RAAHI RIDES - UNIFORM HORIZONTAL LAYOUT (FINAL)
   ===================================================== */

/* ---------- GLOBAL RESET ---------- */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

:root {
  --raahi-green: #024542;
  --raahi-orange: #ff6b00;
  --raahi-bg: #f9f9f9;
}




/* ---------- WRAPPER ---------- */
.raahi-ride-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  background: transparent;
 
  font-family: 'Poppins', sans-serif;
}

/* ---------- MAIN HORIZONTAL ROW ---------- */
.raahi-main-top-row
{
  display: flex;
    /* align-items: stretch; */
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    padding: 10px 16px 16px 16px;
    border-radius: 14px;
    box-shadow: rgba(2, 69, 66, 0.1) 0 2px 6px;
    margin-bottom: -20px;
    z-index: 99;
    position: relative;
    width: 90%;
    /* text-align: center; */
    /* align-items: center; */
    margin: 0 auto;
    margin-bottom: -45px;
}
.raahi-main-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  /*gap: 10px;*/
  flex-wrap: wrap;
  background: #fff;
  padding: 50px 16px 46px 16px;
  border-radius: 14px;
  box-shadow: rgba(2, 69, 66, 0.1) 0 2px 6px;
 
}

/* ---------- COLUMN BASE ---------- */
.raahi-main-row .raahi-col {
  flex: 1;
  min-width: 130px;
  position: relative;
}

.raahi-main-row .raahi-col.small {
  flex: 0 0 150px;
}

/* ---------- LABEL ---------- */
.raahi-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--raahi-green);
  display: block;
  margin-bottom: 2px;
font-family: 'Montserrat', 'Open Sans';
}

/* ---------- INPUTS & SELECTS ---------- */
.raahi-input,
select.raahi-input,
input.raahi-input {
  width: 100%;
    height: 45px;
    font-size: 12.5px;
    font-weight: 500;
    color: #024542;
   padding: 0 10px 0 30px !important;
    border: 1.5px solid #e0e0e0;
    background: var(--raahi-bg) !important;
    /*border-radius: 8px !important;*/
    appearance: none !important;
    line-height: 40px !important;
    transition: all 0.3s ease !important;
    font-family: 'Montserrat', 'Open Sans';
    cursor: pointer;
}
#raahi-pickup {
    height: 100px;
    width: 100%;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: none;
    border-radius: 8px;
     border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    
}
#raahi-drop {
    height: 100px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: none;
}

.raahi-input:hover {
    border-color: #ff6b00;
}
.raahi-input:focus,
select.raahi-input:focus {
  outline: none;
  border-color: var(--raahi-green);
  box-shadow: 0 0 6px rgba(2, 69, 66, 0.25);
}
#raahi-ride-type {
    padding: 0 0 0 10px !important;
    border-radius: 8px;
}
#raahi-ride-tier {
    border-radius: 8px;
}
.raahi-input::placeholder {
  color: #ccc;
  opacity: 1;
  font-size: 35px !important;
  line-height: 60px;
  font-family: 'Montserrat', 'Open Sans';
  font-size: 12.5px;
}
#raahi-pickup-date {
    height: 100px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: none;
}
#raahi-pickup-time {
    height: 100px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-radius: 8px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#raahi-hours
{
   height: 100px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: none;
}
#raahi-return-datetime
{
   height: 100px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: none;
}
/* ---------- ICONS ---------- */
.raahi-main-row i {
  position: absolute;
  left: 12px;
 top: 43px;
  color: #ffceaa;
  font-size: 14px;
  pointer-events: none;
}

/* ============================================
   GOOGLE AUTOCOMPLETE – PREMIUM RAAHI DROPDOWN
   ============================================ */

.pac-container {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.20) !important;
    border: 1px solid #e5e5e5 !important;
    padding: 6px 0 !important;
    z-index: 9999999 !important;
}

/* Each suggestion row */
.pac-item {
    padding: 14px 18px !important;
    font-size: 15px !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    border-bottom: 1px solid #f2f2f2 !important;
    position: relative !important;
}

/* Location icon */
.pac-item::before {
    content: "\f3c5"; /* FontAwesome map-marker-alt */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 15px;
    color: #024542;
    margin-right: 8px;
}

/* Main text (city) */
.pac-item .pac-item-query {
    font-weight: 600 !important;
    color: #024542 !important;
    font-size: 16px !important;
}

/* Second line (area, region) */
.pac-matched {
    color: #777 !important;
    font-size: 13px !important;
}

/* Hover */
.pac-item:hover {
    background: #f3faf9 !important;
}

/* Remove bottom Google branding */
.pac-logo:after {
    display: none !important;
}


/* ---------- SELECT (DROPDOWN) ARROW ---------- */
select.raahi-input {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23024542' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

/* ---------- ACTION BUTTON ---------- */
.raahi-actions {
 text-align: center;
 position: relative;
    margin-top: -20px;
}

.raahi-btn {
 height: 45px;
    /* line-height: 60px; */
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    background: #ff6b00;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: montserrat, 'Open Sans';
   
    margin-bottom: 20px;
   }

.raahi-btn:hover {
  background: #03675f;
   transform: translateY(-4px);
}

/* ---------- DISCOUNT GROUP ---------- */
.discount-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: rgba(2, 69, 66, 0.05) 0 2px 5px;
 
}

.discount-group .pill-option {
  background: #f3f3f3;
    color: #6b6b6b;
    border-radius: 20px;
    padding: 0px 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.discount-group .pill-option:hover {
  background:#ffac70;
  color:#fff;
}

.discount-group .pill-option.active {
  background: var(--raahi-orange);
  color: #fff;
  border-color: var(--raahi-orange);
}
.pill-option input {
  display: none;
}

/* ---------- DISTANCE & FARE INFO ---------- */
.raahi-distance {
  font-size: 14px;
  font-weight: 500;
  color: var(--raahi-green);
  margin-top: 10px;
  padding: 0 0 0 15px;
}

.raahi-fares-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--raahi-green);
  padding: 0 0 0 15px;
}

/* Container Wrapper */
.raahi-fares {
  background: #fff;
  border-radius: 10px;
  box-shadow: rgba(2, 69, 66, 0.05) 0 2px 5px;
  padding: 0 0 0 15px;
}

.raahi-fares-message {
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* Hidden by default until JS activates */
#raahi-distance-info,
.raahi-fares-heading,
#raahi-fares {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

/* ============================================================
   RAAHI FARE CAR DISPLAY - RESPONSIVE GRID + ANIMATIONS
============================================================ */

#raahi-fares {
  
  margin-top: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: rgba(2, 69, 66, 0.08) 0 2px 8px;
  opacity: 0;
  transition: opacity 0.4s ease !important;
}

/* When JS shows fares */
#raahi-fares.show {
  display: flex;
  opacity: 1;
}
.raahi-fares-cards {
    display: flex;
    justify-content: space-evenly;
}
/* Individual Fare Card */
.raahi-fare-card {
 width: 32%;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: block;
font-size: .8em;
    font-family: 'Montserrat', 'Open Sans';
}

.raahi-fare-card:hover {
  background: #e7f6f4;
  border-color: #024542;
  box-shadow: 0 6px 18px rgba(2, 69, 66, 0.15); /* elevated hover shadow */
  transform: translateY(-4px);
}
.raahi-fare-title {
    padding: 4px;
    background: #ff6b00;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    font-size:1em;
}
.raahi-fare-spec, .raahi-fare-right {
   
    font-size: .9em;
}
/* Car image */
.raahi-fare-card img {
  width: 90px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* Car title */
.raahi-fare-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: #024542;
  margin: 4px 0;
}

/* Car details (e.g., 4 seater, AC) */
.raahi-fare-card .raahi-car-info {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

/* Fare price */
.raahi-fare-card .raahi-car-price {
  font-size: 16px;
  font-weight: 700;
  color: #ff6b00;
}

/* Best choice badge */
.raahi-fare-card .raahi-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #024542;
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Toast message styling */
.discount-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #024542;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: none;
  z-index: 9999;
}

/* ================================
   SHIMMER LOADER STYLING
================================== */
.raahi-fare-loading {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
}

.raahi-shimmer-card {
  flex: 1 1 calc(33.33% - 15px);
  min-width: 250px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
}

/* Car image placeholder shimmer */
.shimmer-car-img {
  width: 90px;
  height: 60px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: linear-gradient(100deg, #f6f6f6 20%, #e8e8e8 50%, #f6f6f6 80%);
  background-size: 200% 100%;
  animation: shimmer-move 1.3s infinite linear;
  margin-left: auto;
  margin-right: auto;
}

.raahi-shimmer-line {
  height: 10px;
  background: linear-gradient(100deg, #f6f6f6 20%, #e8e8e8 50%, #f6f6f6 80%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer-move 1.3s infinite linear;
  margin-bottom: 8px;
}

.raahi-shimmer-line.line-1 { width: 60%; height: 14px; margin-left: auto; margin-right: auto; }
.raahi-shimmer-line.line-2 { width: 80%; height: 10px; margin-left: auto; margin-right: auto; }
.raahi-shimmer-line.line-3 { width: 40%; height: 10px; margin-left: auto; margin-right: auto; }

.price-placeholder {
  width: 50%;
  height: 16px;
  background: linear-gradient(100deg, #f5f5f5 20%, #e5e5e5 50%, #f5f5f5 80%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer-move 1.3s infinite linear;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

/* shimmer keyframes */
@keyframes shimmer-move {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Message when no fare shown */
.raahi-fares-message {
  text-align: center;
  color: #777;
  width: 100%;
  padding: 12px 0;
  font-size: 0.95rem;
}

/* ================================
   SMOOTH FADE BEHAVIOR
================================== */
#raahi-fares.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
#raahi-fares.fade-out {
  animation: fadeOut 0.5s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

/* ================================
   RESPONSIVE TWEAKS
================================== */
@media (max-width: 768px) {
  #raahi-fares {
    flex-direction: column;
    gap: 10px;
  }

  .raahi-fare-card {
    flex: 1 1 100%;
  }

  .raahi-fare-card img,
  .shimmer-car-img {
    width: 70px;
    height: 50px;
  }

  .raahi-fare-card h4 {
    font-size: 14px;
  }

  .raahi-fare-card .raahi-car-price {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .raahi-fare-card {
    min-width: 100%;
  }
}




/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .raahi-main-row {
    flex-direction: column;
    align-items: stretch;
  }

  .raahi-main-row .raahi-col,
  .raahi-actions {
    flex: 1 1 100%;
  }

  .raahi-btn {
    width: 100%;
    height: 55px;
   
  }

  .discount-group {
    justify-content: center;
  }
  
  .raahi-ride-wrap 
  {
      margin:0 auto;
  }
  .raahi-main-row .raahi-col.small
  {
      flex:0;
  }
  .raahi-btn
  {
      margin-top:10px;
  }
  .rd-cta-grid {
        grid-template-columns: none;
        display:flex;
    }
}

@media (max-width: 480px) {
    
    .raahi-main-row {
    display: block;
    }
    .raahi-label {
        margin-top: 8px;
    }
 
  .raahi-input, select.raahi-input, input.raahi-input {
  
    padding: 0 10px 0 25px !important;
  }


    .raahi-btn {
        height: 45px;
        line-height: 2px;
    }
  .raahi-label {
    font-size: 12px;
  }
   .discount-group {
    justify-content: left;
  }
  .discount-group .pill-option 
  {
      font-size: .7em;
  }
  .raahi-fares 
  {
      font-size: .7em;
    font-weight: 500;
  }
  .raahi-fares-heading, .raahi-distance 
  {
      font-size:.7em;
  }
  .cta-aboutbutton-mobile {
    text-align: center;
    margin-top: 20px;
    padding: 10px 10px;
    background: #ff6b00;
    border-radius: 8px;
    height: 45px;
    line-height: 25px;
    color:#fff;
}
.cta-aboutbutton-mobile:hover {
    text-align: center;
    margin-top: 20px;
    padding: 10px 10px;
    background: #024542;
    border-radius: 8px;
    height: 45px;
    line-height: 25px;
}
}



/* =====================================================
   END OF FILE (VISUAL REBUILD COMPLETE)
   ===================================================== */
