.boom-overview{
    background:#0b1220;
    border-radius:16px;
    padding:16px;
    border:1px solid var(--boom-border, #1f2a44);
    color:#e5ecff;
    box-shadow:0 18px 45px rgba(15,23,42,.5);
    /* Ensure the overview panel does not overlay navigation menus on mobile devices */
    position:relative;
    z-index:0;
    width:100%;
    box-sizing:border-box;
}
.boom-ov-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-bottom:18px;
}
.boom-ov-card{
    position:relative;
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    border-radius:16px;
    background:radial-gradient(circle at top left,#1d4ed8,#0f172a);
    border:1px solid rgba(148,163,184,.5);
    box-shadow:0 10px 30px rgba(15,23,42,.6);
    cursor:pointer;
    transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.boom-ov-card .icon{
    width:40px;
    height:40px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(15,23,42,.5);
    flex-shrink:0;
}
.boom-ov-card .icon i{
    font-size:20px;
    color:#e5ecff;
}
.boom-ov-card .meta{
    display:flex;
    flex-direction:column;
    gap:2px;
}
.boom-ov-card .label{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#cbd5f5;
}
.boom-ov-card .value{
    font-size:20px;
    font-weight:800;
}
.boom-ov-card.active{
    border-color:#38bdf8;
    box-shadow:0 18px 40px rgba(56,189,248,.4);
    transform:translateY(-1px);
}
.boom-ov-card:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 40px rgba(15,23,42,.7);
}
.boom-ov-detail{
    background:#020617;
    border-radius:14px;
    border:1px solid rgba(15,23,42,.9);
    padding:14px;
    min-height:80px;
}
.boom-ov-placeholder{
    text-align:center;
    color:#94a3b8;
    font-size:13px;
}
.boom-ov-panel.loading{
    opacity:.6;
}
.boom-ov-table-wrap h2{
    margin-top:0;
    margin-bottom:10px;
    font-size:16px;
}
.boom-ov-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
}
.boom-ov-table th,
.boom-ov-table td{
    padding:8px 10px;
    border-bottom:1px solid rgba(30,64,175,.6);
    font-size:13px;
}
.boom-ov-table thead th{
    text-align:left;
    background:#020617;
    position:sticky;
    top:0;
    z-index:1;
}
.boom-ov-table tbody tr:nth-child(even){
    background:rgba(15,23,42,.7);
}
.boom-ov-table tbody tr:hover{
    background:rgba(30,64,175,.5);
}
.boom-loading{
    text-align:center;
    font-size:13px;
    color:#cbd5f5;
}
@media(max-width:960px){
    .boom-ov-summary{
        grid-template-columns:minmax(0,1fr);
    }

    /*
     * Quotes table responsive transformation
     *
     * When viewing quotes on a mobile device, display each row as a block card
     * rather than a traditional table. The table header is hidden and each
     * cell uses a data-label attribute to provide context. This improves
     * readability on small screens while preserving the desktop table layout.
     */
    .boom-quotes-table thead{
        display:none;
    }
    .boom-quotes-table,
    .boom-quotes-table tbody,
    .boom-quotes-table tr,
    .boom-quotes-table td{
        display:block;
        width:100%;
    }
    .boom-quotes-table tr{
        margin-bottom:12px;
        border:1px solid #1f2a44;
        border-radius:12px;
        padding:12px;
        background:#0b1220;
    }
    .boom-quotes-table td{
        padding:6px 0;
        font-size:14px;
        border:none;
    }
    .boom-quotes-table td::before{
        content: attr(data-label) ": ";
        font-weight:600;
        display:inline-block;
        margin-right:4px;
        color:#94a3b8;
    }
    .boom-quotes-table td:last-child{
        display:flex;
        justify-content:flex-start;
        gap:8px;
        padding-top:8px;
    }
}



/* --- Mobile modern list for Overview panel (Orders / Returns / Quotes) --- */
@media (max-width: 768px){
  .boom-ov-panel .boom-ov-table{
    border:0;
  }
  .boom-ov-panel .boom-ov-table thead{
    display:none;
  }
  .boom-ov-panel .boom-ov-table,
  .boom-ov-panel .boom-ov-table tbody,
  .boom-ov-panel .boom-ov-table tr,
  .boom-ov-panel .boom-ov-table td{
    display:block;
    width:100%;
  }
  .boom-ov-panel .boom-ov-table tr{
    background:#0f1a2f;
    border:1px solid rgba(255,255,255,.10);
    border-radius:14px;
    padding:12px 12px 10px;
    margin:12px 0;
    box-shadow: 0 12px 26px rgba(0,0,0,.25);
  }
  .boom-ov-panel .boom-ov-table td{
    border:0;
    padding:8px 0;
    color:#eef2ff;
  }
  .boom-ov-panel .boom-ov-table td:before{
    display:block;
    font-size:12px;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:rgba(255,255,255,.55);
    margin-bottom:4px;
  }
  /* Orders/Returns columns: #, Date, Customer, Status, Total, Actions */
  .boom-ov-panel .boom-ov-table td:nth-child(1):before{ content:"Order"; }
  .boom-ov-panel .boom-ov-table td:nth-child(2):before{ content:"Date"; }
  .boom-ov-panel .boom-ov-table td:nth-child(3):before{ content:"Customer"; }
  .boom-ov-panel .boom-ov-table td:nth-child(4):before{ content:"Status"; }
  .boom-ov-panel .boom-ov-table td:nth-child(5):before{ content:"Total"; }
  .boom-ov-panel .boom-ov-table td:nth-child(6):before{ content:"Action"; }

  .boom-ov-panel .boom-ov-table td:last-child{
    padding-top:10px;
  }
  .boom-ov-panel .boom-ov-table .button{
    width:100%;
    text-align:center;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.08);
    color:#fff;
    padding:10px 12px;
    font-weight:600;
  }
}

/* --- Modern Order Details view (Overview -> View) --- */
.boom-ov-order-wrap{
  background: linear-gradient(180deg, rgba(11,18,32,1) 0%, rgba(9,15,26,1) 100%);
  border-radius:16px;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
}

.boom-ov-order-topnav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom:14px;
}

.boom-ov-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  color:#f5f7ff;
  font-weight:600;
}

.boom-ov-pill:hover{
  background:rgba(255,255,255,.11);
  color:#fff;
}

.boom-ov-pill-primary{
  background:rgba(72,110,255,.35);
  border-color:rgba(72,110,255,.55);
}

.boom-ov-order-card{
  background:#0f1a2f;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  padding:14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}

.boom-ov-order-title{
  font-size:20px;
  font-weight:700;
  color:#ffffff;
  margin:4px 0 12px;
}

.boom-ov-order-stats{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:12px;
}

.boom-ov-order-stats .k{
  font-size:12px;
  color:rgba(255,255,255,.65);
  margin-bottom:4px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.boom-ov-order-stats .v{
  font-size:15px;
  color:#ffffff;
  font-weight:700;
}

@media (max-width: 900px){
  .boom-ov-order-stats{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.boom-ov-order-table{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  overflow:hidden;
}

.boom-ov-order-table .thead{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  background:rgba(255,255,255,.06);
  font-weight:700;
  color:#fff;
}

.boom-ov-order-table .row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#eef2ff;
}

.boom-ov-order-table .right{
  text-align:right;
  min-width:90px;
}

.boom-ov-order-table .prod .name{
  font-weight:700;
  color:#fff;
}

.boom-ov-order-table .muted{
  color:rgba(255,255,255,.65);
  font-weight:600;
}

.boom-ov-mini-link{
  display:inline-block;
  margin-top:6px;
  color:#bcd2ff;
  text-decoration:none;
  font-weight:600;
}

.boom-ov-mini-link:hover{
  color:#ffffff;
  text-decoration:underline;
}

.boom-ov-order-table .tfoot{
  background:rgba(255,255,255,.03);
}

.boom-ov-order-table .tfoot .strong{
  font-weight:800;
  color:#fff;
}

.boom-ov-order-address{
  margin-top:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:12px;
  color:#eef2ff;
}

.boom-ov-order-address .h{
  font-weight:800;
  color:#fff;
  margin-bottom:8px;
}

.boom-ov-order-address .addr{
  color:rgba(255,255,255,.85);
  line-height:1.55;
}

.boom-ov-loading{
  padding:18px 10px;
  text-align:center;
  color:#eef2ff;
}
.boom-ov-error{
  padding:12px;
  color:#fff;
  background:rgba(255,80,80,.15);
  border:1px solid rgba(255,80,80,.35);
  border-radius:12px;
}

/* Image modal (shared) */
.boom-img-modal{position:fixed;inset:0;z-index:99999;}
.boom-img-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);}
.boom-img-modal-inner{position:relative;max-width:min(92vw,720px);max-height:92vh;margin:4vh auto;background:#061a2a;border-radius:16px;box-shadow:0 20px 80px rgba(0,0,0,.55);padding:16px;display:flex;align-items:center;justify-content:center;}
.boom-img-modal-img{max-width:100%;max-height:80vh;border-radius:12px;}
.boom-img-modal-close{position:absolute;top:8px;right:10px;border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer;}
.boom-ov-thumb{width:44px;height:44px;object-fit:cover;border-radius:10px;cursor:zoom-in;border:1px solid rgba(255,255,255,.12);}
