/* AnymHost v20: mobile - sidebar tampil di semua halaman klien, panel Saldo/Infomu ringkas, font kecil, kartu tiket */
@media(max-width:991px){
  /* 1. isi panel sidebar (disembunyikan skrip WHMCS di layar kecil) tampil kembali, kecuali halaman order */
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar>.list-group,
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar>.panel-body{display:block!important;height:auto!important;visibility:visible!important}

  /* 2. panel Saldo Tersedia dan Infomu: satu baris (teks kiri, tombol bulat kanan) */
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer){
    display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"h f" "b f";
    align-items:center;column-gap:12px;row-gap:2px;padding:12px 14px!important}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-heading{
    grid-area:h;padding:0!important;margin:0!important;min-height:0!important;border:0!important;background:none!important;box-shadow:none!important}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer) .panel-title{font-size:11.5px!important;line-height:1.2!important;margin:0!important;padding:0!important}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.list-group,
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-body{
    grid-area:b;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;min-width:0}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.list-group .list-group-item{
    padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer) h4{margin:0!important;font-size:20px!important;line-height:1.25!important}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-body{font-size:12.5px;line-height:1.45}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-body strong{font-size:16px;line-height:1.3;display:block}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-footer{
    grid-area:f;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;align-self:center;width:auto!important}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-footer .btn{
    width:44px!important;height:44px!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:50%!important;
    font-size:0!important;line-height:0!important;gap:0!important;display:flex!important;align-items:center;justify-content:center}
  body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-footer .btn i{font-size:16px!important;line-height:1!important;margin:0!important}
}

/* 3. halaman tiket: kartu lebih bersih */
@media(max-width:767px){
  .table-container table.table-list tbody td a.border-left{border-left:0!important;padding-left:0!important}
}

/* 4. order form: teks kecil minimal 12-13px */
#order-standard_cart .tld-sale-group{font-size:12px!important;padding:3px 8px!important;line-height:1.3!important}
#order-standard_cart .tld-column,
#order-standard_cart .col-4{font-size:13px!important}
#order-standard_cart .tld-pricing-header,
#order-standard_cart .tld-pricing-header>div{font-size:13px!important}

/* panel Infomu: alamat rapat, tanpa baris kosong */
@media(max-width:991px){body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-body br{display:none}body:not(:has(#order-standard_cart)) .sidebar .panel-sidebar:has(>.panel-footer)>.panel-body strong{margin-bottom:2px}}
