:root {
      --theme-color: #198754;
      --bright-theme-color: #198754;
      --light-theme-color: #e7fff4;
      --dark-theme-color: #198754;
      /* --muted: #f6f6f6; */
      --text: #121212;
      --accent: #198754;
      --card-h: 360px;
      --card-w: 900px;
    }

     
      
    /* Filter / Search row */
    .rk-bh-filter-section {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 30px;
      width: 100%;
      max-width: 900px;
    }
    .rk-bh-filter-section select,
    .rk-bh-filter-section input[type="text"] {
      padding: 10px 14px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 6px;
      flex: 1 1 200px;
    }
    .rk-bh-filter-section select:focus,
    .rk-bh-filter-section input:focus {
      border-color: var(--bright-theme-color);
      outline: none;
    }

    /* History list (cards) */
    .rk-bh-history-list {
      /* display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
      width: 100%;
      max-width: 900px; */
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    }
    .rk-bh-history-item {
        width: 100%;
      position: relative;
      cursor: pointer;
      margin-bottom: 20px;
    }
    .rk-bh-history-item .boarding-wrap {
      /* width: var(--card-w); */
      max-width: 100%;
      /* height: var(--card-h); */
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(0,0,0,0.12);
      overflow: hidden;
      position: relative;
      display: flex;
      align-items: stretch;
      background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
      transition: transform 0.3s, box-shadow 0.3s;
          border: 6px solid var(--theme-color)
    }
    .rk-bh-history-item:hover .boarding-wrap {
      transform: scale(1.02);
      box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    }

    /* Top red header */
    .boarding-wrap .top-left h1{
      color: white;
    }
    .boarding-wrap .top-left {
      position: absolute;
      left: 0;
      top: 0;
      height: 50px;
      width: 60%;
      background: linear-gradient(90deg, var(--bright-theme-color), var(--theme-color));
      border-bottom-right-radius: 46px;
      display: flex;
      align-items: center;
      padding: 18px 15px;
      gap: 12px;
      color: white;
      z-index: 6;
      font-weight: 500;
    }
    .boarding-wrap .top-left .logo {
      width: 44px;
      height: 44px;
      border-radius: 6px;
      background: rgba(255,255,255,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
    }
    .boarding-wrap .top-left h1 {
      font-size: 18px;
      margin: 0;
      letter-spacing: 0.6px;
    }
    .boarding-wrap .top-right-tab {
       /* position: absolute;
    right: 18px;
    top: 7px; */
    width: 20%;
    /* height: 90px; */
    background: #aeffb5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 12px;
    z-index: 6;
    transform: translateY(-2px);
    border: 1px dashed var(--dark-theme-color);
    color: var(--dark-theme-color);
    text-align: center;
    }

    .boarding-wrap .left,
    .boarding-wrap .right {
      height: 100%;
      display: flex;
      padding: 15px;
      gap: 18px;
    }
    .boarding-wrap .left {
      width: 70%;
      padding-left: 15px;
      position: relative;
    }
    .boarding-wrap .right {
      width: 30%;
      border-left: 1px dashed rgba(0,0,0,0.08);
      background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.02));
      justify-content: flex-start;
      align-items: flex-start;
      position: relative;
    }

    .boarding-wrap .tear {
      position: absolute;
      right:29.7%;
      top: 0;
      bottom: 0;
      width: 2px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      z-index: 5;
    }
    .boarding-wrap .tear .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(0,0,0,0.12);
    }

    .boarding-wrap img {
      /* width: 100%;
      object-fit: cover;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 0; */
    }

    .boarding-wrap .map-bg {
      position: absolute;
      left: 0; right: 0; top: 0; bottom: 0;
      background-image: radial-gradient(circle at 15% 10%, rgba(0,0,0,0.03), transparent 50%);
      opacity: 0.08;
      z-index: 1;
      pointer-events: none;
    }

    .left .vertical-barcode {
      position: absolute;
      left: 6px;
      top: 88px;
      bottom: 36px;
      width: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 4;
    }
    .vertical-barcode svg {
      height: 100%;
      width: 100%;
    }

    .left .pass-type {
      background: rgba(217,74,74,0.08);
      padding: 10px 18px;
      border-radius: 4px;
      width: 220px;
      color: var(--dark-theme-color);
      font-weight: 700;
    }
    .left .pass-name {
      margin-top: 12px;
    }
    .left .pass-name .subtle {
      font-size: 13px;
      color: #666;
    }
    .left .pass-name h2 {
      margin: 14px 0 0 0;
      font-size: 22px;
      color: #222;
      font-weight: 500;
    }
    .left .meta-row {
      display: flex;
      gap: 10px;
      margin-top: 20px;
      flex-wrap: wrap;
    }
    .left .meta-col {
      min-width: 120px;
    }
    .left .meta-col .label {
      font-size: 13px;
      color: #666;
    }
    .left .meta-col .value {
      font-weight: 500;
      font-size: 20px;
      margin-top: 6px;
        color: #222 !important;
    }

    .left .flight-box {
      background: var(--light-theme-color);
      border: 1px dashed var(--dark-theme-color);
      color: white;
      width: 80%;
      /* max-width: 380px; */
      padding: 5px;
      border-radius: 6px;
      margin-top: 0px;
      display: flex;
      gap: 5px;
    }
    .left .flight-box .item {
      flex: 1;
    }
    .left .flight-box .item .small {
        color: var(--dark-theme-color);
      font-size: 14px;
      font-weight: 500;
    opacity: 0.8;
    }
    .left .flight-box .item .big {
      font-weight: 600;
      font-size: 22px;
      margin-top: 6px;
      color: var(--dark-theme-color);
    }

    .left .route-row {
      display: flex;
      gap: 20px;
      align-items: center;
      margin-top: 34px;
    }
    .airport {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .airport .muted {
      font-size: 13px;
      color: #666;
    }
    .airport .code {
      font-size: 34px;
      font-weight: 800;
    }
    .play-circle {
      width: 64px;
      height: 64px;
      border-radius: 999px;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 800;
      margin: 0 12px;
    }

    .right .mini-top {
      display: flex;
      gap: 22px;
      justify-content: space-between;
      width: 100%;
    }
    .right .flight-box-mini {
      margin-top: 18px;
      background: var(--light-theme-color);
      border: 1px dashed var(--dark-theme-color);
      color: white;
      padding: 12px;
      border-radius: 6px;
      display: flex;
      gap: 8px;
      width: 100%;
      box-sizing: border-box;
      justify-content: center;
    }
    .right .fromto {
      display: flex;
      gap: 14px;
      align-items: center;
      margin-top: 22px;
    }
    .right .barcode-h {
      margin-top: 18px;
      width: 100%;
      display: flex;
      justify-content: center;
    }
    .right .barcode-h svg {
      width: 100%;
      max-width: 320px;
      height: 60px;
    }
    .muted {
      color: #666;
      font-size: 13px;
    }
    .subtle {
      color: #767676;
      font-size: 13px;
    }
    .label {
      font-size: 13px;
      color: #7a7a7a;
    }
    .big-strong {
      font-weight: 500;
      font-size: 20px;
    }

    /* Modal / Popup overlay */
    .rk-bh-modal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      align-items: center; justify-content: center;
      z-index: 999;
    }
    .rk-bh-modal.show {
      display: flex;
    }
    .rk-bh-modal-content {
      background: #fff;
      border-radius: 12px;
      width: 90%;
      max-width: 950px;
      max-height: 90vh;
      overflow-y: auto;
      padding: 24px;
      position: relative;
      animation: zoomIn 0.3s ease;
    }
    @keyframes zoomIn {
      from {
        transform: scale(0.8);
        opacity: 0;
      }
      to {
        transform: scale(1);
        opacity: 1;
      }
    }
    .rk-bh-close {
      position: absolute;
      top: 12px; right: 16px;
      font-size: 24px;
      font-weight: bold;
      color: #666;
      cursor: pointer;
    }
    .rk-bh-modal-title {
      font-size: 22px;
      margin-bottom: 20px;
      color: #222;
      text-align: center;
    }
    .rk-bh-modal-section {
      margin-bottom: 20px;
    }
    .rk-bh-modal-section strong {
      color: #333;
    }
    .rk-bh-member {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 14px;
      margin-bottom: 12px;
      margin-top: 30px;
    }
    .rk-bh-member-title {
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--bright-theme-color);
    }
.tit-det-text{
        color: var(--dark-theme-color);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}
.bk-dt-view{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap:10px
}
.bk-dt-qrview {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

.booking-ID {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-theme-color);
}
.onbook-bg-image{
    position: absolute;
        position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100% !important;
    opacity: 0.1;
}
.qrcode-h{
    width:83%;
    border: 2px dashed var(--dark-theme-color);
    padding: 10px;
    border-radius: 10px;
}
.qrcode-h img{
width: 100%;
height: 100%;
}
.boarding-wrap .tear::before,
.boarding-wrap .tear::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--theme-color); /* match background color */
  border-radius: 50%;
  z-index: 1;
}

.boarding-wrap .tear::before {
  top: -10px; /* Half of height to align circle */
}

.boarding-wrap .tear::after {
  bottom: -10px;
}
.booking-ID1{
  position: absolute;
  bottom: 11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 500;
  color: #aeffda;
  text-align: center;
}
    @media (max-width: 768px) {
      #order .right{
    height: 250px !important;
}
#order .left .flight-box{
width: 100%;
}
      .tab-content-area{
padding: 10px;
      }
         .left .flight-box{
padding: 10px;
         }
      .boarding-wrap {
        height: auto;
        flex-direction: column;
      }
      .boarding-wrap .left, .boarding-wrap .right {
        width: 100%;
        padding: 10px;
      }
      .boarding-wrap .top-left {
        width: 100%;
        border-bottom-right-radius: 0;
      }
      .boarding-wrap .top-right-tab {
        
      }
      .boarding-wrap .tear {
        display: none;
      }
    .left .flight-box .item .big{
        font-size: 14px;
    }
    .left .meta-col .value{
font-size: 12px;
  color: #222 !important;
    }
        .left .meta-col {
      min-width: 73px;
    }
    .left .pass-name h2{
        margin: 24px 0 0 0;
    font-size: 18px;
    color: #222 !important;
    font-weight: 500;
    }
    .qrcode-h{
width: 200px;
    }
    }