:root {
    --portal-global-scale: 0.8;
}

/* Match Chrome 80% zoom by default across the whole app. */
html {
    zoom: var(--portal-global-scale);
}

/* Fallback for browsers that do not support zoom (e.g. Firefox). */
@supports not (zoom: 1) {
    body {
        transform: scale(var(--portal-global-scale));
        transform-origin: top left;
        width: calc(100% / var(--portal-global-scale));
    }
}
:root {
    --bg-0: #000000;
    --bg-1: #000000;
    --bg-2: #000000;
    --text-strong: #f7f9ff;
    --text-muted: #aeb7cf;
    --text-faint: #7e88a3;
    --accent-primary: #3a7cff;
    --accent-primary-hover: #2d6feb;
    --radius-lg: 30px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --border-default: rgba(135, 154, 199, 0.2);
    --shadow-main: 0 28px 64px rgba(0, 0, 0, 0.46);
}

html[data-theme="alt"] {
    --bg-0: #000000;
    --bg-1: #000000;
    --bg-2: #000000;
    --accent-primary: #4d84ff;
    --accent-primary-hover: #3b75ef;
}

* {
    box-sizing: border-box;
}

html,
body {
    background: #000000 !important;
}

body.portal-app {
    margin: 0;
    min-height: 100vh;
    color: var(--text-strong);
    font-family: "Manrope", Inter, "Helvetica Neue", sans-serif;
    background: #000000;
}

body.portal-app::before {
    content: "";
    position: fixed;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

.w-layout-blockcontainer.container {
    max-width: 1440px;
}

.topbar {
    position: relative;
    backdrop-filter: none;
    background: #000000 !important;
    border-bottom: 0 !important;
}

.container.fixed {
    background: transparent !important;
    min-height: auto;
    height: auto;
    padding-top: 60px;
    padding-bottom: 0;
}

.section-no-vertical-padding.fixed {
    background: transparent !important;
}

.section-no-vertical-padding.fixed.topbar {
    background: #000000 !important;
    border-bottom: 0 !important;
}


.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    padding: 0 6px;
}

.brand {
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: relative;
    min-height: 52px;
    padding-left: 50px;
    padding-top: 12px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    position: absolute;
    left: 0;
    top: 12px;
}

.brand-title {
    color: var(--text-strong);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
}

.brand-subtitle {
    color: rgba(189, 197, 220, 0.76);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1;
}

.navigation-links {
    color: #bfc7dc;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.navigation-links:hover,
.navigation-links.w--current {
    color: #f2f6ff;
    opacity: 1;
}

.nav-menu.w-nav-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.account-email {
    display: inline-block;
    max-width: 260px;
    margin-right: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(137, 156, 206, 0.28);
    background: rgba(11, 17, 33, 0.58);
    color: #cfd8f3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    line-height: 1.1;
}

.theme-toggle-wrap {
    margin-left: 4px;
}

.theme-toggle-button {
    border: 1px solid rgba(136, 159, 215, 0.28);
    border-radius: 999px;
    background: rgba(11, 17, 33, 0.72);
    color: var(--text-strong);
    height: 50px;
    min-width: 164px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.theme-toggle-button:hover {
    transform: translateY(-1px);
    border-color: rgba(152, 179, 244, 0.42);
    box-shadow: 0 0 0 4px rgba(66, 104, 193, 0.12);
}

.theme-toggle-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    color: #eef2ff;
}

.top-icon-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: rgba(221, 228, 246, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.16s ease, opacity 0.16s ease;
}

.top-icon-button:hover {
    color: #f4f7ff;
}

.top-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
}

.panel {
    background: linear-gradient(180deg, rgba(20, 27, 43, 0.88), rgba(13, 18, 31, 0.84));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.searchbox-div {
    margin-top: 34px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    position: relative;
}

.admin-buttons-div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-buttons,
.button-action,
.btn-primary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    color: #f2f5ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    padding: 0 22px;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

.admin-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    white-space: nowrap;
    background: linear-gradient(135deg, rgba(63, 46, 131, 0.98), rgba(46, 44, 98, 0.95));
    border: 1px solid rgba(116, 131, 218, 0.34);
    color: #d8e8ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.2);
}

.admin-buttons-div .admin-buttons:last-child {
    background: linear-gradient(135deg, rgba(34, 83, 176, 0.98), rgba(35, 101, 188, 0.95));
}

.admin-button-icon {
    width: 15px;
    height: 15px;
    color: #a8d6ff;
    display: inline-flex;
}

.admin-buttons:hover,
.button-action:hover,
.btn-primary:hover {
    transform: translateY(-1px);
    opacity: 0.98;
}

.search-controls {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 1 680px;
    width: 100%;
    max-width: 680px;
}

.search.saved-shortlists {
    margin: 0;
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 56px;
    border-radius: 28px;
    border: 1px solid rgba(151, 170, 214, 0.2);
    background: linear-gradient(180deg, rgba(17, 21, 35, 0.72), rgba(15, 18, 32, 0.66));
    color: var(--text-strong);
    font-family: inherit;
    font-size: 15px;
    padding: 0 22px 0 58px;
}

.search-input::placeholder {
    color: var(--text-faint);
}

.search-input:focus {
    outline: none;
    border-color: rgba(124, 161, 241, 0.44);
    box-shadow: 0 0 0 4px rgba(47, 116, 192, 0.1);
}

.search-icon {
    width: 20px;
    opacity: 0.7;
    filter: invert(88%) saturate(0) brightness(1.1);
    left: 22px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
}

.search-filter-button {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    border: 1px solid rgba(151, 170, 214, 0.24);
    background: linear-gradient(180deg, rgba(41, 47, 68, 0.84), rgba(28, 33, 51, 0.88));
    color: #d5deef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.14s ease, border-color 0.14s ease;
}

.search-filter-button:hover {
    transform: translateY(-1px);
    border-color: rgba(138, 176, 240, 0.38);
}

.filter-icon {
    width: 19px;
    height: 19px;
    display: inline-flex;
}

.action-status-feedback {
    position: absolute;
    left: 28px;
    right: 28px;
    top: calc(100% + 12px);
    width: auto;
    margin: 0;
    order: 3;
    pointer-events: none;
}

.message-div {
    border-radius: 999px;
    border: 1px solid var(--border-default);
    background: rgba(18, 19, 28, 0.88);
    margin: 0;
    display: none;
    width: fit-content;
    max-width: 100%;
    pointer-events: auto;
}

.message-div.success {
    border-color: rgba(101, 198, 126, 0.5);
}

.message-div.danger {
    border-color: rgba(224, 116, 102, 0.5);
}

.message-textblock {
    color: var(--text-faint);
    padding: 9px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section {
    padding: 26px 36px 34px;
}

.container.table {
    margin-top: 176px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.summary-strip {
    margin-bottom: 16px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.summary-stat {
    border: 1px solid rgba(148, 170, 218, 0.22);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20, 26, 40, 0.92), rgba(13, 19, 32, 0.9));
    padding: 12px 16px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.summary-label {
    color: #9eabca;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.summary-value {
    color: #f4f7ff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.summary-stat-offline .summary-value {
    color: #f7b267;
}

.summary-stat-offline {
    cursor: pointer;
    user-select: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.summary-stat-offline:hover {
    border-color: rgba(247, 178, 103, 0.6);
    box-shadow: 0 0 0 2px rgba(247, 178, 103, 0.12);
}

.summary-stat-offline.is-active {
    border-color: rgba(247, 178, 103, 0.9);
    box-shadow: 0 0 0 2px rgba(247, 178, 103, 0.2), inset 0 0 22px rgba(247, 178, 103, 0.08);
}

.summary-stat-low-battery .summary-value {
    color: #ffd26d;
}

.summary-stat-low-battery {
    cursor: pointer;
    user-select: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.summary-stat-low-battery:hover {
    border-color: rgba(255, 210, 109, 0.65);
    box-shadow: 0 0 0 2px rgba(255, 210, 109, 0.14);
}

.summary-stat-low-battery.is-active {
    border-color: rgba(255, 210, 109, 0.95);
    box-shadow: 0 0 0 2px rgba(255, 210, 109, 0.2), inset 0 0 20px rgba(255, 210, 109, 0.08);
}

.table_component {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(4, 6, 12, 0.96), rgba(2, 4, 10, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.header_cell_custom._1,
.table_cell_custom._1 {
    width: 140px;
    min-width: 140px;
}

.header_cell_custom._2,
.table_cell_custom._2 {
    width: 12%;
}

.header_cell_custom._3,
.table_cell_custom._3 {
    width: 24%;
}

.header_cell_custom._4,
.table_cell_custom._4 {
    width: 18%;
}

.header_cell_custom._5,
.table_cell_custom._5 {
    width: 46%;
    display: table-cell !important;
}

.table_row {
    display: grid !important;
    grid-template-columns: 166px 128px 296px 188px minmax(496px, 1fr);
    column-gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    min-height: 144px;
    align-items: center;
    transition: background-color 0.16s ease;
}

.table_row > td {
    width: auto !important;
    min-width: 0;
}

.table_row.is-hidden {
    display: none !important;
}

.table_row:last-child {
    border-bottom: 0;
}

.table_row:hover {
    background: rgba(255, 255, 255, 0.015);
}

.table_row.new_header {
    background: linear-gradient(90deg, rgba(23, 29, 47, 0.68), rgba(16, 22, 39, 0.42));
    min-height: 72px;
    padding-top: 0;
    padding-bottom: 0;
}

.table_row.device-issue {
    background: linear-gradient(90deg, rgba(92, 68, 46, 0.18), rgba(31, 26, 41, 0.12));
}

.header-text-block {
    color: rgba(172, 181, 205, 0.78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cell-text {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

.cell-text.name {
    color: #eef3ff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.phone-id-secondary {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.3;
    color: rgba(197, 205, 226, 0.68);
    white-space: nowrap;
}

.phone-id-model {
    display: none;
    margin-top: 8px;
}

.table_row.row-expanded .phone-id-model {
    display: block;
}

.dropdown-model-label {
    color: #77809a;
    margin-right: 6px;
    font-weight: 700;
}

.phone-id-temp {
    color: #77809a;
    font-size: 12px;
    margin-top: 4px;
}

.device-status-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background: radial-gradient(circle at 30% 28%, #dcffe8 0%, #9afcc4 20%, #43df82 52%, #188f48 100%);
    border: 1px solid rgba(136, 255, 182, 0.6);
    box-shadow:
        inset -1px -2px 3px rgba(0, 0, 0, 0.3),
        inset 1px 1px 2px rgba(255, 255, 255, 0.48),
        0 0 7px rgba(80, 241, 146, 0.55);
}

.status-dot.offline {
    background: #efb054;
    box-shadow: 0 0 6px rgba(239, 176, 84, 0.4);
}

.status-label-text {
    margin-left: 0;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #98a2bf;
}

.status-label-text.online {
    color: #4ade80;
}

.status-label-text.offline {
    color: #fbbf24;
}

.battery-column {
    display: flex;
    align-items: center;
    gap: 14px;
}

.battery-text {
    font-weight: 700;
    min-width: 46px;
    color: #f2f6ff;
    font-size: 18px;
}

.battery-gauge {
    width: 18px;
    height: 34px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    position: relative;
    padding: 2px;
    background: rgba(14, 19, 29, 0.7);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.battery-gauge::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 5px;
    width: 8px;
    height: 3px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.battery-gauge-fill {
    display: block;
    width: 100%;
    border-radius: 2px;
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 2px;
    height: 0;
    transition: height 0.2s ease;
}

.battery-state-high .battery-gauge-fill {
    background: linear-gradient(180deg, #86f0b6, #3abf78);
    box-shadow: 0 0 5px rgba(82, 223, 149, 0.5);
}

.battery-state-mid .battery-gauge-fill {
    background: linear-gradient(180deg, #ffd56a, #f0b140);
    box-shadow: 0 0 4px rgba(255, 202, 89, 0.42);
}

.battery-state-low .battery-gauge-fill {
    background: linear-gradient(180deg, #fb7185, #ef4444);
    box-shadow: 0 0 6px rgba(240, 86, 101, 0.48);
    animation: battery-low-glow 2.8s ease-in-out infinite;
}

@keyframes battery-low-glow {
    0% {
        box-shadow: 0 0 4px rgba(240, 86, 101, 0.35);
    }
    50% {
        box-shadow: 0 0 10px rgba(240, 86, 101, 0.6);
    }
    100% {
        box-shadow: 0 0 4px rgba(240, 86, 101, 0.35);
    }
}

.status-pill {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    padding: 0 18px;
    background: linear-gradient(180deg, rgba(17, 21, 34, 0.86), rgba(12, 15, 27, 0.88));
    gap: 10px;
    min-height: 46px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.status-pill.offline {
    border-color: rgba(156, 163, 175, 0.18);
    background: linear-gradient(180deg, rgba(48, 53, 72, 0.42), rgba(33, 37, 51, 0.34));
}

.status-pill.offline .code-embed-icon,
.status-pill.offline .status-pill-text {
    color: #98a2bf;
}

.status-pill-text {
    color: #eef2ff;
    font-size: 15px;
    font-weight: 600;
}

.status-pill.net-salt .code-embed-icon {
    color: #46a0ff;
}

.status-pill.net-sunrise .code-embed-icon {
    color: #ffb44c;
}

.status-pill.net-swisscom .code-embed-icon {
    color: #ff4d8d;
}

.code-embed-icon {
    width: 18px;
    height: 18px;
    color: #7bc0ff;
}

.code-embed-icon.wifi {
    color: #b7c4de;
}

.cell-box.stats-flexbox,
.cell-box.cell-itmes-flexbox,
.cell-box.device-model,
.cell-box.cell-itmes-flexbox.status {
    padding-left: 0;
}

.table_cell_custom._4 .cell-box.stats-flexbox {
    justify-content: flex-start;
}

.cell-box.cell-itmes-flexbox {
    width: 100%;
    padding-right: 62px;
}

.button-flexbox {
    gap: 12px;
    padding-right: 0;
    display: flex;
    flex-wrap: nowrap;
}

.actions-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    padding-right: 0;
}

.button-action {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    border-radius: 18px;
    letter-spacing: 0.05em;
    font-size: 12px;
    background-image: linear-gradient(180deg, rgba(33, 68, 141, 0.88), rgba(26, 57, 124, 0.92));
    border: 1px solid rgba(118, 167, 246, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -6px 12px rgba(9, 20, 38, 0.18),
        0 8px 18px rgba(0, 0, 0, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button-action.blue {
    background-image: linear-gradient(180deg, rgba(42, 91, 182, 0.94), rgba(31, 74, 163, 0.96));
    border-color: rgba(113, 166, 249, 0.42);
    color: #f7fbff;
}

.button-action.blue:hover {
    background-image: linear-gradient(180deg, rgba(52, 106, 206, 0.96), rgba(36, 84, 183, 0.96));
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.14), 0 8px 18px rgba(18, 53, 122, 0.3);
}

.button-action.reboot-button {
    background-image: linear-gradient(180deg, rgba(54, 58, 80, 0.78), rgba(41, 46, 67, 0.84));
    border-color: rgba(120, 132, 170, 0.28);
    color: #f3f6ff;
}

.button-action.reboot-button:hover {
    background-image: linear-gradient(180deg, rgba(62, 67, 92, 0.82), rgba(46, 52, 76, 0.88));
    box-shadow: 0 0 0 2px rgba(149, 167, 218, 0.12), 0 8px 18px rgba(20, 28, 48, 0.3);
}

.button-action.open-tv {
    background-image: linear-gradient(180deg, rgba(39, 82, 167, 0.9), rgba(30, 71, 151, 0.94));
}

.button-action.accept-tv {
    background-image: linear-gradient(180deg, rgba(69, 132, 252, 0.98), rgba(49, 109, 233, 0.96));
    border-color: rgba(147, 197, 253, 0.42);
}

.button-action.green {
    background-image: linear-gradient(180deg, rgba(5, 150, 105, 0.94), rgba(13, 148, 136, 0.92));
    border-color: rgba(94, 234, 212, 0.34);
}

.button-main {
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.button-meta {
    display: block;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(236, 243, 255, 0.86);
}

.service-tv .button-meta {
    color: #66b0ff;
}

.service-ad .button-meta {
    color: #6bc7ff;
}

.cell-box.cell-itmes-flexbox .button-action {
    width: 100%;
    height: 58px;
    min-height: 58px;
    padding: 8px 12px;
    line-height: 1.1;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 4px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
    white-space: normal;
}

.button-icon {
    width: 15px;
    height: 15px;
    color: inherit;
    flex: 0 0 auto;
    grid-column: 1;
    grid-row: 1;
}

.button-action .button-main {
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
}

.button-action .button-meta {
    grid-column: 1 / -1;
    grid-row: 2;
}

.button-action.reboot-button .button-meta {
    display: none;
}

.button-action.reboot-button .button-icon {
    color: #ff647c;
}

.accordion-item-trigger {
    z-index: 1;
    cursor: pointer;
    flex-flow: row;
    justify-content: flex-end;
    position: absolute;
    inset: 18px 0 auto auto;
    transform: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(39, 45, 66, 0.74), rgba(28, 34, 51, 0.86));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.accordion-item-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(152, 179, 244, 0.28);
}

.code-embed-icon.arrow-right {
    width: 18px;
    height: 18px;
    color: #d5deef;
}

.accordion-item-content {
    gap: 8px;
    margin-top: 12px;
    width: 100%;
}

.accordion-actions {
    display: grid;
    gap: 8px;
}

.action-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.action-row-remote .action-cell-spacer {
    display: none;
}

.action-row-remote .button-action:nth-of-type(1) {
    grid-column: 1;
}

.action-row-remote .button-action:nth-of-type(2) {
    grid-column: 2;
}

.button-action.accordion {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 3px;
    align-content: center;
}

.button-action.accordion .button-main {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    white-space: nowrap;
    text-align: center;
}

.button-action.accordion .button-meta {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    text-align: center;
}

.action-cell-spacer {
    min-height: 1px;
}

.action-group-separator {
    grid-column: 1 / -1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 2px 0;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.table-footer {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #aab4cf;
    padding: 0 2px;
}

.table-footer-meta {
    font-size: 14px;
    letter-spacing: 0.01em;
}

.table-footer-bullet {
    color: #4d8fff;
    margin-right: 8px;
}

.table-footer-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-btn,
.page-size-btn {
    border: 1px solid rgba(118, 137, 188, 0.24);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(20, 27, 45, 0.72), rgba(16, 22, 38, 0.82));
    color: #d5ddf4;
    height: 44px;
    min-width: 44px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.page-btn.active {
    border-color: rgba(85, 145, 255, 0.7);
    color: #dcedff;
    box-shadow: inset 0 0 0 1px rgba(85, 145, 255, 0.24);
}

.page-arrow {
    font-size: 20px;
    line-height: 1;
}

.page-size-btn {
    min-width: 146px;
    justify-content: space-between;
}

.page-size-caret {
    font-size: 16px;
    color: #cad5f1;
    transform: translateY(-1px);
}

.status-pill-offline-mark {
    color: #ff5d76;
    font-size: 24px;
    line-height: 1;
}

.button-action.is-disabled {
    opacity: 0.35;
    pointer-events: none;
    filter: saturate(0.7);
}

.login-container {
    text-align: center;
    margin-top: 20px;
}

.divider {
    margin: 20px 0;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.divider-text {
    position: absolute;
    background: #fff;
    padding: 0 10px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: #666;
}

.google-btn {
    background-color: #db4437;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

#standard_login_button {
    text-align: center;
}

@media screen and (max-width: 980px) {
    .container.table {
        margin-top: 198px;
    }

    .summary-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .summary-value {
        font-size: 22px;
    }

    .nav-container {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .searchbox-div {
        gap: 14px;
        flex-wrap: wrap;
    }

    .admin-buttons-div,
    .search-controls,
    .search.saved-shortlists {
        width: 100%;
        margin-left: 0;
    }

    .table_row {
        grid-template-columns: 130px 100px 210px 150px minmax(370px, 1fr);
        column-gap: 12px;
        padding: 16px 18px;
    }

    .actions-grid-3 {
        gap: 10px;
    }
}

@media screen and (max-width: 640px) {
    .summary-strip {
        grid-template-columns: 1fr;
    }

    .summary-stat {
        padding: 12px 14px;
    }

    .summary-value {
        font-size: 20px;
    }
    .brand {
        padding-left: 40px;
    }

    .brand-icon {
        width: 30px;
        height: 30px;
    }

    .brand-title {
        font-size: 26px;
    }

    .brand-subtitle {
        font-size: 10px;
    }

    .section {
        padding: 12px 10px 28px;
    }

    .container.fixed {
        padding-top: 10px;
        padding-bottom: 0;
    }

    .container.table {
        margin-top: 254px;
    }

    .theme-toggle-wrap {
        margin-left: 0;
    }

    .theme-toggle-button {
        min-width: 136px;
        height: 40px;
        font-size: 13px;
    }

    .searchbox-div {
        margin-top: 20px;
        padding: 16px;
        flex-wrap: wrap;
    }

    .admin-buttons-div {
        flex-direction: column;
        width: 100%;
    }

    .account-email {
        max-width: 180px;
        margin-right: 8px;
    }

    .admin-buttons {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .table_row {
        padding: 12px 8px;
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .table_row.new_header {
        display: none !important;
    }

    .actions-grid-3,
    .action-row {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .action-cell-spacer {
        display: none;
    }

    .accordion-item-trigger {
        inset: 18px 0 auto auto;
        transform: none;
    }

    .table-footer {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
}

.nav-menu.w-nav-menu .navigation-links {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

/* Auth login page */
body.auth-login-page {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background-color: #06080c !important;
}

body.auth-login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(70, 110, 200, 0.12), transparent 60%),
        #06080c;
}

body.auth-login-page .container-fluid {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 20px 28px;
}

body.auth-login-page .nav {
    display: none !important;
}

body.auth-login-page .nav-link {
    color: #c7d2ef;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.auth-login-page .nav-link:hover {
    color: #f2f7ff;
}

.auth-top-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4px 18px 12px;
}

.auth-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.auth-brand-icon {
    width: 40px;
    height: 40px;
}

.auth-brand-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
}

.auth-brand-title {
    color: #f3f5fb;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.auth-brand-subtitle {
    color: #a6b0c3;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.auth-login-shell {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 118px);
    padding: 10px 16px 36px;
}

.auth-login-card {
    width: min(100%, 468px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, #1b2330, #0f141c);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    padding: 32px 36px;
    transform: translateY(-20px);
}

.auth-login-title {
    margin: 0 0 8px;
    color: #e8edf5;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.auth-login-subtitle {
    margin: 0 0 28px;
    color: #a6b0c3;
    font-size: 14px;
    line-height: 1.5;
}

.auth-login-form {
    margin: 0;
}

.auth-field-group {
    margin: 0;
}

.auth-field-group + .auth-field-group {
    margin-top: 16px;
}

.auth-field-label {
    color: #9ba6ba;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-align: left;
    display: block;
}

.auth-field-input.form-control {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0a0f17;
    color: #e6ecf5;
    padding: 0 14px;
    font-size: 14px;
}

.auth-field-input.form-control::placeholder {
    color: #6f7b91;
}

.auth-field-input.form-control:focus {
    border: 1px solid #4c8dff;
    box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.15);
    transition: all 0.18s ease;
    background: #0a0f17;
    color: #e6ecf5;
}

.auth-submit-wrap {
    margin-top: 22px;
    margin-bottom: 0;
    text-align: left;
}

.auth-primary-btn.btn.btn-primary {
    height: 48px;
    width: 100%;
    border-radius: 10px;
    border: 0;
    background: linear-gradient(135deg, #4c8dff, #3573e6);
    box-shadow: 0 8px 24px rgba(76, 141, 255, 0.35);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0 14px;
    margin-bottom: 20px;
}

.auth-primary-btn.btn.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.auth-login-container {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.auth-divider {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.auth-divider-text {
    color: #6f7b91;
    text-transform: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.auth-google-btn {
    min-height: 44px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #b8c2d9;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-google-btn:hover {
    color: #b8c2d9;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}

.auth-google-logo {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 780px) {
    .auth-top-brand {
        padding: 0 8px 10px;
    }

    .auth-brand-icon {
        width: 34px;
        height: 34px;
    }

    .auth-brand-title {
        font-size: 28px;
    }

    .auth-brand-subtitle {
        font-size: 10px;
    }

    .auth-login-card {
        padding: 28px 22px;
        border-radius: 16px;
        transform: translateY(-12px);
    }

    .auth-login-title {
        font-size: 32px;
    }

    .auth-login-shell {
        min-height: calc(100vh - 96px);
        padding-bottom: 20px;
    }

    .auth-primary-btn.btn.btn-primary,
    .auth-google-btn {
        width: 100%;
    }
}
