/* Luxvps theme: colours from luxvps.net and the client area.
   Font: Inter, self-hosted by the panel (no Google Fonts), the same font as billing.luxvps.net (27 Nov 2026). */

:root {
    --accent: #0060FE;
    --accent-hover: #0050D6;
    --on-accent: #FFFFFF;
    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-heading: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

:root[data-theme="dark"] {
    --bg: #060B1E;
    --surface: #0E1535;
    --raised: #141C42;
    --border: #232D5C;
    --text: #DDE2F5;
    --muted: #9AA1C2;
    --accent: #0060FE;
    --accent-hover: #2B7BFF;
    --on-accent: #FFFFFF;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 16px -10px rgba(0, 0, 0, 0.7);
}

/* Dark mode text links: lighter blue for readable contrast, filled buttons keep #0060FE */
:root[data-theme="dark"] {
    --link: #4D94FF;
}

:where(:root[data-theme="dark"]) a,
:where(:root[data-theme="dark"]) .btn-ghost {
    color: var(--link);
}

/* Luxvps dashboard: quick links, server cards, security hint, help */
.lux-quick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.lux-quick-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.lux-quick-item:hover {
    border-color: var(--accent);
}

.lux-quick-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
}

.lux-quick-item .muted {
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

.lux-quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--on-accent);
}

.lux-security {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(201, 162, 39, 0.45);
    border-radius: var(--radius);
    background: rgba(201, 162, 39, 0.08);
    font-size: 13px;
}

.lux-security[hidden] {
    display: none;
}

.lux-servers {
    margin-bottom: 20px;
}

.lux-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.lux-section-head h2 {
    font-size: 16px;
    font-weight: 600;
}

.lux-server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.lux-server {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 18px;
}

.lux-server-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lux-server-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lux-server-plan {
    font-size: 12px;
}

.lux-server-kv {
    grid-template-columns: 80px minmax(0, 1fr);
}

.lux-days {
    color: var(--muted);
    font-size: 12px;
}

.lux-days-soon {
    color: var(--warning);
    font-weight: 600;
}

.lux-server-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.lux-ended {
    margin-top: 16px;
}

.lux-ended summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 12px;
}

.lux-ended .lux-server {
    opacity: 0.7;
}

.lux-help {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

#lux-servers-empty {
    padding: 16px 20px;
    margin-bottom: 0;
}

/* Quick link cards: no link underline on hover */
.lux-quick-item:hover {
    text-decoration: none;
}

/* Dark mode: lighter buttons and switches so they stand out from the cards */
:root[data-theme="dark"] .btn-secondary,
:root[data-theme="dark"] .btn-icon,
:root[data-theme="dark"] .btn-group .btn {
    background: #1A2350;
    border-color: #34407A;
}

:root[data-theme="dark"] .btn-secondary:hover,
:root[data-theme="dark"] .btn-icon:hover,
:root[data-theme="dark"] .btn-group .btn:hover {
    background: #212B5E;
    border-color: #4D5A9A;
}

:root[data-theme="dark"] .svc-switch .t {
    background: #1A2350;
    border-color: #4D5A9A;
}

:root[data-theme="dark"] .svc-switch .t::after {
    background: #9AA1C2;
}

:root .svc-switch input:checked + .t {
    background: var(--accent);
    border-color: var(--accent);
}

:root .svc-switch input:checked + .t::after {
    background: #FFFFFF;
}

/* Inter is served at weights 400 to 600, so text that the panel sets at 700 uses 600 (no synthetic bold). */
h1,
.brand,
.order-brand,
.stat-value,
.svc-figure strong,
.avatar,
.tkt-avatar,
.notify-badge,
.api-method {
    font-weight: 600;
}

/* 27 Nov 2026: render text like billing.luxvps.net. The panel default "antialiased" smoothing
   draws light text on dark backgrounds thinner on macOS; billing uses the browser default. */
html, body {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

/* Luxvps site switch "Account & Billing | Control Panel" (Dec 2026), same look as billing.luxvps.net */
.lux-switch {
    display: flex;
    flex-shrink: 0;
    gap: 2px;
    padding: 3px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.lux-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
}

.lux-switch a:hover {
    background: var(--raised);
    color: var(--text);
    text-decoration: none;
}

.lux-switch a.is-on {
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
}

.lux-switch a:focus-visible {
    outline: 2px solid var(--link, var(--accent));
    outline-offset: 2px;
}

.lux-switch-top {
    margin-left: 12px;
}

.lux-switch-phone {
    display: none;
}

@media (max-width: 800px) {
    .lux-switch-top {
        display: none;
    }

    .lux-switch-phone {
        display: flex;
        margin: 12px 12px 0;
    }

    .lux-switch-phone a {
        flex: 1;
        height: 36px;
    }
}

/* Luxvps "New to servers?" help under Access on the server page */
.lux-newbie {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid rgba(77, 148, 255, 0.35);
    border-radius: 8px;
    background: rgba(0, 96, 254, 0.08);
    font-size: 13px;
    line-height: 1.55;
}

.lux-newbie svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--link, var(--accent));
}

.lux-newbie strong {
    color: var(--text);
    font-weight: 600;
}


/* Dec 2026: the same type sizes as the client area (billing.luxvps.net), so both sides read the same.
   Client area: menu 14px, page title 28px, card titles 15px, table and list text 14px, small text 13px. */
.nav-item {
    font-size: 14px;
}

:root[data-theme="dark"] .nav-item {
    color: #C9CFE6;
}

:root[data-theme="dark"] .nav-item:hover {
    color: #FFFFFF;
}

.nav-section {
    letter-spacing: 0.06em;
}

h1 {
    font-size: 28px;
}

.card-head h2 {
    font-size: 15px;
}

.svc-row,
.svc-spec,
.svc-empty,
.kv,
.data-table td,
.setting-body {
    font-size: 14px;
}

.svc-kv .v.mono {
    font-size: 14px;
}


/* Dec 2026 (Version 7): top-left corner and selected menu item the same as billing.luxvps.net.
   Billing: logo 36px high in a 200px space, switch starts 16px after it; selected item solid blue, white text. */
.brand img {
    height: 36px;
    max-width: 196px;
}

@media (min-width: 801px) {
    .topbar .brand {
        width: 200px;
        flex-shrink: 0;
    }

    .lux-switch-top {
        margin-left: 0;
    }
}

.nav-item.is-active,
:root[data-theme] .nav-item.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
    border-radius: 6px;
}

.nav-item.is-active:hover,
:root[data-theme] .nav-item.is-active:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--on-accent);
}

.nav-item.is-active svg {
    color: inherit;
    opacity: 1;
}


/* Dec 2026 (Version 9): sizes and icons the same as billing.luxvps.net (measured 2 Dec). */
.nav-item {
    padding: 8px 12px;
    line-height: 1.3;
}

.nav-item svg {
    width: 18px;
    height: 18px;
}

.lux-switch a {
    height: 32px;
}

.lux-switch a.is-on {
    font-weight: 600;
}

.lux-quick-item {
    padding: 18px;
}

.lux-quick-item strong {
    font-size: 15px;
}

.lux-quick-item .muted {
    font-size: 13px;
}

.lux-quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(0, 96, 254, 0.12);
    color: var(--accent);
}

:root[data-theme="dark"] .lux-quick-icon {
    background: rgba(0, 96, 254, 0.16);
    color: #4D94FF;
}

:root[data-theme="dark"] h1,
:root[data-theme="dark"] .lux-quick-item strong {
    color: #FFFFFF;
}


/* Dec 2026 (Version 10): menu labels styled like billing.luxvps.net ("General" is back),
   label text in line with the menu text (after the 18px icon and the 10px gap). */
.sidebar .nav-section {
    margin: 18px 12px 6px 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.sidebar > .nav-section:first-child {
    margin-top: 0;
}

/* Servers list: the same card look as the billing "My services" list */
#services-section {
    padding: 0;
}

#services-section .table-tools {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

#services-section .table-tools .input {
    width: 240px;
    max-width: 100%;
    height: 34px;
    padding: 0 12px 0 34px;
    font-size: 13px;
    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");
    background-repeat: no-repeat;
    background-position: 11px center;
}

#services-section .table-wrap {
    margin: 0;
}

#services-section .data-table th {
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

#services-section .data-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

#services-section .data-table tbody tr:last-child td {
    border-bottom: 0;
}

#services-section .data-table th.svc-pick,
#services-section .data-table td.svc-pick {
    padding-right: 0;
}

#services-section .help {
    margin: 0;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
}


/* Dec 2026 (Version 11): buttons, top bar icons, badges and page title like billing.luxvps.net */
/* Top bar icons: plain 18px icons without a box, like the billing bell and cart */
:root[data-theme] .topbar .btn-icon {
    width: 38px;
    height: 38px;
    background: transparent;
    border-color: transparent;
    border-radius: 6px;
    color: var(--muted);
}

:root[data-theme="dark"] .topbar .btn-icon {
    color: #C9CFE6;
}

:root[data-theme] .topbar .btn-icon:hover {
    background: rgba(127, 140, 190, 0.12);
    border-color: transparent;
    color: var(--text);
}

.topbar .btn-icon svg {
    width: 18px;
    height: 18px;
}

/* Buttons: 36px, 6px corners; row buttons 30px and 13px */
.btn {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 6px;
}

.btn-sm,
.data-table td .btn,
.lux-quick-item .btn {
    min-height: 30px;
    padding: 0 12px;
    font-size: 13px;
}

:root[data-theme="dark"] .btn-secondary,
:root[data-theme="dark"] .btn-group .btn {
    background: #1A2350;
    border-color: #34407A;
    color: #DDE2F5;
}

:root[data-theme="dark"] .btn-secondary:hover,
:root[data-theme="dark"] .btn-group .btn:hover {
    background: #222C60;
    color: #FFFFFF;
}

/* Status badges: filled, small capitals, no outline (billing "ACTIVE") */
.chip-success,
.chip-danger,
.chip-warning,
.chip-info,
.chip-progress {
    height: 22px;
    padding: 0 8px;
    border-color: transparent;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.chip-success {
    background: rgba(34, 197, 94, 0.14);
    color: #16A34A;
}

:root[data-theme="dark"] .chip-success {
    color: #4ADE80;
}

.chip-danger {
    background: rgba(248, 113, 113, 0.14);
}

:root[data-theme="dark"] .chip-danger {
    color: #F87171;
}

.chip-warning {
    background: rgba(251, 191, 36, 0.14);
}

:root[data-theme="dark"] .chip-warning {
    color: #FBBF24;
}

/* Page title: 24px like the billing page titles */
.page-head h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.page-head .sub {
    font-size: 13px;
}

.page-head {
    margin-bottom: 18px;
}

/* Servers list: billing spacing (18px sides, 11px column titles) */
#services-section .table-tools {
    padding: 14px 18px;
}

#services-section .table-tools .input {
    width: 220px;
    height: 32px;
    padding-left: 32px;
    border-radius: 6px;
    background-position: 10px center;
}

#services-section .data-table th {
    padding: 10px 18px;
    font-size: 11px;
    letter-spacing: 0.05em;
}

#services-section .data-table td {
    padding: 14px 18px;
}

#services-section .help {
    padding: 10px 18px 14px;
    font-size: 12px;
}


/* Dec 2026 (Version 13): icon-only buttons keep no side padding (the 16px button padding from
   Version 11 squeezed the bell to a few pixels); icons never shrink */
.btn.btn-icon {
    padding: 0;
}

.btn-icon svg {
    flex-shrink: 0;
}


/* Dec 2026 (Version 14): servers list like the billing "My services" list, full width.
   Chips Active / Ended / All, search and "Order a new server" on top,
   columns Server, IP address, Runtime, Price, Status and "View Server". */
#services-section .table-tools {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
}

.svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: transparent;
    color: var(--text);
    font: 500 13px/1 var(--font);
    cursor: pointer;
}

.svc-chip[hidden] {
    display: none;
}

.svc-chip:hover {
    background: rgba(127, 140, 190, 0.12);
}

.svc-chip .n {
    font-size: 12px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.svc-chip.is-on {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
    font-weight: 600;
}

.svc-chip.is-on .n {
    color: rgba(255, 255, 255, 0.85);
}

.svc-tools-r {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

#services-section .table-tools .input {
    width: 220px;
    height: 32px;
    padding-left: 32px;
    background-position: 10px center;
}

.svc-tools-r .btn {
    min-height: 32px;
    height: 32px;
    gap: 6px;
}

#services-section .data-table th {
    padding: 10px 18px;
    font-size: 11px;
}

#services-section .data-table td {
    padding: 14px 18px;
    vertical-align: middle;
}

#services-section .data-table th.svc-pick,
#services-section .data-table td.svc-pick {
    width: 1%;
    padding-right: 0;
}

:root[data-theme="dark"] #services-section .data-table tbody tr:hover td {
    background: #121A3F;
}

:root[data-theme="light"] #services-section .data-table tbody tr:hover td {
    background: #F2F2F4;
}

.svc-name-link {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

:root[data-theme="dark"] .svc-name-link {
    color: #FFFFFF;
}

.svc-name-link:hover {
    color: var(--link, var(--accent));
}

.svc-sub {
    max-width: 360px;
    margin-top: 2px;
    overflow: hidden;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.svc-col-ip {
    width: 180px;
}

.svc-col-price {
    width: 130px;
}

.svc-col-status {
    width: 1%;
}

td.svc-status {
    white-space: nowrap;
}

.svc-col-btn {
    width: 130px;
}

td.svc-ip {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

td.svc-ip .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
}

.svc-copy {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
}

.svc-copy:hover {
    background: rgba(127, 140, 190, 0.12);
    color: var(--text);
}

.svc-copy.is-copied {
    color: #22C55E;
}

td.svc-run {
    min-width: 200px;
}

.svc-days {
    font-size: 13px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.svc-days strong {
    font-weight: 600;
}

:root[data-theme="dark"] .svc-days strong {
    color: #FFFFFF;
}

.svc-days strong.is-amber {
    color: #B45309;
}

:root[data-theme="dark"] .svc-days strong.is-amber {
    color: #FBBF24;
}

.svc-days strong.is-red,
:root[data-theme="dark"] .svc-days strong.is-red {
    color: var(--danger);
}

.svc-bar {
    display: block;
    max-width: 360px;
    height: 4px;
    margin-top: 6px;
    border-radius: 2px;
    background: var(--border);
}

.svc-bar > span {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: var(--accent);
}

.svc-bar > span.is-warn {
    background: #F59E0B;
}

.svc-bar.is-expired {
    background: rgba(248, 113, 113, 0.45);
}

td.svc-price {
    font-size: 13px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

td.svc-price .muted {
    font-size: 12px;
}

td.svc-btns {
    text-align: right;
    white-space: nowrap;
}

/* Phones: one card per server, like billing */
@media (max-width: 720px) {
    .svc-tools-r {
        flex-wrap: wrap;
        width: 100%;
        margin-left: 0;
    }

    #services-section .table-tools .input {
        flex: 1 1 100%;
        width: 100%;
    }

    .svc-tools-r .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    #services-section .data-table td.svc-status .chip {
        max-width: 150px;
        white-space: normal;
        text-align: right;
        height: auto;
        min-height: 22px;
    }

    #services-section .data-table thead {
        display: none;
    }

    #services-section .data-table,
    #services-section .data-table tbody {
        display: block;
        width: 100%;
    }

    #services-section .data-table tbody tr {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "pick name status" "ip ip ip" "run run run" "price price btns";
        gap: 10px 12px;
        align-items: center;
        padding: 14px;
        border-bottom: 1px solid var(--border);
    }

    #services-section .data-table tbody td {
        padding: 0;
        border: 0;
        min-width: 0;
    }

    #services-section .data-table td.svc-pick { grid-area: pick; }
    #services-section .data-table td.svc-name { grid-area: name; }
    #services-section .data-table td.svc-ip { grid-area: ip; }
    #services-section .data-table td.svc-run { grid-area: run; min-width: 0; }
    #services-section .data-table td.svc-price { grid-area: price; }
    #services-section .data-table td.svc-status { grid-area: status; justify-self: end; }
    #services-section .data-table td.svc-btns { grid-area: btns; }

    #services-section .data-table td.svc-ip.svc-noip,
    #services-section .data-table td.svc-run:empty {
        display: none;
    }

    .svc-bar {
        max-width: none;
    }
}


/* Dec 2026 (Version 15): menu like billing.luxvps.net. The icon sits on the section title
   (General: 4 squares, Account: person, Admin: shield), the menu items are plain text in line with the title text. */
.sidebar .nav-item > svg {
    display: none;
}

.sidebar .nav-item {
    padding-left: 40px;
}

.sidebar .nav-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 12px 6px 12px;
}

.sidebar .nav-section[hidden] {
    display: none;
}

.sidebar .nav-section::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background-color: var(--muted);
    -webkit-mask: var(--lx-sec-icon) center / 18px 18px no-repeat;
    mask: var(--lx-sec-icon) center / 18px 18px no-repeat;
}

:root[data-theme="dark"] .sidebar .nav-section::before {
    background-color: #C9CFE6;
}

.sidebar .nav-section[data-app-text="navGeneral"] {
    --lx-sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}

.sidebar .nav-section[data-app-text="navAccount"] {
    --lx-sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.sidebar .nav-section[data-app-text="navAdmin"] {
    --lx-sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E");
}


/* Dec 2026 (Version 15): account button in the top bar like billing.luxvps.net:
   32px round avatar in the button colour with a border, name 14px, chevron in the name colour. */
.dropdown .user {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 8px 0 4px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.dropdown .user .avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    background: #FFFFFF;
    border: 1px solid #D8D8DC;
    color: #0B0B0E;
}

:root[data-theme="dark"] .dropdown .user .avatar {
    background: #1A2350;
    border-color: #34407A;
    color: #FFFFFF;
}

.dropdown .user .user-name,
.dropdown .user svg {
    color: #0B0B0E;
}

:root[data-theme="dark"] .dropdown .user .user-name,
:root[data-theme="dark"] .dropdown .user svg {
    color: #FFFFFF;
}

.dropdown .user svg {
    width: 16px;
    height: 16px;
}


/* Dec 2026 (Version 16): servers list search box and button measured on billing.luxvps.net (2 Dec):
   search 220 x 32, dark field, 13px, billing's 16px magnifier at 10px; button 30px high, 13px, 8px gap, 16px icon. */
#services-section .table-tools .input {
    width: 220px;
    height: 32px;
    padding: 0 10px 0 32px;
    border-radius: 6px;
    font-size: 13px;
    background-color: #FFFFFF;
    border: 1px solid var(--border);
    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='%2366666C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px 16px;
}

:root[data-theme="dark"] #services-section .table-tools .input {
    background-color: #0A0F28;
    border-color: #232D5C;
    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='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
}

#services-section .table-tools .input::placeholder {
    color: #8A8A90;
}

:root[data-theme="dark"] #services-section .table-tools .input::placeholder {
    color: #6F77A0;
}

#services-section .table-tools .input:focus {
    outline: none;
    border-color: var(--accent);
}

.svc-tools-r .btn {
    min-height: 30px;
    height: 30px;
    padding: 0 12px;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.svc-tools-r .btn svg {
    width: 16px;
    height: 16px;
}


/* Dec 2026 (Version 16): top bar like billing.luxvps.net (measured 2 Dec):
   English / Deutsch switch next to the bell, icon buttons 38px and 6px apart. */
.topbar .lx-lang-top {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 36px;
    padding: 3px;
    border: 1px solid #D8D8DC;
    border-radius: 6px;
    background: #FFFFFF;
}

:root[data-theme="dark"] .topbar .lx-lang-top {
    border-color: #232D5C;
    background: #0A1029;
}

.topbar .lx-lang-top .segment {
    height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #66666C;
    font: 500 12px/28px var(--font);
    letter-spacing: normal;
    min-width: 0;
    cursor: pointer;
}

.topbar .lx-lang-top .segment.is-active {
    background: #FFFFFF;
    color: #0B0B0E;
    font-weight: 600;
}

:root[data-theme="dark"] .topbar .lx-lang-top .segment {
    color: #9AA1C2;
}

:root[data-theme="dark"] .topbar .lx-lang-top .segment.is-active {
    background: #1A2350;
    color: #FFFFFF;
}

.topbar .lx-lang-top .segment:not(.is-active):hover {
    color: var(--text);
}

/* the top bar keeps 16px between groups; the icons sit 6px apart like billing */
.topbar > .lx-lang-top + .notify {
    margin-left: -4px;
}

.topbar > [data-app-theme-toggle],
.topbar > [data-app-theme-toggle] + .dropdown {
    margin-left: -10px;
}

@media (max-width: 720px) {
    .topbar .lx-lang-top {
        display: none;
    }
}


/* Dec 2026 (Version 16): side menu placed exactly like billing.luxvps.net (measured 2 Dec):
   menu padding 12/10/20, items 34px high and 2px apart, section titles 18px above and 6px below. */
.sidebar {
    padding: 12px 10px 20px;
}

.sidebar .nav-item {
    border-width: 0;
    margin: 0 0 2px;
}

.sidebar .nav-section {
    margin: 0 0 2px;
    padding: 18px 12px 6px;
}

.sidebar > .nav-section:first-child {
    padding-top: 4px;
}


/* Dec 2026 (Version 17): footer like billing.luxvps.net (measured 2 Dec): Contact us, Terms of Service,
   language / € EUR and © Luxvps under every page, 13px, line on top, the language button on the right. */
.lx-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.lx-main > .content {
    flex-grow: 1;
}

.lx-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin: 4px 32px 0;
    padding: 20px 0 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 19px;
}

:root[data-theme="dark"] .lx-foot {
    border-top-color: #1B2550;
    color: #9AA1C2;
}

.lx-foot-links {
    display: flex;
    gap: 20px;
}

.lx-foot a,
:root[data-theme="dark"] .lx-foot a {
    color: inherit;
    text-decoration: none;
}

.lx-foot a:hover,
.lx-foot-locale:hover {
    color: var(--text);
}

.lx-foot-locale {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 800px) {
    .lx-foot {
        margin: 0 16px;
    }
}

@media (max-width: 720px) {
    .lx-foot-locale,
    .lx-foot-rights {
        display: none;
    }
}


/* Dec 2026 (Version 18): breadcrumb like billing.luxvps.net (measured 2 Dec): "Dashboard / page" above
   the page title, 13px, grey links, the current page in normal text colour, 18px down to the title. */
.lx-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 18.85px;
}

:root[data-theme="dark"] .lx-crumbs {
    color: #9AA1C2;
}

.lx-crumbs a,
:root[data-theme="dark"] .lx-crumbs a {
    color: inherit;
    text-decoration: none;
}

.lx-crumbs a:hover {
    color: var(--text);
}

.lx-crumbs-sep {
    padding: 0 7px;
}

.lx-crumbs-cur {
    color: var(--text);
}

:root[data-theme="dark"] .lx-crumbs-cur {
    color: #DDE2F5;
}


/* Dec 2026 (Version 18): "Chat with us" in the same place as on billing: 52px higher than the
   24px the chat script sets, so it sits above the footer text (phones keep the script's position). */
@media (min-width: 481px) {
    #lux-chat-launcher {
        transform: translateY(-52px);
    }
}
