/* Luxvps theme r22 (3 Dec 2026): billing matches the Control Panel and cleans up words and side boxes.
   Items 22, 37, 41-44, 48-50, 52, 57-61 of the 2 Dec 2026 design review (categories 4, 5 and 7).
   Loaded by header.tpl after luxvps-light.css. Test theme only (templates/luxvps).
   Undo: remove the <link> line for this file from header.tpl (or run rollback_r22.sh). */

/* 22: quick cards. Three in a row when they fit, otherwise one grouped list (no lone third card,
   no squeezed text). Same rule in the Control Panel (Design Version 25). */
.lx-body .lx-quicks{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1199.98px){
  .lx-body .lx-quicks{display:flex;flex-direction:column;gap:0;background:var(--lxb-card);border:1px solid var(--lxb-border);border-radius:6px;overflow:hidden}
  .lx-body .lx-quicks .lx-quick{border:0!important;border-bottom:1px solid var(--lxb-line)!important;border-radius:0!important;box-shadow:none!important;padding:12px 16px;gap:12px}
  .lx-body .lx-quicks .lx-quick:last-child{border-bottom:0!important}
  .lx-body .lx-quicks .lx-qi{width:38px;height:38px}
}

/* 37 + 44 + 48: side boxes that only repeat the left menu are hidden. Kept: filters, summaries,
   Renew services, View available addons, Credit and debit notes, Contacts. */
.lx-page-side [menuitemname="Support"],
.lx-page-side [menuitemname="Support"]+.card.d-md-none,
.lx-page-side [menuitemname="Support Knowledgebase Tag Cloud"],
.lx-page-side [menuitemname="Support Knowledgebase Categories"],
.lx-page-side [menuitemname="Support Knowledgebase Categories"]+.card.d-md-none,
.lx-page-side [menuitemname="My Services Actions"] [menuitemname="Place a New Order"],
.lx-page-side [menuitemname="Billing"] [menuitemname="Invoices"],
.lx-page-side [menuitemname="Billing"] [menuitemname="Quotes"],
.lx-page-side [menuitemname="Billing"] [menuitemname="Add Funds"],
.lx-page-side [menuitemname="Account"] [menuitemname="My Details"],
.lx-page-side [menuitemname="Account"] [menuitemname="User Management"],
.lx-page-side [menuitemname="Account"] [menuitemname="Payment Methods"],
.lx-page-side [menuitemname="Account"] [menuitemname="Account Security"],
.lx-page-side [menuitemname="Account"] [menuitemname="Email History"]{display:none!important}
/* when nothing is left in the side column (help pages), the page uses the full width */
.lx-page-side:not(:has(.card:not([menuitemname="Support"]):not([menuitemname="Support Knowledgebase Tag Cloud"]):not([menuitemname="Support Knowledgebase Categories"]):not(.d-md-none))):not(:has(.lx-help-card)){display:none!important}

/* 44: Actions box without the "+" and the old icons */
.lx-page-side [menuitemname="My Services Actions"] .card-title>i:not(.card-minimise),
.lx-page-side [menuitemname="My Services Actions"] .sidebar-menu-item-icon-wrapper{display:none!important}

/* 41 + 42: one status label style everywhere (the same pill as on the Dashboard) */
.lx-body .lx-main .label.status,
.lx-body .lx-main .label[style*="background"]{display:inline-flex!important;align-items:center;height:22px;padding:0 8px!important;border-radius:4px!important;border:0!important;
  font-size:11px!important;font-weight:600!important;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;line-height:1!important;box-shadow:none!important}
.lx-body .lx-main .label.status span{color:inherit!important;font:inherit!important}
.lx-body .lx-main .label.status-paid,.lx-body .lx-main .label.status-active,.lx-body .lx-main .label.status-completed,.lx-body .lx-main .label.status-accepted,
.lx-body .lx-main .label.status-open{background:rgba(34,197,94,.14)!important;color:var(--lxb-green-t)!important}
.lx-body .lx-main .label.status-unpaid,.lx-body .lx-main .label.status-pending,.lx-body .lx-main .label.status-draft,.lx-body .lx-main .label.status-delivered,
.lx-body .lx-main .label.status-on-hold,.lx-body .lx-main .label.status-customer-reply,.lx-body .lx-main .label.status-payment-pending{background:rgba(245,158,11,.14)!important;color:var(--lxb-amber-t)!important}
.lx-body .lx-main .label.status-answered,.lx-body .lx-main .label.status-in-progress{background:rgba(0,96,254,.18)!important;color:var(--lxb-link-h)!important}
.lx-body .lx-main .label.status-overdue,.lx-body .lx-main .label.status-suspended,.lx-body .lx-main .label.status-fraud,.lx-body .lx-main .label.status-collections{background:rgba(248,113,113,.14)!important;color:var(--lxb-red)!important}
.lx-body .lx-main .label.status-cancelled,.lx-body .lx-main .label.status-terminated,.lx-body .lx-main .label.status-refunded,.lx-body .lx-main .label.status-closed,
.lx-body .lx-main .label.status-expired,.lx-body .lx-main .label.status-dead,.lx-body .lx-main .label[style*="888888" i]{background:rgba(154,161,194,.16)!important;color:var(--lxb-soft)!important}
/* 42: "Closed" on a ticket is a grey label, not a red button */
.lx-body #closedTicket,.lx-body .lx-page-side .btn-danger[disabled]{background:rgba(154,161,194,.16)!important;border:0!important;color:var(--lxb-soft)!important;opacity:1!important;
  cursor:default!important;box-shadow:none!important;font-size:11px!important;font-weight:600!important;letter-spacing:.05em;text-transform:uppercase;border-radius:4px!important}
.lx-body #closedTicket i,.lx-body .lx-page-side .btn-danger[disabled] i{display:none}

/* 43: the table search box looks like the My services search */
.lx-body .dataTables_wrapper .dataTables_filter input,.lx-body .dataTables_wrapper .dataTables_filter label input{height:32px!important;width:220px!important;max-width:100%;padding:0 10px 0 32px!important;
  border:1px solid var(--lxb-border)!important;border-radius:6px!important;background-color:var(--lxb-input)!important;color:var(--lxb-text)!important;font:400 13px var(--lxb-font)!important;text-align:left!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA1C2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:10px 50%!important;background-blend-mode:normal!important}
.lx-body .dataTables_wrapper .dataTables_filter input:focus{outline:none;border-color:#0060FE!important;box-shadow:0 0 0 3px rgba(0,96,254,.2)!important}
.lx-body .dataTables_wrapper .dataTables_filter input::placeholder{color:var(--lxb-muted)!important}

/* 49: knowledgebase. Article title the size of other page titles, neutral grey labels instead of teal */
.lx-body.lx-tpl-knowledgebasearticle .lx-primary h1{font-size:24px!important;line-height:1.25!important;font-weight:600!important;letter-spacing:-.01em;color:var(--lxb-head)!important}
.lx-body.lx-tpl-knowledgebasearticle .lx-primary h1 .btn{font-size:12px!important;letter-spacing:0}
.lx-body .lx-primary .badge-info{background:var(--lxb-raised)!important;color:var(--lxb-soft)!important;border:1px solid var(--lxb-border)!important;font-weight:500!important;letter-spacing:0;text-transform:none}
.lx-body.lx-tpl-knowledgebasearticle .lx-primary .badge-info{white-space:normal;text-align:left;line-height:1.4;padding:3px 8px}
.lx-body.lx-tpl-knowledgebasearticle .lx-primary .badge-info i{display:none}

/* 50: announcement titles: smaller, in the text colour, blue only on hover */
.lx-body .announcements .announcement h1{font-size:18px!important;line-height:1.35!important;font-weight:600!important;margin:0 0 6px!important}
.lx-body .announcements .announcement h1 a{color:var(--lxb-head)!important;text-decoration:none!important}
.lx-body .announcements .announcement h1 a:hover{color:var(--lxb-link-h)!important}
/* 35: the page title already says "Announcements"; the box does not repeat it */
.lx-body.lx-tpl-announcements .lx-primary .card-body>h3.card-title:first-child{display:none}
.lx-body.lx-tpl-viewannouncement .lx-primary h1{font-size:24px!important;line-height:1.25!important;font-weight:600!important;color:var(--lxb-head)!important}

/* 52: no orange ring after a click on the light/dark button; keyboard focus keeps the blue ring */
.lx-body .lx-theme-btn:focus,.lx-body .lx-icon-btn:focus{outline:none!important;box-shadow:none!important;border-color:transparent!important}
.lx-body .lx-theme-btn:focus-visible,.lx-body .lx-icon-btn:focus-visible{outline:2px solid var(--lxb-link)!important;outline-offset:2px}

/* 57 + 58: store. The tab row is the only category list: no Categories box, no
   "Choose another category" dropdowns on phone and tablet. The Actions box stays on desktop. */
.lx-in-cart .cart-sidebar [menuitemname="Categories"],
.lx-in-cart .sidebar-collapsed{display:none!important}
.lx-in-cart .cart-sidebar [menuitemname="Actions"] .panel-title>i:not(.card-minimise),
.lx-in-cart .cart-sidebar [menuitemname="Actions"] .list-group-item>i{display:none!important}
/* 59: tab row stays one line on tablet too, scrolls sideways */
@media (max-width:1199.98px){
  .lx-store-tabs{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .lx-store-tabs::-webkit-scrollbar{display:none}
  .lx-store-tabs .lx-chip{flex:0 0 auto}
}
/* 60: product cards: bigger, easier spec text */
.lx-in-cart #order-standard_cart .product .product-desc,
.lx-in-cart #order-standard_cart .product .product-desc p{font-size:13px!important;line-height:1.6!important}
.lx-in-cart #order-standard_cart .product .product-desc strong{display:inline-block;margin-top:6px;font-weight:600;color:var(--lxb-head)}
.lx-in-cart #order-standard_cart .product .product-desc p>strong:first-child{margin-top:0}

/* 61: store and cart for signed-in customers get the left menu, the switch and the search like the
   rest of billing, and the same footer. Visitors keep the shop look. */
.lx-in-cart.lx-has-menu .lx-content{max-width:none;margin:0}
.lx-in-cart.lx-has-menu #footer.lx-foot{flex-direction:row;justify-content:flex-start;text-align:left;border-top:1px solid var(--lxb-line)!important}
.lx-in-cart.lx-has-menu .lx-foot-locale{margin-left:auto}
@media (max-width:767.98px){
  .lx-in-cart.lx-has-menu #footer.lx-foot{flex-direction:column;justify-content:center;text-align:center}
  .lx-in-cart.lx-has-menu .lx-foot-locale{margin-left:0}
}

/* r22b: "Your recent tickets" side box: a long subject is cut with ... instead of pushing the page sideways (Open a ticket, 1440) */
.lx-page-side .sidebar-menu-item-label{min-width:0;max-width:100%;overflow:hidden}
.lx-page-side .recent-ticket,.lx-page-side .recent-ticket .truncate{max-width:100%;width:auto!important}
