body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f8f9fa; 
    color: #333;
    line-height: 1.6;
  }

  section{
    padding: 0px;
  }

  .van-title {
      background-color: #e8e8e8;
      background: linear-gradient(90deg,rgba(232, 232, 232, 1) 0%, rgba(232, 232, 232, 1) 75%, var(--primary-color-superlight) 100%);
      padding: 5px 25px;
      border-bottom: 1px solid #ddd;
      overflow: hidden;
      display: flex;
      flex-direction: row;  
      justify-content: space-between;
      align-items: center;
  }
  
  .van-title h2 {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      padding: 0px;
      margin: 0px;
  }

  .van-title h3 span {
    margin-right: 0px;
    margin-left: auto;
  }
  
.loading .date-price, .loading .price-per-day, .loading .total-price{
  opacity: 0.4;
  animation-name: loadingAnimation;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}


.loading button:disabled,
.loading button[disabled]{
  border: 1px solid #bebebe;
  background-color: #cccccc;
  color: #666666;  
  opacity: 0.4;
  animation-name: loadingAnimation;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}


@keyframes loadingAnimation {
  0%{
    opacity: 0.4;
  }
  50%{
    opacity: 0.2;
  }
  100%{
    opacity: 0.4;
  }
}

  .van-container {  
      background-color: #fff;
      border: 1px solid #dee2e6; 
      max-width: 950px;
      margin: auto;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
      overflow: hidden;
      margin-bottom: 20px;  
      position: relative;
  }
  
  .booking-container {
      padding: 25px;
  }
  
  
  .van-details-booking {
    display: flex;
    gap: 25px; 
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef; 
  }
  
  .van-info {
    flex-basis: 220px; 
    flex-shrink: 0; 
  }
  
  .van-info-container{
    display: flex;
    flex-direction: column;
    gap: 25px; 
    flex-grow: 1;
  }
  
  .van-info-horizontal-split{
    display: flex;
    gap: 25px; 
    flex-direction: row;  
  }
  
  
  .image-slider-container{
  
      background-color: #e9ecef; 
      border: 1px solid #ced4da;
      overflow: hidden;
      border-radius: 4px;
      padding-bottom: 10px;
  }
  
  .van-description-label {
    font-size: 14px;
    color: #495057; 
  }
  
  .features-list {
    flex-grow: 1;
    padding-top: 5px; 
  }
  
  .features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .features-list li {
    font-size: 14px;
    margin-bottom: 6px;
    color: #343a40; 
  }
  
  .booking-options {
    flex-basis: 300px; 
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 18px; 
  }
  
  
  .save-tag {
    color: #28a745; 
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }
  .location-btn.selected .save-tag {
      color: #fff; 
  }
  
  
  .info-message {
    background-color: #f8f9fa; 
    padding: 10px;
    font-size: 13px;
    color: #495057;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;  
    margin-left: auto;
  }
  
  .info-icon {
    font-weight: bold;
    margin-right: 8px;
    color: #343a40;
    font-size: 16px; 
  }
  
  .action-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px; 
  }
  
  .action-area .price-summary {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding-left: 20px;
  }
  
  .price-per-day {
    font-size: 22px; 
    font-weight: bold;
    color: #000;
  }
  
  .total-price {
    font-size: 13px;
    color: #6c757d; 
  }
  
  .book-button {
    background-color: var(--primary-color); 
    color: #fff;
    padding: 12px 25px; 
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s ease;
  }
  
  .book-button:hover {
    background-color: var(--primary-color-darker); 
  }
  
  
  
  .date-row {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #e9ecef;
  }
  
  .date-label {
    flex-basis: 130px; 
    flex-shrink: 0;
    font-size: 15px;
    font-weight: bold;
    
    color: #212529;  
    align-self: center;
  }
  
.dates-scroll-container{
  overflow-x: scroll;
}

  .date-options {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;  
    width: fit-content;  
    padding: 12px 0px;
  }
  
  .date-option {
    border: 1px solid #ced4da;
    padding: 8px 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    background-color: #f8f9fa; 
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }
  
  
  .date-option:hover {
    border-color: #adb5bd;
    background-color: #f1f3f5;
  }
  
  
  
  .date-option.recommended {
      border-color: #28a745;  
  }
  
  .date-option.recommended:hover {
      background-color: #99ecad;
  }
  
  
  
  .recommended-tag {  
      position: absolute;  
      width: calc(100% + 2px);
      top: -12px;
      left: -1px;
      background-color: #28a745;
      border: 1px #28a745 solid;
      color: white;
      font-size: 10px;
      padding: 2px 0px;
      border-radius: 3px;
      white-space: nowrap;
      display: none;
      visibility: hidden;
  }
  .recommended .recommended-tag{
    display: block;
    visibility:  visible;
  }
  
  
  .date-option.selected {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    font-weight: bold;
  }
  .date-option.selected .date-price,
  .date-option.selected .per-day {
      color: #fff;
  }
  
  .date-value {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;        
  }
  
  .date-price {
    font-size: 14px;
    color: #343a40;
  }
  
  .per-day {
    font-size: 11px;
    color: #6c757d;
  }

  
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);  
    padding: 0px;
  }
  
  .carousel-arrow.prev {
    left: 0px;
  }
  
  .carousel-arrow.next {
    right: 0px;
  }

  .carousel-arrow p{
    font-size: 18px;
    margin: 0px;
    padding: 0px;
      padding-bottom: 0px;
    padding-bottom: 4px;
  }
  
  /* Style for disabled arrows (when at the start or end) */
  .carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  
.date-container{
  overflow-x: hidden;
  position: relative;
}

.date-options{
  width: 100%;
}

  .date-carousel {
    position: relative;
    width: 100%;
    padding: 0 20px; 
    box-sizing: border-box;
  }
  
  
  .carousel-viewport {
    overflow: hidden;
    width: 100%;  
    margin-left: 10px;
  }
  
  
  .carousel-track {
    display: flex;
    gap: 1rem; 
    transition: transform 0.4s ease-in-out;
  }
  
  /* Each individual item in the carousel */
  .carousel-item {
    flex: 0 0 calc(20% - 1rem);
    box-sizing: border-box;
  }
  
  .date-long-month{
    visibility: visible;
    display: inline;
  }
  .date-short-month{
    visibility: hidden;
    display: none;
  }
  
  @media (max-width: 850px) { 
    
  .date-short-month{
    visibility: visible;
    display: inline;
  }
  .date-long-month{
    visibility: hidden;
    display: none;
  }

    .van-details-booking {
      flex-direction: column;
    }
  
    .van-info, .features-list, .booking-options {
      flex-basis: auto;
      width: 100%;
    }
  
    .features-list {
      margin-top: 20px;
    }
  
    .booking-options {
      margin-top: 20px;
    }
  
    .date-row {
      flex-direction: column;
      align-items: stretch;
    }
  
    .date-label {
      flex-basis: auto;
      margin-top: 10px;
      padding-top: 0; 

    }
    
  
    .van-info-horizontal-split{
      gap: 5px; 
      flex-direction: column;  
    }
  }
  
  @media (max-width: 576px) { 
    .page-header h1 {
      font-size: 24px;
    }
    .booking-container {
      padding: 15px;
    }
    .action-area {
      flex-direction: column;
      align-items: stretch;
    }
    .action-area .price-summary {
      margin-bottom: 10px;
      align-items: center; 
    }
    .action-area .book-button {
      width: 100%;
    }
    .date-options {
      gap: 5px; 
      padding: 6px 0px;
    }
    .date-option {
      padding: 4px 4px;
    }
    .price-per-day {
      font-size: 20px;
    }
  
    .info-message{
      margin-left: 0px;
    }

    .carousel-track {
      display: flex;
      gap: 5px; 
      transition: transform 0.4s ease-in-out;
    } 
    .carousel-item {
      flex: 0 0 calc(20% - 5px);
    }

  }

  .info-recommendation span{
    display: none;
    visibility: hidden;
  }
  
  .info-recommendation:not(.change-pickup-date):not(.change-dropoff-date) .lock-price-text{
    display: inline;
    visibility: visible;
  }

  .info-recommendation.change-dropoff-date:not(.change-pickup-date) .dropoff-date-text{
    display: inline;
    visibility: visible;
  }

  .info-recommendation.change-pickup-date:not(.change-dropoff-date) .pickup-date-text{
    display: inline;
    visibility: visible;
  }
  .info-recommendation.change-pickup-date.change-dropoff-date .both-date-text{
    display: inline;
    visibility: visible;
  }





  
  .location-picker h3 {
    font-size: 15px; 
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #212529;
  }
  
  .location-btn:last-child {
    margin-bottom: 0;
  }
  
  .location-btn:hover {
    border-color: #adb5bd;
  }
  
  .location-select {
    
    display: block;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 6px;
    border: 1px solid #ced4da; 
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    color:black;

    background-color: var(--secondary-color); 
    color: #fff;
    border-color: var(--secondary-color);
    font-weight: bold;

    background-color: #f8f9fa;
    border: 1px solid #adb5bd;
    border-radius: 4px;
    color:black;
  }
