﻿
    .bk-wrap{ max-width: 980px; }
    .bk-header{
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(0,0,0,.06);
      box-shadow: 0 10px 30px rgba(0,0,0,.06);
      background: linear-gradient(135deg, rgba(220,53,69,.12), rgba(255,255,255,1));
    }
    .bk-header__inner{ padding: 18px 18px; }
    .bk-title{
      font-weight: 400;
      letter-spacing: .2px;
      margin: 0;
      font-size: 1.25rem;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #b02a37;
    }
    .bk-sub{ margin: 6px 0 0; color: rgba(0,0,0,.62); font-size: .95rem; }

    .branch-grid{ margin-top: 14px; }
    .br_div.branch-card{
      border-radius: 14px;
      border: 1px solid rgba(0,0,0,.08);
      background: #fff;
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .br_div.branch-card:hover{
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(0,0,0,.08);
    }
    .br_div.branch-card .branch-card__inner{ padding: 14px 14px; display: flex; gap: 12px; align-items: flex-start; }
    .branch-radio{
      width: 22px;
      height: 22px;
      border-radius: 999px;
      border: 2px solid rgba(0,0,0,.25);
      margin-top: 2px;
      flex: 0 0 22px;
      position: relative;
    }
    .branch-radio::after{
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: #dc3545;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      transition: transform .12s ease;
    }

    /* Your existing active class hook (attrib_val_active) */
    .br_div.attrib_val_active.branch-card{
      border-color: rgba(220,53,69,.55);
      box-shadow: 0 12px 28px rgba(220,53,69,.12);
    }
    .br_div.attrib_val_active .branch-radio{ border-color: #dc3545; }
    .br_div.attrib_val_active .branch-radio::after{ transform: translate(-50%, -50%) scale(1); }

    .branch-name{ font-weight: 500; margin: 0; font-size: 1.02rem; color: rgba(0,0,0,.85); }
    .branch-meta{ margin: 6px 0 0; color: rgba(0,0,0,.62); font-size: .88rem; line-height: 1.35; }

    /* Keep the radio for accessibility, hide visually */
    .branch-input{
      position: absolute;
      opacity: 0;
      pointer-events: none;
      width: 1px;
      height: 1px;
    }

    /* Small helper */
    .bk-hint{ margin: 12px 0 0; color: rgba(0,0,0,.62); font-size: .95rem; }

     /* --- Modern light theme booking form --- */
  
  .bk-card{
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
  }
  .bk-card__head{
    padding:16px;
    border-bottom:1px solid rgba(0,0,0,.06);
    background: linear-gradient(135deg, rgba(13,110,253,.06), rgba(255,255,255,1));
    border-top-left-radius:16px;
    border-top-right-radius:16px;
  }
  .bk-brand{
    font-weight: 400;
    margin:0;
    color: rgba(0,0,0,.86);
    display:flex;
    align-items:center;
    gap:10px;
  }
  .bk-brand__dot{
    width:34px;height:34px;border-radius:999px;
    display:inline-flex;align-items:center;justify-content:center;
    background: rgba(13,110,253,1);
    color:#fff;
  }
  .bk-addr{ margin:6px 0 0; color:rgba(0,0,0,.62); font-size:.92rem; }
  .bk-card__body{ padding:16px 18px 18px; }

  .bk-info{
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.02);
    color: rgba(0,0,0,.76);
  }
  .bk-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 500;
    font-size: .78rem;
    margin-right: 8px;
    border: 1px solid transparent;
  }
  .bk-badge--warn{
    background: rgba(220,53,69,.10);
    color: #b02a37;
    border-color: rgba(220,53,69,.20);
  }

  .bk-section-title{
    font-weight: 600;
    margin: 4px 0 10px;
    color: rgba(0,0,0,.86);
    font-size: 1.05rem;
  }

  /* Form controls: subtle, modern */
  .bk-form .form-group label{
    font-weight: 550;
    color: rgba(0,0,0,.74);
    margin-bottom: 6px;
  }
  .bk-form .form-control{
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,1);
    box-shadow: none;
    padding: .65rem .85rem;
    height: calc(1.5em + .65rem + .65rem);
  }
  .bk-form .form-control:focus{
    border-color: rgba(13,110,253,.55);
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.12);
  }

  .bk-grid-gap{ row-gap: 10px; }

  .bk-inline-note{
    color: rgba(0,0,0,.55);
    font-size: .86rem;
    margin-top: 6px;
  }

  .bk-error{
    display:none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(220,53,69,.08);
    border: 1px solid rgba(220,53,69,.18);
    color: #b02a37;
    font-weight: 700;
  }

  /* placeholder layout for date selector area */
  #booking_date_div{
    margin-top: 8px;
    min-height: 18px;
  }


  /* --- Modern light theme: existing bookings list --- */
    .bk-list-wrap{ margin-top: 6px; }
    .bk-list-title{
      font-weight: 600;
      color: rgba(0,0,0,.86);
      margin: 8px 0 12px;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      text-align:center;
    }
    .bk-count{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width: 34px;
      height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(220,53,69,.10);
      border: 1px solid rgba(220,53,69,.18);
      color: #b02a37;
      font-weight: 600;
      font-size: .9rem;
    }

    .bk-item{
      border-radius: 16px;
      border: 1px solid rgba(0,0,0,.08);
      background: #fff;
      box-shadow: 0 10px 24px rgba(0,0,0,.06);
      padding: 14px 14px;
      margin: 10px 0;
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    }
    .bk-item:hover{
      transform: translateY(-1px);
      box-shadow: 0 14px 30px rgba(0,0,0,.08);
      border-color: rgba(13,110,253,.20);
    }

    .bk-item__meta{
      display:flex;
      gap: 12px;
      align-items:flex-start;
    }
    .bk-item__icon{
      width: 40px;
      height: 40px;
      border-radius: 12px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      background: rgba(13,110,253,.08);
      border: 1px solid rgba(13,110,253,.16);
      color: rgba(13,110,253,1);
      flex: 0 0 40px;
      margin-top: 1px;
    }
    .bk-item__text{ flex: 1; min-width: 0; }
    .bk-item__line1{
      font-weight: 600;
      color: rgba(0,0,0,.85);
      margin: 0;
      font-size: 1rem;
    }
    .bk-item__line2{
      margin: 6px 0 0;
      color: rgba(0,0,0,.62);
      font-size: .92rem;
      line-height: 1.35;
    }
    .bk-item__chips{
      margin-top: 10px;
      display:flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .bk-chip{
      display:inline-flex;
      align-items:center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(0,0,0,.03);
      border: 1px solid rgba(0,0,0,.08);
      color: rgba(0,0,0,.70);
      font-weight: 500;
      font-size: .82rem;
    }

    .bk-action{
      display:flex;
      justify-content:flex-end;
      align-items:center;
      height:100%;
    }
    .bk-btn{
      border-radius: 12px;
      padding: .6rem .9rem;
      font-weight: 500;
      border: 1px solid rgba(0,0,0,.10);
      background: rgba(0,0,0,.86);
      color: #fff;
      text-decoration: none !important;
      display:inline-flex;
      align-items:center;
      gap: 8px;
      transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
      box-shadow: 0 10px 22px rgba(0,0,0,.12);
      white-space: nowrap;
    }
    .bk-btn:hover{
      background: rgba(0,0,0,.92);
      transform: translateY(-1px);
      box-shadow: 0 14px 28px rgba(0,0,0,.16);
      color: #fff;
    }

    .bk-note{
      margin-top: 12px;
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(220,53,69,.08);
      border: 1px solid rgba(220,53,69,.16);
      color: rgba(0,0,0,.74);
    }
    .bk-note strong{
      color: #b02a37;
    }

     .bk-cta{
    border-radius: 14px;
    padding: 12px;
    background: rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.08);
    margin-top: 8px;
    flex: 0 0 100%; 
    max-width: 100%
  }

  /* Button states: disabled = grey, enabled = #f59e0b */
  #btn_booking{
    border-radius: 14px !important;
    padding: .9rem 1rem !important;
    font-weight: 600;
    letter-spacing: .2px;
    border: 1px solid rgba(0,0,0,.10);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, opacity .12s ease;
  }
  #btn_booking:disabled{
    background: rgba(0,0,0,.18) !important;
    border-color: rgba(0,0,0,.12) !important;
    color: rgba(255,255,255,.9) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: 1; /* keep readable */
  }
  #btn_booking:not(:disabled){
    background: #f59e0b !important;
    border-color: rgba(245,158,11,.55) !important;
    color: #111827 !important;
    box-shadow: 0 12px 26px rgba(245,158,11,.20);
  }
  #btn_booking:not(:disabled):hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(245,158,11,.26);
  }
    /* Inputs matching your modern light theme */
  .bk-form .form-control{
    border-radius: 12px;
  }

 /* Modern light theme "success" panel (replacement for jumbotron) */
   .bk-confirm{
    width: 100%;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 14px 34px rgba(0,0,0,.08);
    overflow: hidden;
  }
  .bk-confirm__head{
    padding: 18px 18px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: linear-gradient(135deg, rgba(34,197,94,.10), rgba(255,255,255,1));
    display:flex;
    gap: 12px;
    align-items:flex-start;
  }
  .bk-confirm__icon{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.22);
    color: rgba(22,163,74,1);
    flex: 0 0 44px;
    margin-top: 2px;
  }
  .bk-confirm__title{
    margin: 0;
    font-weight: 600;
    color: rgba(0,0,0,.86);
    font-size: 1.35rem;
    line-height: 1.2;
  }
  .bk-confirm__sub{
    margin: 6px 0 0;
    color: rgba(0,0,0,.62);
    font-size: .95rem;
  }

  .bk-confirm__body{ padding: 16px 18px 18px; }
  .bk-confirm__p{
    margin: 0 0 12px;
    color: rgba(0,0,0,.72);
    line-height: 1.55;
    font-size: .98rem;
  }

  .bk-contact{
    margin-top: 14px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .bk-contact__grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bk-contact__item{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 10px 22px rgba(0,0,0,.05);
  }

  .bk-contact__icon{
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,110,253,.08);
    border: 1px solid rgba(13,110,253,.16);
    color: rgba(13,110,253,1);
    flex: 0 0 40px;
    margin-top: 1px;
  }

  .bk-contact__label{
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .2px;
    color: rgba(0,0,0,.50);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
  }

  .bk-contact__value{
    margin: 4px 0 0;
    font-weight: 500;
    color: rgba(0,0,0,.82);
    line-height: 1.35;
    word-break: break-word;
  }

  .bk-contact__value a{
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0,0,0,.25);
  }
  .bk-contact__value a:hover{
    border-bottom-style: solid;
  }

  @media (min-width: 768px){
    .bk-contact__grid{
      grid-template-columns: 1fr 1fr;
    }
  }