
/* flight upgrade offer css start here */ 
 

    .fare-options-container {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      max-width: 1200px;
      width: 100%;
      padding: 30px;
      overflow: hidden;
      box-sizing: border-box;
    }

    .fare-header {
      margin-bottom: 20px;
    }

    .fare-header h3 {
      color: #0162bd;
      margin: 0 0 10px;
      font-size: 1.5em;
    }

    .trip-info-upgrade {
      font-size: em;
      margin-bottom: 8px;
    }

    .note-upgrade {
      background: #fef6e4;
      border: 1px solid #fcd581;
      padding: 8px 12px;
      font-size: 1.1em;
      border-radius: 5px;
      color: #333;
      margin-bottom: 20px;
    }
 


    .slider {
      display: flex;
      align-items: center;
      position: relative;
    }

    .cards {
      display: flex;
      overflow-x: auto;
      scroll-behavior: smooth;
      gap: 16px;
      padding: 10px 0;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    .cards::-webkit-scrollbar {
      display: none;
    }


    .fare-card {
      flex: 0 0 330px;
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.15);
      background: #fff;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }
  

    .fare-card-header {
      background: #0056b3;
      color: #fff;
      text-align: center;
      padding: 15px;
      border-radius: 10px 10px 0 0;
    }

    .fare-card-header img {
      width: 40px;
      margin-bottom: 8px;
    }

    .fare-card-header h3 {
      margin: 0;
      font-size: 1.4em;
      color: #fff;
    }

    .fare-card-header p {
      font-size: 0.9em;
      margin: 4px 0 0;
    }

    .price-upgrade {
      color: #023368;
      font-size: 1.5em;
      font-weight: bold;
      margin: 12px 15px 4px;
    }

    .sub-info-upgrade {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 0 15px 8px;
      font-size: 1em;
      font-weight: bold;
    }

    .sub-info-upgrade input[type="radio"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
    }

    .divider {
      border-bottom: 1px solid #ddd;
      margin: 0 15px 12px;
    }

    .section-title-up {
      font-size: 0.9em;
      font-weight: bold;
      color: #023368;
      margin: 0 15px 8px;
    }

    .fare-details, .fare-flexibility {
      list-style: none;
      margin: 0 15px 12px;
      padding: 0;
    }

    .fare-details li, .fare-flexibility li {
      display: flex;
      align-items: center;
      font-size: 0.9em;
      margin-bottom: 8px;
    }

    /* --- ADDED CIRCLE BACKGROUND TO CHECKMARKS --- */
    .fare-details li::before {
      content: "✔";
      color: #fff;
      background: #00b894;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 8px;
      font-size: 16px; /* Reduced font size to fit inside circle */
      flex-shrink: 0; /* Prevents circle from squishing */
    }

    .fare-flexibility li.refund::before {
      content: "✖";
      color: #fff;
      background: #dc3545;
      border-radius: 50%;
      font-size: 10px;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 8px;
      flex-shrink: 0;
    }

    .fare-flexibility li.change::before {
      content: "$";
      color: #fff;
      background: #007bff;
      border-radius: 50%;
      font-size: 10px;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 8px;
      flex-shrink: 0;
    }

    .fare-actions {
      margin: auto 15px 15px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .fare-actions button {
      padding: 8px;
      border: 1px solid #aed5ff;
      border-radius: 5px;
      cursor: pointer;
      font-size: 0.9em;
      font-weight: bold;
      transition: 0.3s;
    }

    .btn-upgrade {
      background: #eaf4ff;
      color: #01346b;
    }

    .btn-upgrade:hover {
      background: #007bff;
      color: #fff;
    }

    .btn-basic {
      background: #0056b3;
      color: #fff;
    }

    .btn-basic:hover {
      background: #007bff;
    }

    .arrow {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #01458d;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
      color: #fff;
      font-weight: bold;
      z-index: 10;
    }

    .arrow.upgrade.left { left: -15px; }
    .arrow.upgrade.right { right: -15px; }

/* This applies ONLY to screens smaller than 768px */
@media (max-width: 767px) {
  .fare-details li::before, 
  .fare-flexibility li.refund::before, 
  .fare-flexibility li.change::before {
      width: 20px;
      height: 20px;
      font-size: 16px;
  }

.fare-card {
    flex: 0 0 300px !important;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    background: #fff;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.fare-header h3 {
    color: #0162bd;
    margin: 0 0 10px;
    font-size: 1em;
}
.fare-card-header h3 {
    margin: 0;
    font-size: 0.9em;
}
.trip-info {
    font-size: 0.8em;
    margin-bottom: 8px;
}
 .fare-options-container {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      max-width: 1200px;
      width: 100%;
      padding: 15px;
      overflow: hidden;
      box-sizing: border-box;
    }
      .arrow.left { left: -15px !important; }
      .arrow.right { right: -15px !important; }
}
    

/* flight upgrade offer css end here */ 