/* Luxvps theme: light mode (2 Dec 2026), the same light look as control.luxvps.net.
   Loaded after luxvps.css. Only applies when <html data-lx-theme="light">, which header.tpl sets
   from the lx_theme cookie (the sun/moon button in the top bar). Dark stays the default.
   It swaps the colour variables of dark-always.css (--lx-*), luxvps-ui.css and luxvps.css (--lxb-*),
   and fixes the few rules in those files that use a fixed white text colour. */

html[data-lx-theme="light"]{
  color-scheme:light;
  /* luxvps.css */
  --lxb-bg:#EAEAEC; --lxb-card:#FFFFFF; --lxb-raised:#F2F2F4; --lxb-input:#FFFFFF;
  --lxb-border:#D8D8DC; --lxb-line:#E6E6EA; --lxb-text:#1B1B1E; --lxb-soft:#3F3F46; --lxb-muted:#66666C;
  --lxb-blue:#0060FE; --lxb-blue-h:#0050D6; --lxb-link:#0050D6; --lxb-link-h:#003FA8;
  --lxb-btn2:#FFFFFF; --lxb-btn2-b:#D8D8DC; --lxb-btn2-h:#F2F2F4;
  --lxb-amber:#F59E0B; --lxb-amber-t:#B45309; --lxb-green:#16A34A; --lxb-green-t:#15803D;
  --lxb-purple:#7C3AED; --lxb-purple-t:#6D28D9; --lxb-red:#DC2626;
  --lxb-blue-box:#EEF3FF; --lxb-blue-box-b:#C7D7FB;
  --lxb-head:#0B0B0E; --lxb-hover:#F2F2F4;
  /* dark-always.css and luxvps-ui.css */
  --lx-bg:#EAEAEC; --lx-bg2:#FFFFFF; --lx-card:#FFFFFF; --lx-card2:#F4F4F6;
  --lx-border:#D8D8DC; --lx-text:#1B1B1E; --lx-muted:#66666C; --lx-head:#0B0B0E;
  --lx-blue:#0060FE; --lx-blue2:#0050D6; --lx-raised:#F2F2F4; --lx-link:#0050D6;
  --lx-shadow:0 1px 2px rgba(16,24,40,.06);
  --lx-btn2:#FFFFFF; --lx-btn2-border:#D8D8DC; --lx-btn2-hover:#F2F2F4; --lx-btn2-hover-border:#B8B8BE;
}

/* Sun/moon button: shows the mode it switches to, like the Control Panel */
.lx-theme-btn .lx-ico-moon{display:none}
html[data-lx-theme="light"] .lx-theme-btn .lx-ico-sun{display:none}
html[data-lx-theme="light"] .lx-theme-btn .lx-ico-moon{display:inline-block}

/* Menu section icons (fixed light grey in luxvps.css) */
html[data-lx-theme="light"] .lx-sec .lx-ico{color:var(--lxb-muted)}
html[data-lx-theme="light"] .lx-start-hide:hover{background:rgba(0,0,0,.05)}
html[data-lx-theme="light"] .lx-scrim:not([hidden]){background:rgba(16,24,40,.35)}
html[data-lx-theme="light"] .lx-chip.is-on span{color:rgba(255,255,255,.85)}

/* dark-always.css rules with a fixed white text colour on a non-blue background */
html[data-lx-theme="light"] .list-group-item-action:hover,html[data-lx-theme="light"] .list-group-item-action:focus,
html[data-lx-theme="light"] .dropdown-item:hover,html[data-lx-theme="light"] .dropdown-item:focus,
html[data-lx-theme="light"] .table-hover tbody tr:hover,
html[data-lx-theme="light"] .nav-tabs .nav-link.active,html[data-lx-theme="light"] .nav-tabs .nav-link:hover,html[data-lx-theme="light"] .nav-tabs .nav-link:focus,
html[data-lx-theme="light"] .close,
html[data-lx-theme="light"] .table thead th,html[data-lx-theme="light"] .table-list>thead>tr>th,
html[data-lx-theme="light"] #footer a:hover,html[data-lx-theme="light"] .footer a:hover,
html[data-lx-theme="light"] #order-standard_cart .products .product header span,html[data-lx-theme="light"] #order-standard_cart .products .product header *,
html[data-lx-theme="light"] .panel-sidebar .panel-heading,html[data-lx-theme="light"] .panel-sidebar .panel-title,
html[data-lx-theme="light"] .domain-pricing .tld-row strong,
html[data-lx-theme="light"] .product-details .product-icon h3,html[data-lx-theme="light"] .product-details .product-icon h4{color:var(--lx-head)!important}
html[data-lx-theme="light"] .btn-default:hover,html[data-lx-theme="light"] .btn-light:hover,
html[data-lx-theme="light"] .btn-secondary:hover,html[data-lx-theme="light"] .btn-outline-secondary:hover{background-color:var(--lx-btn2-hover)!important;color:var(--lx-head)!important}
html[data-lx-theme="light"] figure.ico-container,html[data-lx-theme="light"] figure.ico-container i{color:var(--lx-muted)!important}
html[data-lx-theme="light"] .CodeMirror-cursor{border-color:var(--lx-text)!important}

/* Alerts: light tints */
html[data-lx-theme="light"] .alert-info{background-color:#EEF3FF!important;border-color:#C7D7FB!important;color:#1E3A8A!important}
html[data-lx-theme="light"] .alert-success{background-color:#ECFDF3!important;border-color:#ABEFC6!important;color:#05603A!important}
html[data-lx-theme="light"] .alert-warning{background-color:#FFFAEB!important;border-color:#FEDF89!important;color:#93370D!important}
html[data-lx-theme="light"] .alert-danger{background-color:#FEF3F2!important;border-color:#FECDCA!important;color:#912018!important}

/* luxvps-ui.css: secondary button hover and the status labels (light text on tint in dark mode) */
html[data-lx-theme="light"] .btn-default:hover,html[data-lx-theme="light"] .btn-default:focus{border-color:var(--lx-btn2-hover-border)!important}
html[data-lx-theme="light"] .label[style*="779500" i]{color:#15803D!important}
html[data-lx-theme="light"] .label[style*="EAFF00" i]{color:#8A6D0B!important}
html[data-lx-theme="light"] .label[style*="ff6600" i]{color:#B54708!important}
html[data-lx-theme="light"] .label[style*="#000000" i],html[data-lx-theme="light"] .label[style*="224488" i]{color:#1E40AF!important}
html[data-lx-theme="light"] .label[style*="888888" i]{color:#52525B!important}
html[data-lx-theme="light"] .label[style*="FF0000" i]{color:#B42318!important}

/* Status badges and runtime text in luxvps.css that use the bright "-t" colours */
html[data-lx-theme="light"] .lx-badge.lx-ok{color:#15803D}

/* Tables (invoices, tickets, domains): white rows on the grey page, light stripe */
html[data-lx-theme="light"] .table-list>tbody>tr>td,html[data-lx-theme="light"] .table>tbody>tr>td{background-color:#FFFFFF!important}
html[data-lx-theme="light"] .table-striped tbody tr:nth-of-type(odd),html[data-lx-theme="light"] .table-list>tbody>tr:nth-child(odd)>td{background-color:#FAFAFB!important}
html[data-lx-theme="light"] .table-list>tbody>tr:hover>td,html[data-lx-theme="light"] .table-hover tbody tr:hover>td{background-color:var(--lx-card2)!important}
html[data-lx-theme="light"] .domain-pricing .tld-row:nth-child(even){background-color:#FAFAFB!important}

/* Status labels (luxvps-ui.css uses bright text for the dark page) */
html[data-lx-theme="light"] .label.status-active,html[data-lx-theme="light"] .label.status-paid,html[data-lx-theme="light"] .label.status-completed,
html[data-lx-theme="light"] .label.status-accepted,html[data-lx-theme="light"] .label.label-success,html[data-lx-theme="light"] .badge-success{color:#15803D!important}
html[data-lx-theme="light"] .label.status-pending,html[data-lx-theme="light"] .label.status-unpaid,html[data-lx-theme="light"] .label.status-draft,
html[data-lx-theme="light"] .label.status-delivered,html[data-lx-theme="light"] .label.status-on-hold,html[data-lx-theme="light"] .label.status-pending-transfer,
html[data-lx-theme="light"] .label.label-warning,html[data-lx-theme="light"] .badge-warning{color:#8A6D0B!important}
html[data-lx-theme="light"] .label.status-overdue,html[data-lx-theme="light"] .label.status-suspended,html[data-lx-theme="light"] .label.status-cancelled,
html[data-lx-theme="light"] .label.status-terminated,html[data-lx-theme="light"] .label.status-fraud,html[data-lx-theme="light"] .label.status-expired,
html[data-lx-theme="light"] .label.status-dead,html[data-lx-theme="light"] .label.label-danger,html[data-lx-theme="light"] .badge-danger{color:#B42318!important}
html[data-lx-theme="light"] .label .textgreen,html[data-lx-theme="light"] .label .textred,html[data-lx-theme="light"] .label .textblack{color:inherit!important}
