﻿/* ── CSS Variables: Dark (default) ── */
:root {
    --accent-subtle: rgba(59,130,246,.12);
    --radius-card: 10px;
    --radius-btn: 6px;
    --transition: .18s ease;
    --radius: 10px;
    --tr: 0.26s ease;
    --blue: #3B8BEB;
    --green: #2DAF72;
    --orange: #E8820C;
    --yellow: #F2C542;
    --red: #E05555;
    --purple: #9B72E8;
    --accent-hover: #2563EB;
    --accent-border: rgba(37,99,235,0.35);
}

body.dark {
    --bg-page: #0d1117;
    --bg-card: #161b22;
    --bg-toolbar: #0d1117;
    --bg-sidebar: #0d1117;
    --bg-topbar: #161b22;
    --bg-search: #161b22;
    --bg-filter: #1c2128;
    --bg-filter-menu: #1c2128;
    --bg-field: rgba(255,255,255,0.025);
    --bg-field-hover: rgba(255,255,255,0.06);
    --bg-row-hover: rgba(255,255,255,0.02);
    --bg-sidebar-hover: rgba(255,255,255,0.05);
    --bg-sidebar-active: rgba(56,139,253,0.12);
    --bg-tab-bar: #0d1117;
    --bg-tab-active: rgba(56,139,253,0.08);
    --bg-banner: rgba(161,113,0,0.18);
    --bg-input: #1c2128;
    --bg-table-hd: #1c2128;
    --bg-device-card: #1c2128;
    --bg-device-hover: #21262d;
    --bg-avatar: #1f6feb;
    --bg-surface: #161b22;
    --bg-hover: #21262d;
    --bg-base: #0d1117;
    --bg-textarea: #1c2128;
    --bg-section-hd: #1c2128;
    --bg-elevated: #1c2128;
    --border-card: rgba(255,255,255,0.1);
    --border-divider: rgba(255,255,255,0.07);
    --border-row: rgba(255,255,255,0.05);
    --border-field: rgba(255,255,255,0.055);
    --border-search: rgba(255,255,255,0.1);
    --border-search-focus: rgba(59,130,246,0.6);
    --border-sidebar: rgba(255,255,255,0.07);
    --border-banner: rgba(180,130,0,0.35);
    --border-device: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.15);
    --border-input: rgba(255,255,255,.15);
    --border-input-focus: #3B82F6;
    --border-btn-sec: rgba(255,255,255,0.15);
    --border-table: rgba(255,255,255,.07);
    --text-heading: #e6edf3;
    --text-body: #e2e8f0;
    --text-muted: #6b7280;
    --text-tab: #6b7280;
    --text-tab-hover: #9ca3af;
    --text-tab-active: #60a5fa;
    --text-link: #58a6ff;
    --text-mono: #60a5fa;
    --text-sidebar: #8b949e;
    --text-sidebar-active: #e6edf3;
    --text-banner: #e6c84a;
    --text-banner-link: #58a6ff;
    --text-filter: #c9d1d9;
    --text-secondary: #8b949e;
    --text-primary: #e6edf3;
    --text-error: #f87171;
    --text-btn-sec: #c9d1d9;
    --accent: #3b82f6;
    --accent-btn: #1f6feb;
    --accent-btn-hover: #1a5ccc;
    --accent-light: rgba(37,99,235,0.12);
    --toggle-knob: #fff;
    --sidebar-width: 230px;
    --tab-accent: #ef4444;
    --info-bg: rgba(37,99,235,0.10);
    --info-border: rgba(37,99,235,0.40);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.18s ease;
    --ring-unselected-border: rgba(255,255,255,0.12);
    --ring-unselected: #21262d;
    --ring-selected-bg: rgba(37,99,235,0.15);
    --shadow-card: 0 2px 16px rgba(0,0,0,.4);
    --shadow: rgba(0,0,0,.4);
    --shadow-modal: 0 20px 60px rgba(0,0,0,.6);
    --shadow-overlay: 0 24px 64px rgba(0,0,0,0.6);
    --cal-bg: #1c2128;
    --cal-border: rgba(255,255,255,.12);
    --drawer-bg: #1a1f2e;
    --modal-bg: #1a1f2e;
    --error: #ef4444;
    --success: #4ade80;
    --warning-bg: rgba(245,158,11,.1);
    --warning-border: rgba(245,158,11,.4);
    --warning-text: #fbbf24;
    --warning-light: rgba(217,119,6,.12);
    --warning: #d97706;
    --bg: #141416;
    --surface: #1E1E22;
    --surface-2: #28282E;
    --surface-3: #313139;
    --surface-4: #1E1E26;
    --text: #F0F0F5;
    --muted: #7A7A8C;
    --code-bg: #111115;
    --code-border: #2a2a34;
    --track: rgba(255,255,255,.06);
    --error-icon-bg: rgba(239,68,68,.1);
    --error-icon-color: #f87171;
    --error-border: rgba(239,68,68,.2);
    --overlay-bg: rgba(0,0,0,.65);
    --stat-bg: #161b22;
    --option-bg: #1c2128;
    --option-active-bg: #1c2433;
    --option-active-border: #3B82F6;
    --bg-table-header-2: #0d1117;
    --input-disabled-bg: #161b22;
    --input-bg: #1c2128;
    --row-selected: rgba(37,99,235,0.10);
    --disabled-row: #3a404d;
    --color-tab-active: #2563eb;
    --color-tab-text: #6b7280;
    --color-tab-bg: #181818;
    --color-tab-border: rgba(255,255,255,0.07);
    --color-bg-page-header: #0d1117;
    --color-border-page-header: rgba(255,255,255,0.07);
    --color-text-page-header: #e6edf3;
    --color-toolbar-bg: #0d1117;
    --color-toolbar-border: rgba(255,255,255,0.07);
    --color-field-bg: rgba(255,255,255,0.025);
    --color-field-border: rgba(255,255,255,0.055);
    --color-field-label: #4b5563;
    --color-field-value: #e2e8f0;
    --color-field-value-mono: #a5f3fc;
    --color-expand-btn-bg: rgba(255,255,255,0.05);
    --color-expand-btn-border: rgba(255,255,255,0.1);
    --color-expand-btn-active-bg: rgba(56,139,253,0.15);
    --color-expand-btn-active-border: rgba(56,139,253,0.4);
    --color-expand-btn-active-text: #60a5fa;
    --color-expand-btn-text: #6b7280;
    --color-table-header-bg: #0d1117;
    --color-table-header-border: rgba(255,255,255,0.07);
    --color-table-row-bg: #161b22;
    --color-table-row-text: #e2e8f0;
    --color-table-row-hover: rgba(255,255,255,0.02);
    --color-table-row-expanded-bg: rgba(56,139,253,0.04);
    --color-table-row-border: rgba(255,255,255,0.05);
    --color-empty-title: #e6edf3;
    --color-empty-strong: #3b82f6;
    --color-search-bg: #161b22;
    --color-search-border: rgba(255,255,255,0.1);
    --color-search-text: #e2e8f0;
    --color-search-icon: #6b7280;
    --color-search-clear: #6b7280;
    --color-pagination-bg: #0d1117;
    --color-pagination-border: rgba(255,255,255,0.07);
    --color-btn-primary-bg: #1f6feb;
    --color-btn-primary-text: #ffffff;
    --color-btn-secondary-bg: transparent;
    --color-btn-secondary-border: rgba(255,255,255,0.15);
    --color-btn-secondary-text: #c9d1d9;
    --card-background: #161b22;
    --card-border: rgba(255,255,255,0.1);
    --color-per-page-bg: #161b22;
    --color-per-page-border: rgba(255,255,255,0.1);
    --color-per-page-text: #e2e8f0;
}

body.light {
    --bg-page: #f3f4f6;
    --bg-card: #ffffff;
    --bg-toolbar: #f9fafb;
    --bg-sidebar: #e5e7eb;
    --bg-topbar: #e5e7eb;
    --bg-search: #ffffff;
    --bg-filter: #edf0f4;
    --bg-filter-menu: #ffffff;
    --bg-field: #f8fafc;
    --bg-field-hover: #eef2ff;
    --bg-row-hover: rgba(0,0,0,0.02);
    --bg-sidebar-hover: rgba(255,255,255,0.07);
    --bg-sidebar-active: rgba(59,130,246,.08);
    --bg-tab-bar: #f1f5f9;
    --bg-tab-active: rgba(59,130,246,0.08);
    --bg-banner: rgba(251,191,36,0.12);
    --bg-input: #f8fafc;
    --bg-table-hd: #f1f5f9;
    --bg-device-card: #f8fafc;
    --bg-device-hover: #eef2ff;
    --bg-avatar: #1d4ed8;
    --bg-surface: #ffffff;
    --bg-hover: #eef2f8;
    --bg-base: #f3f6fb;
    --bg-textarea: #f8fafc;
    --bg-section-hd: #f1f5f9;
    --bg-elevated: #f8fafc;
    --border-card: rgba(0,0,0,0.1);
    --border-divider: rgba(0,0,0,0.08);
    --border-row: rgba(0,0,0,0.06);
    --border-field: rgba(0,0,0,0.08);
    --border-search: rgba(0,0,0,0.15);
    --border-search-focus: rgba(59,130,246,0.5);
    --border-sidebar: rgba(255,255,255,0.08);
    --border-banner: rgba(180,130,0,0.3);
    --border-device: rgba(0,0,0,0.08);
    --border: rgba(0,0,0,0.08);
    --border-strong: rgba(0,0,0,0.14);
    --border-input: rgba(0,0,0,.2);
    --border-input-focus: #3B82F6;
    --border-table: rgba(0,0,0,.07);
    --text-heading: #111827;
    --text-body: #1f2937;
    --text-muted: #6b7280;
    --text-tab: #6b7280;
    --text-tab-hover: #374151;
    --text-tab-active: #2563eb;
    --text-link: #2563eb;
    --text-mono: #2563eb;
    --text-sidebar: #4b5563;
    --text-sidebar-active: #111827;
    --text-banner: #92620a;
    --text-banner-link: #2563eb;
    --text-filter: #1f2937;
    --text-secondary: #475569;
    --text-primary: #0f172a;
    --text-error: #f3f4f6;
    --accent: #3b82f6;
    --accent-btn: #1d4ed8;
    --accent-btn-hover: #1641b5;
    --accent-light: rgba(37,99,235,0.12);
    --tab-accent: #ef4444;
    --info-bg: rgba(37,99,235,0.06);
    --info-border: rgba(37,99,235,0.30);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.18s ease;
    --ring-unselected-border: rgba(0,0,0,0.10);
    --ring-unselected: #f1f5f9;
    --ring-selected-bg: rgba(37,99,235,0.07);
    --shadow-card: 0 1px 8px rgba(0,0,0,.08);
    --shadow: rgba(0,0,0,.12);
    --shadow-modal: 0 20px 60px rgba(0,0,0,.2);
    --shadow-overlay: 0 24px 64px rgba(0,0,0,0.18);
    --cal-bg: #ffffff;
    --cal-border: rgba(0,0,0,.12);
    --drawer-bg: #ffffff;
    --modal-bg: #ffffff;
    --error: #dc2626;
    --success: #16a34a;
    --warning-bg: rgba(202,138,4,.08);
    --warning-border: rgba(245,158,11,.35);
    --warning-text: #b45309;
    --warning-light: rgba(217,119,6,.12);
    --warning: #d97706;
    --bg: #F2F3F7;
    --surface: #FFFFFF;
    --surface-2: #EAEBF0;
    --surface-3: #DFE0E8;
    --text: #111118;
    --muted: #6B6B80;
    --code-bg: #1a1a22;
    --code-border: #2a2a34;
    --track: rgba(0,0,0,.07);
    --error-icon-bg: rgba(220,38,38,.08);
    --error-icon-color: #dc2626;
    --error-border: rgba(220,38,38,.15);
    --overlay-bg: rgba(15,23,42,.5);
    --option-active-bg: #eff6ff;
    --option-active-border: #3B82F6;
    --input-disabled-bg: #f1f5f9;
    --input-bg: #f8fafc;
    --row-selected: rgba(37,99,235,0.07);
    --disabled-row: #e5e7eb;
    --color-tab-active: #2563eb;
    --color-tab-text: #6b7280;
    --color-tab-bg: #f1f5f9;
    --color-tab-border: rgba(0,0,0,0.08);
    --color-bg-page-header: #f9fafb;
    --color-border-page-header: rgba(0,0,0,0.08);
    --color-text-page-header: #242424;
    --color-toolbar-bg: #f9fafb;
    --color-toolbar-border: rgba(0,0,0,0.08);
    --color-field-bg: #f8fafc;
    --color-field-border: rgba(0,0,0,0.08);
    --color-field-label: #9ca3af;
    --color-field-value: #000000;
    --color-field-value-mono: #a5f3fc;
    --color-expand-btn-bg: rgba(0,0,0,0.05);
    --color-expand-btn-border: rgba(0,0,0,0.12);
    --color-expand-btn-active-bg: rgba(56,139,253,0.15);
    --color-expand-btn-active-border: rgba(56,139,253,0.4);
    --color-expand-btn-active-text: #60a5fa;
    --color-expand-btn-text: #6b7280;
    --color-table-header-bg: #f9fafb;
    --color-table-header-border: rgba(0,0,0,0.08);
    --color-table-row-bg: #ffffff;
    --color-table-row-text: #1f2937;
    --color-table-row-hover: rgba(0,0,0,0.02);
    --color-table-row-expanded-bg: rgba(59,130,246,0.05);
    --color-empty-title: #111827;
    --color-search-bg: #ffffff;
    --color-search-border: rgba(0,0,0,0.12);
    --color-search-text: #1f2937;
    --color-search-icon: #6b7280;
    --color-search-clear: #6b7280;
    --color-pagination-bg: #f9fafb;
    --color-pagination-border: rgba(0,0,0,0.08);
    --color-btn-primary-bg: #1d4ed8;
    --color-btn-primary-text: #ffffff;
    --color-btn-secondary-bg: transparent;
    --card-background: #ffffff;
    --card-border: rgba(0,0,0,0.1);
    --color-per-page-bg: #ffffff;
    --color-per-page-border: rgba(0,0,0,0.12);
    --color-per-page-text: #1f2937;
}
/* ── Base ── */

body {
    background: var(--bg-page) !important;
    color: var(--text-body) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.25s, color 0.25s;
}
/* ── EDS Styles Override ── */
.dark .switch
{
    margin-bottom:0px !important;
}
.appbarCustom {
    height: 0px !important;
}

.hidden {
    display: none;
}

.navigation-toggle {
    display: none !important;
}

.custom-input {
    height: 36px !important;
    margin-right: 0px !important;
}

.tree {
    width: 220px !important;
    color: var(--text-sidebar) !important;
    background: none;
    font-size: 13px !important;
    padding-bottom: 20px !important;
}

    .tree a, .tree .item {
        color: var(--text-sidebar) !important;
        background: none;
        font-size: 13px !important;
    }

        .tree .item:focus,
        .tree .title:focus {
            outline: none !important;
            outline-offset: -1px;
        }

.dark .tree .item:not(.active):hover,
.dark .tree .title:not(.active):hover {
    background: rgba(255,255,255,.05);
}

.light .tree .item:not(.active):hover,
.light tree .title:not(.active):hover {
    background: rgba(0,0,0,.04) !important;
}

.tree .item:not(.active):hover,
.tree .title:not(.active):hover {
    color: var(--text-sidebar-active) !important;
    font-size: 13px !important;
}

.sysbar label, .syspanel label, .syspanel, .syspanel .btn:last-child {
    color: var(--text-sidebar) !important;
    border-radius: 6px !important;
}

    .syspanel .btn:hover:not(:disabled) {
        border-color: var(--text-secondary) !important;
        color: var(--text-primary) !important;
        background: none !important;
    }

    .syspanel .btn:hover {
        opacity: 0.88;
    }

.light .btn.big, .light .btn.settingsButton {
    border: 1px solid var(--border-card) !important;
}

.tree .active:not(.opened), .tree .active:not(.title) {
    background: var(--bg-sidebar-active) !important;
    color: var(--accent) !important;
    border-left: 2px solid var(--accent) !important;
    font-weight: 600 !important;
}

.light .sysbar .switch .ball, .light .syspanel .switch .ball {
    background: #4b5563 !important;
}

.contentHolder {
    padding-left: 0px;
    background: var(--bg-page) !important;
    color: var(--text-body) !important;
}

.appcontent {
    border-right: 1px solid var(--border-card) !important;
}

.syspanel {
    background: var(--bg-sidebar) !important;
    border: none !important;
}

.settings {
    outline: 0px !important;
}

.app .appnav {
    width: 220px !important;
    height: calc(100vh - (10px + 10px)) !important;
}

.navigation {
    width: 220px !important;
    height: calc(100% - 5px) !important;
}

.eds-gauge {
    width: 100% !important;
    border-radius: 8px !important;
}

    .eds-gauge,
    .eds-gauge * {
        cursor: default !important;
    }
/* ────────────────────────────────────────────────────────────────
   TOP BAR
──────────────────────────────────────────────────────────────── */
.custom-topbar {
    background: var(--bg-topbar) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-card) !important;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 200;
    transition: background 0.25s;
}

.custom-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.custom-topbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-right: 40px !important;
}

.margin-right0px {
    margin-right: 0px !important;
}
/* Portal name — text only, no icon */
.custom-portal-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #e6edf3;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.custom-menu-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #8b949e;
    padding: 4px 8px;
    border-radius: 5px;
    transition: color 0.15s, background 0.15s;
}

    .custom-menu-btn:hover {
        background: rgba(255,255,255,0.07);
    }

.custom-notif-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #8b949e;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 5px;
    transition: color 0.15s;
}

    .custom-notif-btn:hover {
        color: #e6edf3;
    }

.custom-account-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8b949e;
}
/* Theme toggle pill */
.custom-theme-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #8b949e;
    cursor: pointer;
    user-select: none;
}

.custom-toggle-pill {
    width: 36px;
    height: 20px;
    background: var(--accent);
    border-radius: 10px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}

    .custom-toggle-pill::after {
        pointer-events: none;
        content: '';
        position: absolute;
        width: 14px;
        height: 14px;
        background: var(--toggle-knob);
        border-radius: 50%;
        top: 3px;
        right: 3px;
        transition: transform 0.2s;
    }

body.light .custom-toggle-pill::after {
    transform: translateX(-16px);
}

.custom-lbl-dark {
    display: inline;
}

.custom-lbl-light {
    display: none;
}

body.light .custom-lbl-dark {
    display: none;
}

body.light .custom-lbl-light {
    display: inline;
}

.content {
    flex: 1;
    padding: 0px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.contentHolderNewLayout {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0px 20px;
}

.dark .content .selectCustom {
    color: #f2f2f2;
    background: var(--bg-page);
    border: 1px solid #767676;
    border-radius: var(--radius-btn) !important;
}

.page-subtitles {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 3px;
}

.page-breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-headers {
    padding: 16px 2px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #7c93fc;
    margin-right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.info-banner {
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    width: 96%;
}

.info-banner-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.info-banner strong {
    color: var(--text-primary);
    font-weight: 600;
}

.radio-cards {
    display: flex;
    gap: 12px;
}

.radio-icon {
    display: flex;
    gap: 12px;
}

.radio-card {
    position: relative;
    flex: 1;
    max-width: 180px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    background: var(--bg-surface);
    transition: all 0.2s ease;
}

    .radio-card.selected {
        border-color: rgba(37, 99, 235, 0.7);
        background: var(--ring-selected-bg);
    }
    /* Hover */
    .radio-card:hover {
        border-color: #2563eb;
        background: #eef4ff;
    }
    /* Selected */
    .radio-card.selected {
        border-color: #2563eb;
        background: #e6efff;
    }

.radio-input {
    position: absolute;
    inset: 0;
}

.card-content {
    pointer-events: none;
}

.ring-card {
    flex: 1;
    max-width: 180px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1.5px solid var(--ring-unselected-border);
    background: var(--ring-unselected);
    user-select: none;
}

    .ring-card:hover {
        border-color: var(--accent-border);
        background: var(--ring-selected-bg);
    }

    .ring-card.selected {
        border-color: rgba(37,99,235,0.7);
        background: var(--ring-selected-bg);
    }

.ring-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ring-card-count {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.ring-card.selected .ring-card-count {
    color: var(--accent);
}

.ring-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: transparent;
    transition: all var(--transition);
    flex-shrink: 0;
}

.ring-card.selected .ring-dot {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.ring-card-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.ring-card-sublabel {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}

.field-label {
    font-size: 12px !important;
    font-weight: 500;
    color: var(--text-secondary) !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
}

    .field-label .info-icon {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        border: 1.5px solid var(--text-muted);
        color: var(--text-muted);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        font-weight: 700;
        cursor: help;
        transition: border-color var(--transition), color var(--transition);
    }

        .field-label .info-icon:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

.divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.ring-select-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 1px;
}

icon-tooltip {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
/*New css for donut*/
.legend-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 18px;
    overflow: hidden;
    transition: background var(--tr),border-color var(--tr);
    width: 98%;
    max-width: 1400px;
    margin: 20px auto;
}

.legend-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-right: 1px solid var(--border);
    transition: border-color var(--tr);
}

    .legend-section:last-child {
        border-right: none
    }

.legend-section-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap
}

.legend-items {
    display: flex;
    align-items: center;
    gap: 12px
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--muted)
}

.l-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0
}

.legend-spacer {
    flex: 1;
    padding: 9px 14px;
    font-size: 10.5px;
    color: var(--muted);
    text-align: right;
    white-space: nowrap
}

.summary {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 20px;
    transition: background var(--tr),border-color var(--tr);
    width: 98%;
    max-width: 1400px;
    margin: 20px auto;
}

.s-cell {
    background: var(--bg-card);
    padding: 14px 18px;
    transition: background var(--tr)
}

.s-cell-lbl {
    font-size: 10.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 5px
}

.s-cell-val {
    font-size: 19px;
    font-weight: 500;
    color: var(--text);
    transition: color var(--tr)
}

.s-cell-d {
    font-size: 10.5px;
    margin-top: 2px;
}

.ci-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ci-swatch {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ci-label {
    font-size: 10.5px;
    color: var(--muted);
    flex: 1;
    white-space: nowrap;
}

.ci-bar-wrap {
    flex: 2;
    height: 3px;
    background: var(--surface-3);
    border-radius: 2px;
    overflow: hidden;
    transition: background var(--tr);
}

.ci-bar {
    height: 100%;
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .65s cubic-bezier(.4,0,.2,1);
}

.ci-val {
    font-size: 10px;
    color: var(--muted);
    min-width: 34px;
    text-align: right;
}

.ci-pct {
    font-size: 9.5px;
    color: var(--muted);
    min-width: 30px;
    text-align: right;
    opacity: 0.6;
}
/* ───────── CARD ───────── */
.card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ───────── DONUT ───────── */
.donut-wrap {
    position: relative;
    width: 148px;
    height: 148px;
    margin-bottom: 10px;
}

    .donut-wrap svg {
        overflow: visible;
    }

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.donut-count {
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
}

.donut-sub {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.donut-track {
    opacity: 0.15;
}

/* ───────── TITLE + TAG ───────── */
.card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    text-align: center;
}

.card-os-tag {
    font-size: 10.5px;
    color: var(--muted);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* ───────── LEGEND ───────── */
.checkin-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 5px;
}

.ci-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ci-swatch {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.ci-bar-wrap {
    flex: 2;
    height: 3px;
    width: 5px;
    background: var(--surface-3);
    border-radius: 2px;
    overflow: hidden;
}

.ci-bar {
    height: 100%;
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .6s ease;
}

.ci-val {
    font-size: 10px;
    min-width: 34px;
    text-align: right;
}

.ci-pct {
    font-size: 9px;
    min-width: 30px;
    text-align: right;
    opacity: 0.6;
}

.eds-gauge {
    background-color: var(--surface);
    border-radius: 8px;
    width: 23%;
}

    .eds-gauge .card .card-win {
        background-color: var(--surface);
        border-radius: 8px;
        width: 23%;
    }

.card {
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
    overflow: hidden;
    margin: 0px;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 28px var(--shadow);
    }

.card-win {
    --accent: var(--blue);
}

.card-mac {
    --accent: var(--green);
}

.card-linux {
    --accent: var(--orange);
}

.card-mob {
    --accent: var(--purple);
}

.card-top {
    padding: 22px 18px 14px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.card:hover .card-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
}

.card-content {
    padding: 16px;
    text-align: center;
}

.tip {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    background: #16161e;
    color: #e8e8f0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
    padding: 8px 11px;
    font-size: 11.5px;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
    white-space: nowrap;
}

#tooltip {
    visibility: hidden;
}

.dark .card .eds-gauge {
}

.tip-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 2px
}

.tip-sw {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0
}

.tip-pct {
    color: rgba(255,255,255,.4);
    font-size: 10.5px;
}

.eds-gauge card card-win {
    background: var(--surface-4);
}

.rightMarginExtensions {
    display: grid;
    margin-right: 10px;
    width: 99%;
    max-width: 1400px;
    margin: 20px auto;
}
/* ────────────────────────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────────────────────────── */
/*.layout {
    display: flex;
    flex: 1;
    height: calc(100vh - 48px);
    overflow: hidden;
}*/
/* ────────────────────────────────────────────────────────────────
   SIDEBAR  — text labels only, no icons
──────────────────────────────────────────────────────────────── */
.sidebar {
    width: 220px !important;
    background: var(--bg-sidebar) !important;
    border: 1px solid var(--border-card) !important;
    border-top: none !important;
    flex-shrink: 0 !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    transition: width 0.2s, padding 0.2s, background 0.25s !important;
}

    .sidebar.collapsed {
        width: 0;
        padding: 0;
        overflow: hidden;
    }
/* Plain item (leaf node) */
.sb-item {
    padding: 8px 18px !important;
    font-size: 13px !important;
    color: var(--text-sidebar) !important;
    background: none !important;
    border: none !important;
    border-left: 2px solid transparent !important;
    cursor: pointer;
    width: 100% !important;
    text-align: left !important;
    transition: background .12s,color .12s !important;
}

[data-theme="dark"] .sb-item:hover {
    background: rgba(255,255,255,.05) !important;
    color: var(--text-sidebar-active) !important;
}

[data-theme="light"] .sb-item:hover {
    background: rgba(0,0,0,.04) !important;
    color: var(--text-sidebar-active) !important;
}

.sb-item.child {
    padding-left: 32px !important;
}

.sb-item.active {
    background: var(--bg-sidebar-active) !important;
    color: var(--accent) !important;
    border-left-color: var(--accent) !important;
    font-weight: 600 !important;
}
/* Expandable group header */

.sb-menu-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    font-size: 13px;
    color: var(--text-sidebar);
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: color .12s;
}

.sb-group {
    padding: 8px 18px;
    font-size: 12px;
    color: var(--text-sidebar);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .sb-group:hover {
        color: var(--text-sidebar-active);
    }

.sb-group-caret {
    font-size: 10px;
    transition: transform .2s;
}

.sb-chevron {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.2s;
    font-style: normal;
}

.sb-group.open .sb-chevron {
    transform: rotate(90deg);
}

.sb-children {
    display: none;
}

    .sb-children.open {
        display: block;
    }

.page-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 18px;
}
/* ── Banner ── */
.banner {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-banner);
    border: 1px solid var(--border-banner);
    border-radius: 7px;
    padding: 11px 16px;
    font-size: 13px;
    color: var(--text-banner);
    margin-bottom: 18px;
}

    .banner a {
        color: var(--text-banner-link);
        text-decoration: none;
        font-weight: 500;
    }

        .banner a:hover {
            text-decoration: underline;
        }
/* ────────────────────────────────────────────────────────────────
   SEARCH BAR
──────────────────────────────────────────────────────────────── */
.custom-search-bar {
    display: flex;
    align-items: stretch;
    height: 38px;
    border: 1px solid var(--border-search);
    border-radius: 7px;
    background: var(--bg-search);
    margin-bottom: 18px;
    transition: border-color 0.15s;
    position: relative; /* needed so filter-menu can absolute-position */
    width: 100%;
}

    .custom-search-bar:focus-within {
        border-color: var(--border-search-focus);
    }

.margin7 {
    margin: 7.5px;
}
/* ── Custom filter dropdown (replaces <select>) ── */
.filter-wrap {
    position: relative;
    flex-shrink: 0;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 12px;
    background: var(--bg-filter); /* themed — matches bg-filter variable */
    border: none;
    border-right: 1px solid var(--border-search);
    border-radius: 6px 0 0 6px;
    font-size: 12.5px;
    color: var(--text-filter);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

    .filter-btn:hover {
        filter: brightness(1.08);
    }

.filter-caret {
    font-size: 9px;
    color: var(--text-muted);
}
/* Dropdown panel */
.filter-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: var(--bg-filter-menu);
    border: 1px solid var(--border-card);
    border-radius: 7px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
    z-index: 400;
    overflow: hidden;
    animation: dropdown-in 0.12s ease;
}

body.light .filter-menu {
    box-shadow: 0 6px 20px rgba(0,0,0,0.13);
}

.filter-menu.open {
    display: block;
}

@keyframes dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-opt {
    padding: 9px 14px;
    font-size: 13px;
    color: var(--text-body);
    cursor: pointer;
    transition: background 0.1s;
    white-space: nowrap;
}

    .filter-opt:hover {
        background: var(--bg-field-hover);
    }

    .filter-opt.sel {
        color: var(--text-tab-active);
        font-weight: 600;
    }
/* Search text input */
.custom-searchinput {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    color: var(--text-body) !important;
    min-width: 0 !important;
}

    .custom-searchinput::placeholder {
        color: var(--text-muted) !important;
    }

.search-icon-btn {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: none;
    border-left: 1px solid var(--border-search);
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.15s;
}

    .search-icon-btn:hover {
        color: var(--text-body);
    }
/* ────────────────────────────────────────────────────────────────
   RESULTS TABLE
   Column widths match the screenshot:
     Name         — widest (long device names wrap here)
     Serial No.   — fixed narrow (monospace values)
     Primary User — medium (email addresses)
     OS           — short
     Asset Type   — short
──────────────────────────────────────────────────────────────── */
.results-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 9px;
    overflow: hidden;
}

.tbl-grid {
    display: grid;
    grid-template-columns: minmax(210px, 350px) /* Name */
    minmax(240px, 300px) /* Serial Number */
    minmax(260px, 320px) /* Primary User */
    minmax(150px, 200px) /* Operating System */
    minmax(90px, 150px) /* Asset Type */
}

.tbl-head {
    background: var(--bg-toolbar);
    border-bottom: 1px solid var(--border-divider);
    padding: 9px 18px;
    transition: background 0.25s;
}

body.light .tbl-head {
    background: #f9fafb;
}

.tbl-head > div {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.tbl-row {
    padding: 11px 18px;
    border-bottom: 1px solid var(--border-row);
    cursor: pointer;
    transition: background 0.1s;
    align-items: start; /* top-align so wrapping Name doesn't stretch siblings */
}

    .tbl-row:last-child {
        border-bottom: none;
    }

    .tbl-row:hover {
        background: var(--bg-row-hover);
    }

    .tbl-row > div {
        font-size: 13px;
        color: var(--text-body);
        padding-top: 1px;
        word-break: break-word;
        min-width: 0;
        padding-right: 10px;
    }

.cell-link {
    color: var(--text-link);
    text-decoration: none;
    font-weight: 500;
}

    .cell-link:hover {
        text-decoration: underline;
    }

.cell-mono {
    font-size: 12px;
    color: var(--text-mono);
}
/* Views */

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-link);
    padding: 0;
    margin-bottom: 16px;
    transition: opacity 0.15s;
}

    .back-btn:hover {
        opacity: 0.75;
    }

.viewdevice-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 9px;
    padding: 20px 24px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: background 0.25s;
}

.device-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-field);
    border-radius: 8px;
    background: var(--bg-field);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.device-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 48px;
    flex: 1;
}

.meta-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
}

.meta-k {
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.meta-v {
    color: var(--text-heading);
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

    .meta-v.link {
        color: var(--text-link);
        text-decoration: none;
    }

        .meta-v.link:hover {
            text-decoration: underline;
        }

    .meta-v.ok {
        color: #3fb950;
    }

    .meta-v.nonCompliant {
        color: #DC2D37;
    }
/* ── Tab Card ── */
.tab-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 9px;
    overflow: hidden;
}

/*.tab-bar {
    display: flex;
    background: var(--bg-tab-bar);
    border-bottom: 1px solid var(--border-divider);
    padding-left: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    transition: background 0.25s;
}

    .tab-bar::-webkit-scrollbar {
        display: none;
    }*/

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }
/* Hardware table */
.hw-table {
    width: 100%;
    border-collapse: collapse;
}

    .hw-table tr {
        border-bottom: 1px solid var(--border-row);
    }

        .hw-table tr:last-child {
            border-bottom: none;
        }

    .hw-table td {
        padding: 11px 20px;
        font-size: 13px;
    }

        .hw-table td:first-child {
            color: var(--text-body);
            width: 220px;
        }

        .hw-table td:last-child {
            color: var(--text-heading);
            font-weight: 500;
        }

.hardware-viewdevice-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
}

.hardware-viewdevice-head {
    background: var(--bg-toolbar);
    border-bottom: 1px solid var(--border-divider);
    padding: 9px 20px;
    transition: background 0.25s;
}

body.light .hardware-viewdevice-head {
    background: #f9fafb;
}

.hardware-viewdevice-head > div {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.updateRing-viewdevice-grid {
    display: grid;
    grid-template-columns: 220px 100px 2fr;
}
/* FileVault */
.filevault-grid {
    display: grid;
    grid-template-columns: 1fr 160px;
}

.filevault-head {
    background: var(--bg-toolbar);
    border-bottom: 1px solid var(--border-divider);
    padding: 9px 20px;
    transition: background 0.25s;
}

body.light .filevault-head {
    background: #f9fafb;
}

.filevault-head > div {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.filevault-row {
    padding: 13px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-row);
}

    .filevault-row:last-child {
        border-bottom: none;
    }
/* BitLocker */
.bl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 160px;
}

.bl-head {
    background: var(--bg-toolbar);
    border-bottom: 1px solid var(--border-divider);
    padding: 9px 20px;
    transition: background 0.25s;
}

body.light .bl-head {
    background: #f9fafb;
}

.bl-head > div {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.bl-row {
    padding: 13px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-row);
}

    .bl-row:last-child {
        border-bottom: none;
    }

.bl-date {
    font-size: 13px;
    color: var(--text-body);
}

.retrieve-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-btn);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

    .retrieve-btn:hover {
        background: var(--accent-btn-hover);
    }
/* ── BitLocker approval-pending panel ── */
.bl-pending {
    margin: 0 12px 14px;
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 8px;
    background: rgba(59,130,246,0.06);
    padding: 18px 22px;
    text-align: center;
}

    .bl-pending.visible {
        display: block;
    }

body.light .bl-pending {
    background: rgba(59,130,246,0.05);
    border-color: rgba(59,130,246,0.2);
}

.bl-pending-spinner {
    width: 26px;
    height: 26px;
    border: 3px solid rgba(59,130,246,0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 14px;
    animation: bl-spin 0.85s linear infinite;
}

@keyframes bl-spin {
    to {
        transform: rotate(360deg);
    }
}

.bl-pending-msg {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 10px;
}

    .bl-pending-msg strong {
        color: var(--text-heading);
        font-weight: 600;
    }

.bl-pending-timer {
    font-size: 12.5px;
    color: var(--text-muted);
}

    .bl-pending-timer span {
        color: var(--accent);
        font-size: 13px;
    }

.empty-pane-viewdevice {
    color: var(--text-muted);
}

.width40 {
    width: 40%;
}
/* top section */
.top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    overflow: hidden;
    transition: background .25s
}

.card-header {
    padding: 13px 18px 0;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted)
}

.profile-body {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 18px 20px
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-avatar);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-avatar);
    flex-shrink: 0;
    letter-spacing: .04em;
    user-select: none
}

.profile-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.support-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.55
}

.support-item-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    margin-top: 1px
}

.support-item-content {
    flex: 1
}

.support-item-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
    margin-bottom: 3px
}

.support-link {
    color: var(--text-link);
    text-decoration: none;
    font-weight: 500
}

    .support-link:hover {
        text-decoration: underline
    }

.support-divider {
    height: 1px;
    background: var(--border-divider)
}
/* devices section */
.devices-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    overflow: hidden;
    transition: background .25s
}
/* device grid */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 12px;
    padding: 18px
}

.device-card {
    background: var(--bg-device-card);
    border: 1px solid var(--border-device);
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background .15s,border-color .15s,transform .12s,box-shadow .15s;
    display: flex;
    flex-direction: column;
    gap: 10px
}

    .device-card:hover {
        background: var(--bg-device-hover);
        border-color: rgba(56,139,253,0.35);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.25)
    }

body.light .device-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1)
}
/* card top row */
.dc-top {
    display: flex;
    align-items: flex-start;
    gap: 8px
}

.dc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted)
}

.dc-os-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted)
}

.dc-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-heading);
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0
}

.dc-divider {
    height: 1px;
    background: var(--border-divider);
    width: 100%;
}
/* card fields */
.dc-fields {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.dc-field {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.dc-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted)
}

.dc-value {
    font-size: 12px;
    color: var(--text-body);
    word-break: break-word
}
/* footer */
.dc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.status-pill-home {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px
}

    .status-pill-home.Company {
        background: rgba(56,139,253,0.1);
        color: #58a6ff;
        border: 1px solid rgba(56,139,253,0.25)
    }

body.light .status-pill-home.Company {
    background: rgba(37,99,235,0.08);
    color: #2563eb;
    border-color: rgba(37,99,235,0.2)
}

.status-pill-home.Personal {
    background: rgba(139,148,158,0.1);
    color: #8b949e;
    border: 1px solid rgba(139,148,158,0.2)
}

.dc-arrow {
    color: var(--text-muted);
    font-size: 16px;
    transition: color .15s,transform .15s
}

.device-card:hover .dc-arrow {
    color: var(--text-link);
    transform: translateX(2px)
}
/* empty pane */
.empty-pane {
    padding: 48px 24px;
    text-align: center
}

.empty-pane-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--text-muted)
}

.empty-pane-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px
}

.empty-pane-msg {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 340px;
    margin: 0 auto
}
/* animations */
@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(3px)
    }

    to {
        opacity: 1
    }
}

.device-card {
    animation: cardIn .18s ease both
}

    .device-card:nth-child(1) {
        animation-delay: 0ms
    }

    .device-card:nth-child(2) {
        animation-delay: 50ms
    }

    .device-card:nth-child(3) {
        animation-delay: 100ms
    }

    .device-card:nth-child(4) {
        animation-delay: 150ms
    }

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.top10px {
    top: 10px !important;
}
/* ══════════════════════════════════════════════════════════
   RESPONSIVE  ·  Tablet ≤ 900 px  ·  Mobile ≤ 640 px
══════════════════════════════════════════════════════════ */
/* Overlay backdrop shown behind sidebar on mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 48px;
    background: rgba(0,0,0,0.55);
    z-index: 149;
}

    .sidebar-overlay.active {
        display: block;
    }
/* ── Tablet / small desktop (≤ 900 px) ── */
@media (max-width: 900px) {
    /* Sidebar slides over content instead of pushing it */
    .sidebar {
        position: fixed !important;
        top: 48px;
        left: 0;
        bottom: 0;
        height: calc(100vh - 48px);
        z-index: 150;
        width: var(--sidebar-width) !important;
        padding: 12px 0 !important;
        overflow-y: hidden !important;
        overflow-x: hidden !important;
        transform: translateX(0);
        transition: transform 0.22s ease, background 0.25s;
    }

        .sidebar.collapsed {
            transform: translateX(-100%) !important;
            width: var(--sidebar-width) !important; /* keep width so transition works */
        }
    .content {
        padding: 20px;
    }
}
/* ── Mobile (≤ 640 px) ── */
@media (max-width: 640px) {
    /* Topbar: hide verbose account text, keep icons */
    .account-info span {
        display: none;
    }

    #menuLabel {
        display: none;
    }

    .content {
        padding: 14px;
    }

    .page-title {
        font-size: 15px;
    }
    /* Search bar filter label: shorter */
    .filter-btn {
        padding: 0 8px;
        font-size: 12px;
    }

    .hardware-viewdevice-grid {
        display: grid;
        grid-template-columns: 125px auto;
    }

        .hardware-viewdevice-grid > div:nth-child(2),
        .hardware-viewdevice-grid > div:nth-child(2) {
            display: grid !important;
        }

    .updateRing-viewdevice-grid {
        display: grid;
        grid-template-columns: 95px 55px 2fr;
    }
    /* Results table: Name + OS only (2 cols) */
    .tbl-grid {
        grid-template-columns: 1fr auto !important;
    }

        .tbl-grid > div:nth-child(2),
        .tbl-grid > div:nth-child(3),
        .tbl-grid > div:nth-child(5) {
            display: none !important;
        }
    /* Device detail card: stack icon above meta */
    .viewdevice-card {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .device-meta {
        grid-template-columns: 1fr !important;
        gap: 5px 0;
    }
    /* Tabs */

    /* Hardware table */
    .hw-table td:first-child {
        width: auto;
        min-width: 90px;
    }

    .hw-table td {
        padding: 9px 14px;
    }
    /* BitLocker: drop Backed Up column */
    .bl-grid {
        grid-template-columns: 195px auto !important;
    }

    .bl-head > div:nth-child(2),
    .bl-row > div:nth-child(2) {
        display: none !important;
    }
    /* Banner: wrap text nicely */
    .banner {
        flex-wrap: wrap;
        font-size: 12.5px;
    }

    .account-info span {
        display: none;
    }
    /* Profile + Support cards: single column */
    .top-section {
        grid-template-columns: 1fr !important;
    }
    /* Profile body: tighter */
    .profile-body {
        gap: 12px;
        padding: 14px 14px 16px;
    }

    .avatar {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
    /* Content title row: allow wrap */
    .content-title-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    /* Device grid: single column */
    .device-grid {
        grid-template-columns: 1fr !important;
        padding: 12px;
        gap: 10px;
    }
}
/* ── Narrow tablet (641 – 900 px): Name + User + OS (3 cols) ── */
@media (min-width: 641px) and (max-width: 900px) {
    .tbl-grid {
        grid-template-columns: minmax(140px, 2fr) minmax(150px, 2fr) minmax(90px, 1fr) !important;
    }

        .tbl-grid > div:nth-child(2),
        .tbl-grid > div:nth-child(5) {
            display: none !important;
        }

    .top-section {
        grid-template-columns: 1fr !important;
    }
    /* Device cards: allow slightly smaller min */
    .device-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

.hardwarefailuretable-row {
    display: grid;
    grid-template-columns: 36px 1fr 1fr 1.3fr 0.7fr 0.6fr 108px 52px;
    padding: 11px 16px;
    font-size: 13px;
    color: var(--text-body);
    align-items: center;
    border-bottom: 1px solid var(--border-row);
    transition: background 0.1s;
    min-width: 0;
}

.hardwarefailuretable-header {
    display: grid;
    grid-template-columns: 36px 1fr 1fr 1.3fr 0.7fr 0.6fr 108px 52px;
    padding: 9px 16px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 1px solid var(--border-divider);
    background: var(--bg-toolbar);
    transition: background 0.25s;
    min-width: 0;
    align-items: center;
}
/*.activetabforstatus {
    color: var(--text-tab-active);
    font-weight: 600;
    background: var(--bg-tab-active);
    border-bottom-color: var(--tab-accent, var(--accent));
}*/

.tab-btn.failurestatusactive {
    color: var(--color-tab-active);
    font-weight: 600;
    background: rgba(56, 139, 253, 0.08);
    border-bottom-color: red;
}

.field-value.error-val {
    font-size: 11.5px;
    color: var(--text-error);
    word-break: break-all;
    line-height: 1.55;
}

.field-item.error-item:hover {
    background: rgba(239, 68, 68, 0.09) !important;
}

.field-item.error-item {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.18);
}

.field-item:hover {
    background: var(--bg-field-hover);
}

.status-failed {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.02em;
    justify-self: start;
}

.status-failed .dot {
    background: #f87171;
}

.status-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.field-item-full {
    grid-column: 1 / -1;
}
/* View All Browser Extensions */
/* ── Grid ───────────────────────────────────────────────── */
.viewAllExtensionsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    padding: 0;
}

@media (max-width: 1100px) {
    .grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
/* ── Ext-Card ───────────────────────────────────────────────── */
.ext-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-card);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    position: relative;
    cursor: default;
}

    .ext-card:hover {
        background: var(--bg-card-hov);
        border-color: rgba(59,130,246,.25);
        transform: translateY(-1px);
        box-shadow: 0 4px 24px rgba(59,130,246,.1);
    }

.ext-card-header {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.ext-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--bg-input);
    border: 1px solid var(--border);
}

    .ext-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.ext-card-meta {
    flex: 1;
    min-width: 0;
}

.ext-card-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.ext-card-author {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    word-break: break-word;
}
/* Edit button – admin only */
.ext-card-edit-btn {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: var(--bg-input);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background .18s ease, color .18s ease;
}

    .ext-card-edit-btn:hover {
        background: var(--accent-subtle);
        color: var(--accent);
    }

    .ext-card-edit-btn svg {
        width: 14px;
        height: 14px;
    }

.ext-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.ext-card-viewmore {
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
    transition: opacity .18s ease;
}

    .ext-card-viewmore:hover {
        opacity: .75;
    }
/* Footer row */
.ext-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
/* Status pill – admin only */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px
}

    .status-pill::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
        flex-shrink: 0;
    }

.statusPill-pending {
    background: rgba(234,179,8,0.12);
    color: #E66E19;
    border: 1px solid rgba(234,179,8,0.25);
}

.statusPill-approved {
    background: rgba(22,163,74,0.12);
    color: #288964;
    border: 1px solid rgba(22,163,74,0.25);
}

.statusPill-decommissioned {
    background: rgba(250, 210, 45, 0.12);
    color: #FAD22D;
    border: 1px solid rgba(250, 210, 45, 0.25);
}

.statusPill-rejected {
    color: #DC2D37;
    background: rgba(220,38,38,0.12);
    border: 1px solid rgba(220,38,38,0.25);
}

body.light .statusPill-pending {
    color: #D46617;
    background: rgba(234,179,8,0.1);
    border-color: rgba(234,179,8,0.2);
}

body.light .statusPill-approved {
    color: #329864;
    background: rgba(22,163,74,0.1);
    border-color: rgba(22,163,74,0.2);
}

body.light .statusPill-rejected {
    color: #ED0E00;
    background: rgba(220,38,38,0.1);
    border-color: rgba(220,38,38,0.2);
}

.customPillTitle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--border-card);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    background: var(--bg-card);
    transition: border-color var(--transition);
}
/* Browser icons */
.browser-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.browser-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
}

    .browser-icon img {
        width: 100%;
        height: 100%;
    }
/* ── Description Modal ───────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .modal-backdrop.open {
        display: flex;
    }

    .modal-backdrop.hide {
        display: none;
    }

    .modal-backdrop.show {
        display: flex;
    }

.custom-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0,0,0,.5);
    width: 100%;
    max-width: 540px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: modalIn .18s cubic-bezier(.4,0,.2,1);
    position: relative;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    justify-content: space-between;
}

.modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--bg-input);
    border: 1px solid var(--border);
}

.modal-title-block {
    flex: 1;
    min-width: 0;
}

.modal-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.modal-author {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
}

.modal-close-x {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
    margin: -4px -4px 0 0;
}

    .modal-close-x:hover {
        background: var(--accent-subtle);
        color: var(--accent);
    }

.modal-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.modal-close-btn {
    padding: 0 22px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease;
}

    .modal-close-btn:hover {
        background: var(--accent-btn-hover);
    }

@media (max-width: 600px) {
    .modal {
        padding: 22px 18px 20px;
    }

    .modal-name {
        font-size: 15px;
    }
}

.extensionsFilter {
    margin-top: 5px;
    right: 0%;
    top: 100%;
    position: absolute;
    width: fit-content;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .35);
    z-index: 999;
    padding: 16px;
    height: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    display: flex;
}

.apply-filter-btn {
    display: flex;
    align-items: center;
    padding: 0 11px;
    border: none !important;
    background: #0077db !important;
    cursor: pointer;
    color: #fff !important;
    font-size: 14px;
    transition: color 0.15s;
}

    .apply-filter-btn:hover {
        background: var(--accent-btn-hover);
    }


.status-successful {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.28);
    color: #4ade80;
}

    .status-successful .dot {
        background: #4ade80;
    }

.status-in-progress {
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.28);
    color: #fbbf24;
}

    .status-in-progress .dot {
        background: #fbbf24;
        animation: pulse-dot 1.4s ease-in-out infinite;
    }

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}
/*.status-failed {
    color: #dc2626;
}

    .status-failed .dot {
        background: #dc2626;
    }*/
/*.status-successful {
    color: #16a34a;
}

    .status-successful .dot {
        background: #16a34a;
    }*/
/*.status-in-progress {
    color: #d97706;
}

    .status-in-progress .dot {
        background: #d97706;
    }
*/
/* View Browser Extension */
/* Page */
.page {
    max-width: 1400px;
    margin: 0 auto;
}

.page-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.viewbrowserextension-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-link);
    padding: 0;
    transition: opacity 0.15s;
}

.back-btn:hover {
    opacity: 0.75;
}

.btn-decommission {
    padding: 0 16px;
    height: 34px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color var(--transition),color var(--transition),background var(--transition);
}

    .btn-decommission:hover {
        border-color: #f87171;
        color: #f87171;
        background: rgba(239,68,68,.08);
    }

.btn-normal {
    padding: 0 16px;
    height: 34px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color var(--transition),color var(--transition),background var(--transition);
}

    .btn-normal:hover {
        background: var(--accent-subtle);
        color: var(--accent);
    }
/* Summary */
.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-card);
    transition: background var(--transition),border-color var(--transition);
}

.summary-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #dd0031;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.summary-body {
    flex: 1;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.summary-col {
    min-width: 200px;
}

.summary-field {
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

    .summary-field .lbl {
        color: var(--text-secondary);
    }

    .summary-field .val {
        color: var(--text-primary);
        font-weight: 500;
    }

        .summary-field .val.mono {
            font-size: 12px;
        }

.val-na {
    color: var(--status-rejected-text);
    font-weight: 600;
}

.desc-link {
    font-size: 13px;
    color: var(--accent);
    cursor: pointer;
    font-weight: 500;
}

    .desc-link:hover {
        text-decoration: underline;
    }
/* Browser Identifiers standalone */
.bi-section {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: background var(--transition),border-color var(--transition);
}

.bi-section-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.bi-section-title {
    font-size: 14px;
    font-weight: 600;
}

.bi-section-body {
    padding: 16px 20px;
}

.section-note {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}
/* BI table — no scroll needed */
.bi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

    .bi-table th {
        text-align: left;
        padding: 9px 10px;
        font-size: 13PX;
        font-weight: 600;
        color: var(--text-muted);
        background: var(--bg-table-hd);
        border-bottom: 1px solid var(--border-table);
        white-space: break-spaces;
    }

    .bi-table td {
        padding: 10px 10px;
        border-bottom: 1px solid var(--border-table);
        color: var(--text-primary);
        font-size: 13px;
    }

    .bi-table tr:last-child td {
        border-bottom: none;
    }

    .bi-table tr:hover td {
        background: var(--bg-row-alt);
    }

.mono-sm {
    font-size: 11px;
    color: var(--text-secondary);
    word-break: break-all;
    width: 26%;
}

.cell-browser-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.custom-btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    transition: opacity 0.15s, transform 0.1s;
    padding: 7px 18px !important;
}

    .custom-btn:hover {
        opacity: 0.88;
    }

.custom-btn-primary {
    background: var(--accent-btn);
    color: #fff;
}

    .custom-btn-primary:hover {
        background: var(--accent-btn-hover);
    }



.custom-btn-secondary {
    background: var(--bg-field);
    color: var(--text-btn-sec);
    border: 1px solid var(--border-btn-sec);
}

    .custom-btn-secondary:hover {
        border-color: var(--text-secondary);
        color: var(--text-primary);
    }

.custom-btn[disabled] {
    color: var(--text-secondary) !important;
    border-color: var(--border) !important;
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.custom-btn-secondary[disabled] {
    background: var(--bg-field);
    color: var(--text-btn-sec);
    border: 1px solid var(--border-btn-sec);
}

.tabs-section {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: background var(--transition),border-color var(--transition);
}
/* Comments */
.comment-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

    .comment-item:last-child {
        border-bottom: none;
    }

.comment-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 12px;
    color: var(--text-muted);
}
/* Permission Risk */
.prd-layout {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.prd-scores {
    flex-shrink: 0;
    width: 180px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prd-right {
    flex: 1;
    min-width: 280px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.prd-details, .prd-perms {
    flex: 1;
    min-width: 200px;
}

.gauge-wrap {
    background: var(--bg-table-hd);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.customDonutRiskDetailsSelected {
    border-color: var(--accent) !important;
    background: var(--accent-subtle) !important;
    box-shadow: 0 0 0 3px var(--accent-subtle) !important;
    border-radius: 8px;
    width: 100%;
}

.sev-row {
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

    .sev-row:last-child {
        border-bottom: none;
    }

    .sev-row.kpiSelected {
        border-radius: 8px;
        width: 100% !important;
        background: var(--accent-subtle) !important;
        border-bottom-color: transparent !important;
    }

        .sev-row.kpiSelected .sev-row-label {
            color: var(--accent);
            font-weight: 600;
        }

.sev-row-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.sev-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
}

.sev-denom {
    font-size: 13px;
    color: var(--text-muted);
}

.sev-score {
    font-size: 20px;
    font-weight: 700;
}

.permissions-sev {
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-primary);
}

.prd-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.prem-name {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.perm-note {
    font-size: 13px;
    color: var(--text-secondary) !important;
    font-style: italic;
}

.padding20PX {
    padding: 20px;
}
/* Change History */
.ch-layout {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.width250px {
    width: 250px !important;
}

.ch-filter-panel {
    width: 300px;
    flex-shrink: 0;
    background: var(--bg-table-hd);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 14px 16px;
    height: fit-content;
    transition: background var(--transition);
}

    .ch-filter-panel.hidden {
        display: none !important;
    }

.ch-filter-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ch-filter-title {
    font-size: 12.5px;
    font-weight: 600;
}

.ch-filter-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    padding: 2px;
}

    .ch-filter-close:hover {
        color: var(--text-primary);
    }

.ch-filter-field {
    margin-bottom: 14px;
}

.ch-filter-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    color: var(--text-muted) !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.ch-filter-select, .ch-filter-input {
    width: 250px !important;
    height: 32px !important;
    border-radius: var(--radius-btn) !important;
    background: var(--bg-input) !important;
    border: 1px solid var(--border-input) !important;
    color: var(--text-primary) !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    outline: none !important;
    transition: border-color var(--transition) !important;
}

.ch-datepicker {
    color: var(--text-primary) !important;
    background: var(--bg-input) !important;
    border: 1px solid var(--border-input) !important;
    border-radius: var(--radius-btn) !important;
}

.ch-filter-select {
    cursor: pointer;
}

    .ch-filter-select:focus, .ch-filter-input:focus {
        border-color: var(--accent);
    }

.ch-filter-input::placeholder {
    color: var(--text-muted);
}

.ch-filter-checkgroup {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ch-table-wrap {
    flex: 1;
    min-width: 0;
}

.ch-filter-toggle-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-filter-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    background: none;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color var(--transition),color var(--transition);
}

    .btn-filter-toggle:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

.custom-calendar {
    background: var(--cal-bg) !important;
    border: 1px solid var(--cal-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4) !important;
}

.paddingBottom60px {
    padding-bottom: 60px;
}
/* ── Modals (HardwareHashTable pattern) ── */
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    width: 460px;
    max-width: calc(100vw - 40px);
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    animation: mIn .18s ease;
}

@keyframes mIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color var(--transition),background var(--transition);
    flex-shrink: 0;
}

    .modal-close:hover {
        color: var(--text-primary);
        background: var(--bg-table-hd);
    }

.modal-info-box {
    background: var(--bg-table-hd);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    padding: 10px 14px;
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.55;
}

    .modal-info-box strong {
        color: var(--text-primary);
    }

.modal-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: none !important;
    letter-spacing: .07em;
    color: var(--text-muted);
    margin-bottom: 7px;
    display: block;
}

.modal-textarea {
    width: 100% !important;
    background: var(--bg-table-hd) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: var(--radius-btn) !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    color: var(--text-body) !important;
    resize: vertical !important;
    min-height: 90px !important;
    outline: none !important;
    transition: border-color var(--transition) !important;
}

    .modal-textarea::placeholder {
        color: var(--text-muted) !important;
    }

    .modal-textarea:focus {
        border-color: var(--accent) !important;
    }

    .modal-textarea.error {
        border-color: #f87171 !important;
    }

.modal-error-msg {
    display: none;
    font-size: 11px;
    color: #f87171;
    margin-top: 5px;
}

    .modal-error-msg.visible {
        display: block;
    }

.modal-btn {
    height: 34px;
    padding: 0 18px;
    border-radius: var(--radius-btn);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity var(--transition);
}

    .modal-btn:hover {
        opacity: .85;
    }

.modal-btn-cancel {
    background: transparent;
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
}

.modal-btn-submit {
    background: var(--accent);
    color: #fff;
}
/* Warning modal */
.warning-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    width: 360px;
    max-width: calc(100vw - 40px);
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    text-align: center;
    animation: mIn .18s ease;
}

.warning-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(234,179,8,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
}

.warning-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.warning-msg {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.warning-ok {
    margin-top: 20px;
    height: 34px;
    padding: 0 28px;
    border-radius: var(--radius-btn);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    border: none;
    transition: opacity var(--transition);
}

    .warning-ok:hover {
        opacity: .85;
    }
/* Result modal */
.result-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    width: 380px;
    max-width: calc(100vw - 40px);
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    text-align: center;
    animation: mIn .18s ease;
}

.result-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

    .result-icon.success {
        background: rgba(22,163,74,.15);
    }

    .result-icon.error {
        background: rgba(220,38,38,.15);
    }

.result-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.result-msg {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.result-done {
    margin-top: 22px;
    height: 34px;
    padding: 0 28px;
    border-radius: var(--radius-btn);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    border: none;
    transition: opacity var(--transition);
}

    .result-done:hover {
        opacity: .85;
    }
/* AddEdit Browser Extension */
.wizard-content {
    margin: 0px !important;
    overflow-x: hidden;
}

.wizard-steps {
    border-bottom: none !important;
}

.wizard-footer {
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 10px !important;
    border-top: 1px solid var(--border) !important;
    margin-top: 24px !important;
}

/* Step header */
.step-hdr {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.step-hdr-title {
    font-size: 15px;
    font-weight: 700;
}

.step-hdr-tag {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-table-hd);
    padding: 2px 8px;
    border-radius: 20px;
}

.padding0px {
    padding: 0px !important;
}

.custom-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 7px !important;
}

.custom-riskScoreCalculator {
    width: 400px;
    display: flex;
    flex-direction: column;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, .4);
    background: var(--drawer-bg) !important;
    border-left: 1px solid var(--border-card) !important;
    position: fixed !important;
    top: 48px;
    right: 0;
    bottom: 0;
    margin-right: 0px;
    font-size: 14px !important;
    pointer-events: auto;
}

.drawer-hdr {
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 20px !important;
    border-bottom: 1px solid var(--border) !important;
    flex-shrink: 0 !important;
}

.drawer-title {
    font-size: 15px !important;
    font-weight: 700 !important;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0px 20px;
}

.drawer-footer {
    padding: 10px 0px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.btn-save-risk {
    width: 100%;
    height: 30px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

    .btn-save-risk:hover {
        background: var(--accent-btn-hover);
    }
/*RTE styles*/
.editor-toolbar {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    padding: 6px 10px !important;
    background: var(--bg-table-hd) !important;
    border-bottom: 1px solid var(--border) !important;
    flex-wrap: wrap !important;
    border: none !important;
}

.EasyMDEContainer {
    border: 1px solid var(--border-input) !important;
    border-radius: var(--radius-btn) !important;
    overflow: hidden;
    transition: border-color var(--transition) !important;
}

.CodeMirror {
    padding: 10px 12px !important;
    background: var(--bg-input) !important;
    font-size: 13px !important;
    color: var(--text-primary) !important;
    outline: none;
    line-height: 1.6;
    border: none !important;
    border-top: 1px solid var(--border) !important;
}

.editor-statusbar {
    display: flex !important;
    justify-content: flex-end !important;
    padding: 4px 10px !important;
    background: var(--bg-table-hd) !important;
    border-top: 1px solid var(--border) !important;
    font-size: 11px !important;
    color: var(--text-muted) !important;
}

.editor-toolbar button {
    background: none !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    color: var(--text-secondary) !important;
}

    .editor-toolbar button:hover {
        background: var(--accent-subtle) !important;
        color: var(--accent) !important;
    }
/* end */
.custom-form-input {
    width: 100% !important;
    height: 38px !important;
    background: var(--bg-input) !important;
    border: 1px solid var(--border-input) !important;
    border-radius: var(--radius-btn) !important;
    padding: 0 12px !important;
    color: var(--text-primary) !important;
    outline: none !important;
    transition: border-color var(--transition);
}

    .custom-form-input:focus {
        border-color: var(--border-input-focus) !important;
        box-shadow: 0 0 0 3px var(--accent-subtle) !important;
    }

    .custom-form-input.error {
        border-color: var(--error) !important;
    }

    .custom-form-input::placeholder {
        color: var(--text-muted) !important;
    }

    .custom-form-input[readonly] {
        background: var(--review-bg) !important;
        cursor: default !important;
        color: var(--text-secondary) !important;
    }

.dark .custom-form-input[disabled], .dark .custom-form-textarea[disabled] {
    background: var(--bg-table-hd) !important;
    color: #8b8b8b !important;
}

.light .custom-form-input[disabled], .light .custom-form-textarea[disabled] {
    background: var(--bg-table-hd) !important;
    color: #6a6a6a !important;
}

.custom-form-textarea {
    width: 100%;
    min-height: 90px;
    background: var(--bg-input) !important;
    border: 1px solid var(--border-input) !important;
    border-radius: var(--radius-btn) !important;
    padding: 10px 12px;
    color: var(--text-primary) !important;
    outline: none;
    resize: vertical;
    transition: border-color var(--transition);
}

    .custom-form-textarea:focus {
        border-color: var(--border-input-focus) !important;
        box-shadow: 0 0 0 3px var(--accent-subtle) !important;
    }

    .custom-form-textarea[readonly] {
        background: var(--review-bg) !important;
        cursor: default;
        resize: none;
        color: var(--text-secondary) !important;
    }

.bi-select {
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-btn);
    padding: 0 10px;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition);
    height: 32px;
}

    .bi-select:focus {
        border-color: var(--border-input-focus);
    }

.btn-add {
    height: 30px;
    padding: 0 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}

    .btn-add:hover {
        background: var(--accent-btn-hover);
    }

.btn-extensionURL {
    width: 30px !important;
    height: 30px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.btn-calc {
    width: 30px;
    height: 30px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.btn-remove {
    width: 28px;
    height: 28px;
    background: var(--error);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: opacity var(--transition);
}

    .btn-remove:hover {
        opacity: .8;
    }

.fontsize13px {
    font-size: 13px !important;
}

/* Review mode */
/* Flat review layout (step 2) */
.review-flat {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.review-field {
    display: flex;
    align-items: flex-start;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
}

.review-field--last {
    border-bottom: none;
}

.review-field--table {
    align-items: flex-start;
}

.review-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 220px;
    flex-shrink: 0;
    padding-top: 9px;
}

.review-value {
    font-size: 13px;
    color: var(--text-primary);
    flex: 1;
}

.review-section-divider {
    padding: 10px 20px 9px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    background: var(--bg-table-hd);
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.logo-preview {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 1px solid var(--border-card);
    background: var(--bg-table-hd);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.summary-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 16px;
}

.summary-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

    .summary-icon.success {
        background: rgba(34,197,94,.15);
        color: #4ade80;
    }

    .summary-icon.error {
        background: rgba(239,68,68,.12);
        color: #f87171;
    }

.summary-title {
    font-size: 16px;
    font-weight: 700;
}

.summary-message {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 420px;
    line-height: 1.6;
}

.summary-error-detail {
    background: rgba(239,68,68,.08);
    border: 1px solid rgba(239,68,68,.2);
    border-radius: 8px;
    padding: 14px 18px;
    max-width: 520px;
    width: 100%;
    text-align: left;
    margin-top: 8px;
}

    .summary-error-detail .err-title {
        font-size: 12px;
        font-weight: 700;
        color: #f87171;
        text-transform: uppercase;
        letter-spacing: .05em;
        margin-bottom: 8px;
    }

    .summary-error-detail .err-item {
        font-size: 12.5px;
        color: var(--text-secondary);
        padding: 4px 0;
        border-bottom: 1px solid rgba(239,68,68,.1);
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

        .summary-error-detail .err-item:last-child {
            border-bottom: none;
        }

        .summary-error-detail .err-item::before {
            content: '•';
            color: #f87171;
            flex-shrink: 0;
        }

/* ── Utility Classes ──────────────────────────────────────── */
/* Margin utilities */
.mt-0 {
    margin-top: 0 !important;
}

/* Empty state */
.empty-state {
    padding: 20px;
    text-align: center;
    color: #666;
}

.empty-state-muted {
    color: var(--text-muted);
}
/* Generate Extension policy*/
/* Section within the card — separated by a divider */
/* Single page container */
.page-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 20px;
}

.generateExtensionPolicy-section {
    padding: 24px 24px 20px;
}

    .generateExtensionPolicy-section + .generateExtensionPolicy-section {
        border-top: 1px solid var(--border-divider);
    }

/* Section heading row */
.generateExtensionPolicy-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.generateExtensionPolicy-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.generateExtensionPolicy-field-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}
/* Controls row */
.controls-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.browser-select {
    height: 36px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-btn);
    padding: 0 28px 0 11px;
    font-size: 13px;
    color: var(--text-body);
    cursor: pointer;
    outline: none;
    min-width: 155px;
    transition: border-color var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
}

    .browser-select:focus {
        border-color: var(--accent);
    }

.btn-action {
    height: 36px;
    padding: 0 18px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

    .btn-action:hover {
        background: var(--accent-btn-hover);
    }

/* Textarea label + copy row */
.textarea-meta-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.textarea-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.textarea-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    background: none;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition),color var(--transition),border-color var(--transition);
}

    .btn-copy:hover {
        background: var(--accent-subtle);
        color: var(--accent);
        border-color: rgba(59,130,246,.3);
    }

    .btn-copy.copied {
        color: var(--accent);
        border-color: rgba(59,130,246,.3);
        background: var(--accent-subtle);
    }

/* Flat code textarea */
.code-textarea {
    display: block !important;
    width: 100% !important;
    min-height: 170px !important;
    background: var(--bg-textarea) !important;
    border: 1px solid var(--border-input) !important;
    border-radius: var(--radius-btn) !important;
    padding: 13px 15px !important;
    font-size: 12.5px !important;
    color: var(--text-body) !important;
    outline: none !important;
    resize: vertical !important;
    line-height: 1.7 !important;
    transition: border-color var(--transition),background var(--transition) !important;
}

    .code-textarea:focus {
        border-color: var(--accent);
    }

    .code-textarea::placeholder {
        color: var(--text-muted);
    }

/* Save row */
.save-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.btn-save {
    height: 36px;
    padding: 0 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

    .btn-save:hover {
        background: var(--accent-btn-hover);
    }

/* Toast */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #22c55e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.35);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s,transform .2s;
    pointer-events: none;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

.paddingRight10px {
    padding-right: 10px;
}

.custom-icon-btn {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: var(--bg-input);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background .18s ease, color .18s ease;
}

    .custom-icon-btn:hover {
        background: var(--accent-subtle);
        color: var(--accent);
    }

    .custom-icon-btn svg {
        width: 14px;
        height: 14px;
    }
/* Generic Table */
/* ── Wrapper ── */
.gt-wrapper {
    display: flex;
    flex-direction: column;
}

/* ── Toolbar ── */
.custom-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Filter button ── */
.filter-anchor {
    position: relative;
    flex-shrink: 0;
}

/* ── Filter panel ── */
.filter-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-filter);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
    z-index: 250;
    padding: 18px 18px 14px;
    min-width: 260px;
    animation: fpIn .15s ease;
}

    .filter-panel.open {
        display: block;
    }

@keyframes fpIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fp-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-body);
}

.fp-cols {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.fp-col-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
    margin-bottom: 9px;
}

.fp-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 4px 0;
    cursor: pointer;
    color: var(--text-body);
}

    .fp-check-item input {
        accent-color: var(--accent);
        width: 14px;
        height: 14px;
        cursor: pointer;
    }

.fp-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-divider);
}

.fp-clear-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-toolbar);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    cursor: pointer;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition);
}

    .fp-clear-btn:hover {
        background: var(--bg-row-hover);
        color: var(--text-body);
    }

.fp-apply-btn {
    height: 30px;
    padding: 0 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition);
}

    .fp-apply-btn:hover {
        opacity: .85;
    }

/* ── Item count ── */
.item-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ── Table card ── */
.custom-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

/* Header row */
.custom-table-header {
    display: grid;
    padding: 9px 16px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    border-bottom: 1px solid var(--border-divider);
    background: var(--bg-toolbar);
    transition: background .25s;
}

/* Data row */
.custom-table-row {
    display: grid;
    padding: 11px 16px;
    font-size: 13px;
    color: var(--text-body);
    align-items: center;
    border-bottom: 1px solid var(--border-row);
    transition: background .1s;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: var(--bg-row-hover);
}

/* Cell */
.col-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Column header interactions */
.col-hd {
    cursor: default;
}

    .col-hd.sortable {
        cursor: pointer;
        user-select: none;
    }

        .col-hd.sortable:hover {
            color: var(--text-body);
        }

/* Sort triangles */
.sort-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
    margin-left: 5px;
    vertical-align: middle;
}

    .sort-icon .up {
        display: block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-bottom: 4px solid var(--text-muted);
    }

    .sort-icon .dn {
        display: block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid var(--text-muted);
    }

.col-hd.asc .sort-icon .up {
    border-bottom-color: var(--accent);
}

.col-hd.desc .sort-icon .dn {
    border-top-color: var(--accent);
}

/* Empty state */
.custom-table-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 16px;
    font-size: 13px;
    color: var(--text-muted);
    gap: 4px;
}

/* ── Pagination bar ── */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--border-divider);
    background: var(--bg-pagination);
    transition: background .25s;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 2px;
}

.page-arrow {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 17px;
    padding: 2px 10px 2px 2px;
    display: flex;
    align-items: center;
    transition: color .15s;
    line-height: 1;
    user-select: none;
}

    .page-arrow:last-child {
        padding: 2px 2px 2px 10px;
    }

    .page-arrow:hover:not(:disabled) {
        color: var(--text-body);
    }

    .page-arrow:disabled {
        opacity: .25;
        cursor: not-allowed;
    }

.page-num {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 400;
    padding: 3px 7px;
    min-width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .15s, border-color .15s;
    line-height: 1.6;
}

    .page-num:hover {
        color: var(--text-body);
    }

    .page-num.active {
        color: var(--text-body);
        font-weight: 600;
        border-bottom-color: var(--accent);
    }

.page-ellipsis {
    padding: 3px 4px;
    font-size: 13px;
    color: var(--text-muted);
    user-select: none;
}

.per-page-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px !important;
    color: var(--text-muted) !important;
}
.per-page-select {
    background: var(--color-per-page-bg) !important;
    border: 1px solid var(--color-per-page-border) !important;
    border-radius: 4px !important;
    padding: 3px 12px 3px 8px !important;
    font-size: 13px !important;
    color: var(--color-per-page-text) !important;
    cursor: pointer !important;
    outline: none !important;
    background-repeat: no-repeat !important;
    background-position: right 6px center !important;
}

@media (max-width: 700px) {
    .per-page-wrap {
        display: none;
    }
}

.warning-banner {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-btn);
    padding: 12px 16px;
    font-size: 13px;
    color: var(--warning-text);
    line-height: 1.55;
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.bottom {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding: 16px 20px 16px 40px !important;
}
/*---------------------------------------------------------------------*/
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 28px;
}

/* Error card */
.error-card {
    background: var(--bg-card);
    border: 1px solid var(--error-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 48px 56px;
    max-width: 540px;
    width: 100%;
    text-align: center;
    animation: fadeUp .3s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.error-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--error-icon-bg);
    border: 2px solid var(--error-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

    .error-icon-wrap svg {
        color: var(--error-icon-color);
    }

.error-code {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.error-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -.3px;
}

.error-message {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
}

/* Actions */
.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-retry {
    height: 38px;
    padding: 0 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background var(--transition);
}

    .btn-retry:hover {
        background: var(--accent-btn-hover);
    }

.btn-home {
    height: 38px;
    padding: 0 22px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: border-color var(--transition),color var(--transition);
}

    .btn-home:hover {
        border-color: var(--text-secondary);
        color: var(--text-primary);
    }

/* Error detail box */
.error-detail {
    margin-top: 28px;
    background: var(--bg-table-hd);
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    line-height: 1.6;
}

.error-detail-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-family: var(--font-body);
}

input[type="checkbox"] + label::before {
    accent-color: var(--accent) !important;
    cursor: pointer !important;
}

.custom-h2-header-rightAction {
    padding: 10px 0px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-toolbar-bg);
    justify-content: space-between;
}

.addcampaign-page-header {
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    border-bottom: 1px solid var(--color-border-page-header);
    position: relative;
    top: -17px;
}

.overflow-visible {
    overflow: visible !important;
}


/*Styles for Windows upgade verification*/
/* ── Stats bar ── */
.stats-bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1px;
    background: var(--border-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 18px;
}

.stats-bar-campaignoverview {
    width: 100%;
    display: grid;
    grid-template-columns: auto repeat(5,1fr);
    gap: 1px;
    background: var(--border-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 18px;
}

.stat-cell {
    background: var(--stat-bg);
    padding: 14px 18px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.stat-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

    .stat-num .stat-denom {
        font-size: 14px;
        font-weight: 400;
        color: var(--text-muted);
    }

.stat-bar-track {
    /*height: 3px;*/
    /*background: var(--border);*/
    border-radius: 2px;
    margin: 8px 0 4px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
}

.stat-pct {
    font-size: 11px;
    color: var(--text-muted);
}

/* ── Toolbar ── */
.search-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.search-bar {
    display: flex;
    align-items: center;
    height: 36px;
    /*border: 1px solid var(--border-input);*/
    /*border-radius: var(--radius-btn);*/
    /*background: var(--bg-input);*/
    overflow: hidden;
    flex: 1;
    max-width: 500px;
    gap: 5px;
}

    .search-bar:focus-within {
        border-color: var(--accent);
    }

.search-input {
    flex: 1;
    border: 1px solid var(--border-search) !important;
    border-radius: 7px;
    background: transparent !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    color: var(--text-primary) !important;
    outline: none !important;
    margin: 0px !important;
}

    .search-input::placeholder {
        color: var(--text-muted) !important;
    }

/*
.filter-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius-btn);
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition);
}

    .filter-btn:hover, .filter-btn.active {
        color: var(--text-primary);
        background: var(--accent-subtle);
        border-color: rgba(59,130,246,.3);
    }*/

.toolbar-spacer {
    flex: 1;
}

.change-status-label {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.status-select {
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-input);
    border-radius: var(--radius-btn);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    outline: none;
    min-width: 200px;
}

.btn-update {
    height: 36px;
    padding: 0 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

    .btn-update:hover {
        background: var(--accent-hover);
    }

/* ── Table ── */
.table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    width: 100%;
}


.tbl-hdr {
    display: grid;
    grid-template-columns: 36px 1fr 160px 80px 60px 180px 200px 100px;
    align-items: center;
    padding: 8px 14px;
    background: var(--bg-table-header-2);
    border-bottom: 1px solid var(--border-row);
}

.tbl-hdr-cell {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 4px;
}

.tbl-row-custom {
    display: grid;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-row);
    transition: background var(--transition);
    cursor: pointer;
}

.tbl-row-myverifications-colspacing {
    grid-template-columns: 36px 1fr 160px 80px 60px 180px 200px 100px;
}

.tbl-row-campaignoverview-colspacing {
    grid-template-columns: 170px 160px 140px 80px 50px 140px 170px 100px;
}

.tbl-row-custom:last-child {
    border-bottom: none;
}

.tbl-row-custom:hover {
    background: var(--bg-row-hover);
}

.tbl-row-custom.selected {
    background: var(--bg-row-selected);
}

.tbl-cell {
    font-size: 13px;
    color: var(--text-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px;
}

    .tbl-cell.name {
        color: var(--text-primary);
        font-weight: 500;
        white-space: normal;
        line-height: 1.3;
    }

    .tbl-cell.mono {
        font-size: 13px;
    }

    .tbl-cell.ts {
        font-size: 13px;
        color: var(--text-secondary);
    }
/* ── Checkboxes ── */
.cb-wrap {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 2px solid var(--border-input);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

    .cb-wrap.checked {
        background: var(--accent);
        border-color: var(--accent);
    }

.cb-check {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    transition: opacity var(--transition);
    line-height: 0;
}

.cb-wrap.checked .cb-check {
    opacity: 1;
}
/* ── Type icons ── */
.type-icons {
    display: flex;
    gap: 4px;
}

.type-icon {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-input);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
/* ── Status pill ── */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid transparent;
}

    .status-pill::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
        flex-shrink: 0;
    }

.pill-blue {
    background: rgba(59,130,246,.1);
    color: #60a5fa;
    border-color: rgba(59,130,246,.25);
}

.pill-orange {
    background: rgba(249,115,22,.1);
    color: #fb923c;
    border-color: rgba(234,179,8,0.25);
}

.pill-green {
    background: rgba(22,163,74,0.12);
    color: #288964;
    border-color: rgba(34,197,94,.25);
}

.pill-red {
    background: rgba(239,68,68,0.05);
    color: #f87171;
    border-color: rgba(239,68,68,0.18);
}

.pill-grey {
    background: var(--bg-input);
    color: #475569;
    border-color: var(--border-card);
}

[data-theme="light"] .pill-init {
    background: rgba(59,130,246,.08);
    color: #2563EB;
}

[data-theme="light"] .pill-req {
    background: rgba(249,115,22,.08);
    color: #ea580c;
}

[data-theme="light"] .pill-done {
    background: rgba(22,163,74,.08);
    color: #16a34a;
}
/* ── Action buttons ── */
.action-btns {
    display: flex;
    align-items: center;
    gap: 6px;
}

.act-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-card);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}

    .act-btn:hover {
        background: var(--bg-row-hover);
        color: var(--text-primary);
    }

    .act-btn.flag {
        border-color: rgba(239,68,68,.3);
        color: #f87171;
    }

        .act-btn.flag:hover {
            background: rgba(239,68,68,.1);
        }
/* ── Pagination ── */

.pg-controls {
    display: flex;
    align-items: center;
    gap: 2px;
}

.pg-arrow {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    padding: 2px 8px;
    transition: color var(--transition);
}

    .pg-arrow:hover:not(:disabled) {
        color: var(--text-body);
    }

    .pg-arrow:disabled {
        opacity: .25;
        cursor: not-allowed;
    }

.pg-info {
    font-size: 12px;
    color: var(--text-muted);
}
/* ── Modal overlay ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(3px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .modal-overlay.open {
        display: flex;
    }
    /*Supporting show hide option too*/
    .modal-overlay.show {
        display: flex;
    }
/* ── Base modal ── */
/*.modal {
    background: var(--modal-bg);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    box-shadow: var(--shadow-modal);
    width: 100%;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    overflow: hidden;
    animation: mIn .2s ease;
}

@keyframes mIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.modal-hdr {
    padding: 20px 24px 0;
    flex-shrink: 0;
}*/

.modal-hdr-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.modal-hdr-sub {
    font-size: 13px;
    color: var(--text-secondary) !important;
    line-height: 1.5;
    margin-bottom: 18px;
}
/*.modal-body {
    padding: 0 24px;
    overflow-y: auto;
    flex: 1;
}

    .modal-body::-webkit-scrollbar {
        width: 5px;
    }

    .modal-body::-webkit-scrollbar-thumb {
        background: var(--border-card);
        border-radius: 3px;
    }*/

.modal-footer-myverifications {
    padding: 18px 0px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    margin-top: 5px;
}

.btn-cancel {
    height: 36px;
    padding: 0 20px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    background: transparent;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color var(--transition),color var(--transition);
}

    .btn-cancel:hover {
        border-color: var(--text-secondary);
        color: var(--text-primary);
    }

.btn-proceed, .btn-submit {
    height: 36px;
    padding: 0 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

    .btn-proceed:hover, .btn-submit:hover {
        background: var(--accent-hover);
    }
    .btn-proceed:disabled, .btn-submit:disabled {
        color: var(--text-secondary) !important;
        border-color: var(--border) !important;
        background: var(--text-muted);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* ── Select device modal ── */
.sdv-modal {
    max-width: 680px;
}

.device-option {
    border: 1.5px solid var(--border-card);
    border-radius: 10px;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color var(--transition),background var(--transition);
    background: var(--option-bg);
    margin-bottom: 12px;
}

    .device-option:hover {
        border-color: rgba(59,130,246,.4);
    }

    .device-option.active {
        border-color: var(--option-active-border);
        background: var(--option-active-bg);
    }

.do-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.do-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 14px;
}

.do-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid var(--border-card);
    border-radius: 8px;
    cursor: pointer;
    background: var(--bg-card);
    transition: border-color var(--transition);
}

    .radio-row.selected {
        border-color: var(--accent);
    }

    .radio-row:hover {
        border-color: rgba(59,130,246,.4);
    }

.radio-outer {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-input);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.radio-row.selected .radio-outer {
    border-color: var(--accent);
}

.radio-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transform: scale(.4);
    transition: all var(--transition);
}

.radio-row.selected .radio-inner {
    opacity: 1;
    transform: scale(1);
}

.radio-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
}
/* ── Edit modal ── */
.edit-modal {
    max-width: 640px;
}

.edit-section-title {
    font-size: 14px !important;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    margin-top: 18px;
}

.edit-section-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.edit-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 6px;
}

    .edit-table th {
        text-align: left;
        padding: 7px 10px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
    }

    .edit-table td {
        padding: 10px 10px;
        font-size: 13px;
        color: var(--text-body);
        border-bottom: 1px solid var(--border);
    }

    .edit-table tr:last-child td {
        border-bottom: none;
    }

.app-type-checks {
    display: flex;
    gap: 18px;
}

.app-check-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px !important;
    cursor: pointer;
}

    .app-check-item input[type="checkbox"] {
        accent-color: var(--accent);
        width: 15px;
        height: 15px;
        cursor: pointer;
    }

.skip-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    cursor: pointer;
}

    .skip-check-row input[type="checkbox"] {
        accent-color: var(--accent);
        width: 15px;
        height: 15px;
        cursor: pointer;
    }

.verifier-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

/*.verifier-label {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
        }*/

.required-star {
    color: #f87171;
}

.info-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--text-muted);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    cursor: help;
    flex-shrink: 0;
}

.verifier-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.verifier-input {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-input);
    border-radius: var(--radius-btn);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
}

    .verifier-input:focus {
        border-color: var(--accent);
    }

.verifier-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 8px;
    font-size: 16px;
    line-height: 1;
}

    .verifier-clear:hover {
        color: var(--text-primary);
    }

.btn-retrieve {
    height: 36px;
    padding: 0 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}

    .btn-retrieve:hover {
        background: var(--accent-hover);
    }

.device-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .device-result-table th {
        text-align: left;
        padding: 7px 10px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
    }

    .device-result-table td {
        padding: 10px 10px;
        font-size: 13px;
        color: var(--text-body);
        border-bottom: 1px solid var(--border);
    }

    .device-result-table tr:last-child td {
        border-bottom: none;
    }
.content-area {
    flex: 1;
    overflow-y: auto;
}
/* ── Warning banner ── */



/* ── Report Issue modal ── */
.report-modal {
    max-width: 560px;
}

.report-textarea {
    width: 100%;
    min-height: 130px;
    background: var(--bg-input) !important;
    border: 1.5px solid var(--accent) !important;
    border-radius: var(--radius-btn) !important;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    resize: vertical;
    line-height: 1.65;
    transition: border-color var(--transition) !important;
}

    .report-textarea:focus {
        border-color: var(--accent);
    }

    .report-textarea::placeholder {
        color: var(--text-muted);
    }

.report-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}
/* ── Success result modal ── */
.result-modal {
    max-width: 420px;
}

.result-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 28px;
}

.result-check {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.result-msg-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 24px;
}
/* ── SDV-Another modal ── */
.sdva-modal {
    max-width: 580px;
}

.typeahead-wrap {
    position: relative;
}

.typeahead-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-btn);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    z-index: 10;
    overflow: hidden;
}

    .typeahead-dropdown.open {
        display: block;
    }

.typeahead-item {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-body);
    cursor: pointer;
    transition: background var(--transition);
}

    .typeahead-item:hover {
        background: var(--bg-row-hover);
    }
/* ── Bulk edit modal ── */
.bulk-edit-modal {
    max-width: 700px;
}

.bulk-edit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

    .bulk-edit-table th {
        text-align: left;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 600;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
        text-transform: uppercase;
        letter-spacing: .05em;
    }

    .bulk-edit-table td {
        padding: 11px 12px;
        font-size: 13px;
        color: var(--text-body);
        border-bottom: 1px solid var(--border);
    }

    .bulk-edit-table tr:last-child td {
        border-bottom: none;
    }

.btn-ok {
    height: 36px;
    padding: 0 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

    .btn-ok:hover {
        background: var(--accent-hover);
    }

.btn-back {
    height: 36px;
    padding: 0 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

    .btn-back:hover {
        background: var(--accent-hover);
    }
/* ── Filter panel dropdown ── */
.filter-panel-drop {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--modal-bg);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    z-index: 100;
    padding: 18px 20px 14px;
    min-width: 380px;
    animation: fpIn .15s ease;
}

    .filter-panel-drop.open {
        display: block;
    }

@keyframes fpIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fp-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 5px 0;
    cursor: pointer;
    color: var(--text-body);
}

    .fp-check-item input {
        accent-color: var(--accent);
        width: 14px;
        height: 14px;
        cursor: pointer;
        flex-shrink: 0;
    }
/*Styles for Windows upgade verification*/
/*Common*/

.cellErrormessage {
    position: relative;
}

.colorYellow {
    /*text-align:right*/
    color: #fb923c;
    font-weight: bold;
    font-size: 24px;
}

.custom-tooltip {
    color: var(--text-secondary) !important;
}

.label-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.contentcard {
    width: 100%;
    background: var(--stat-bg);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 10px;
    padding: 16px;
}

.error-banner {
    background: rgba(239,68,68,0.05);
    border: 1px solid rgba(239,68,68,0.18);
    border-radius: var(--radius-btn);
    padding: 12px 16px;
    font-size: 13px;
    /*color: var(--text-error);*/
    line-height: 1.55;
    margin-bottom: 10px;
    padding: 16px;
    width: 100%;
    border-left-width: 8px;
}

.success-banner {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.28);
    border-radius: var(--radius-btn);
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 10px;
    padding: 16px;
    width: 100%;
    border-left-width: 8px;
}

.button-custom-icon {
    font-family: "Ericsson Icons" !important;
    vertical-align: middle;
    speak: none;
    font-style: normal;
    font-size: 0.5rem;
}
/*overrides from eds stop change colour form something*/

.dialog > .content {
    background: var(--modal-bg) !important;
    border: 1px solid var(--border-card);
    border-radius: 14px;
    box-shadow: var(--shadow-modal);
    width: 45% !important;
}

.card.selected {
    background: var(--option-active-bg) !important;
    border-color: var(--option-active-border) !important;
}


.input::-webkit-input-placeholder,
.textarea::-webkit-input-placeholder {
    color: var(--text-secondary);
    padding-top: 5px;
}

.input::-moz-placeholder,
.textarea::-moz-placeholder {
    color: var(--text-secondary);
    padding-top: 5px;
}

.input::-ms-input-placeholder,
.textarea::-ms-input-placeholder {
    color: var(--text-secondary);
    padding-top: 5px;
}

.input::placeholder,
.textarea::placeholder {
    color: var(--text-secondary);
    padding-top: 5px;
}
/*overrides from eds stop change colour form something*/
/*Common*/
.modalForAssetDetails {
    width: 100%;
    max-width: 660px;
    box-shadow: var(--shadow-overlay);
    display: flex;
    flex-direction: column;
    max-height: 98vh;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: translateY(8px);
    transition: transform 0.22s;
    animation: modalIn 0.22s ease forwards;
}

    .modalForAssetDetails.active {
        display: flex;
    }

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.modal-headerForAssetDetails {
    padding: 14px 22px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-iconForAssetDetails {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-bodyForAssetDetails {
    padding: 14px 22px;
    /*overflow-y: auto;*/
    flex: 1;
}

    .modal-bodyForAssetDetails::-webkit-scrollbar {
        width: 5px;
    }

    .modal-bodyForAssetDetails::-webkit-scrollbar-thumb {
        background: var(--border-strong);
        border-radius: 3px;
    }

.modal-footerForAssetDetails {
    padding: 10px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}
/* ── Device selection table ── */
.select-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.device-select-table {
    width: 100%;
    border-collapse: collapse;
}

    .device-select-table th {
        text-align: left;
        padding: 7px 12px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
    }

        .device-select-table th:first-child {
            width: 36px;
        }

.device-row {
    cursor: pointer;
    transition: background var(--transition);
}

    .device-row:hover td {
        background: var(--row-hover);
    }

    .device-row.selected td {
        background: var(--row-selected);
    }

    .device-row td {
        padding: 9px 12px;
        font-size: 13px;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border);
        transition: background var(--transition);
    }

    .device-row:last-child td {
        border-bottom: none;
    }

    .device-row td:first-child {
        padding-left: 12px;
        vertical-align: middle;
    }

.radio-outer {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.device-row.selected .radio-outer {
    border-color: var(--accent);
}

.radio-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
    transform: scale(0.5);
}

.device-row.selected .radio-inner {
    opacity: 1;
    transform: scale(1);
}

.device-name-cell {
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--mono);
    font-size: 12px;
}

.overlayForAsset {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--overlay-bg);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

    .overlayForAsset.visible {
        opacity: 1;
        pointer-events: all;
    }

.radio-outer {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.radio-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
    transform: scale(0.5);
}

.customDialogSize > .content {
    overflow: auto;
    border: 1px solid #ccc;
    max-width: 65%;
    max-height: 95%;
}
/* ── Welcome / Help modal ── */
.welcome-modal {
    max-width: 640px !important;
}

.welcome-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
}

.welcome-para {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
}

.welcome-section-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 24px 0 8px !important;
}

.welcome-list {
    list-style: disc !important;
    padding-left: 22px !important;
    margin: 8px 0 4px !important;
}

    .welcome-list li {
        font-size: 14px !important;
        color: var(--text-secondary) !important;
        line-height: 1.7 !important;
        padding: 2px 0 !important;
    }

        .welcome-list li strong {
            color: var(--text-primary) !important;
        }
/* ── Modal overlay ── */
.help-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(3px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .help-modal-overlay.open {
        display: flex;
    }
/* ── Base modal ── */
.help-modal {
    background: var(--modal-bg);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    box-shadow: var(--shadow-modal);
    width: 100%;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    overflow: hidden;
    animation: mIn .2s ease;
}

.help-modal-body {
    padding: 0 24px;
    overflow-y: auto;
    flex: 1;
}

    .help-modal-body::-webkit-scrollbar {
        width: 5px;
    }

    .help-modal-body::-webkit-scrollbar-thumb {
        background: var(--border-card);
        border-radius: 3px;
    }

.help-modal-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.custom-select-menu {
    background: var(--bg-filter-menu) !important;
    border: 1px solid var(--border-card) !important;
    border-radius: 7px !important;
    margin-top: 5px !important;
}

.custom-select:hover {
    background: var(--bg-field-hover) !important;
}

.bordernone {
    border: none !important;
}
/* Edit Critical Application Details*/
.edit-modal {
    max-width: 640px;
}

.edit-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    margin-top: 18px;
}

.edit-section-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.edit-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 6px;
}

    .edit-table th {
        text-align: left;
        padding: 7px 10px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
    }

    .edit-table td {
        padding: 10px 10px;
        font-size: 13px;
        color: var(--text-body);
        border-bottom: 1px solid var(--border);
    }

    .edit-table tr:last-child td {
        border-bottom: none;
    }

.app-type-checks {
    display: flex;
    gap: 18px;
}

.app-check-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    cursor: pointer;
}

    .app-check-item input[type="checkbox"] {
        accent-color: var(--accent);
        width: 15px;
        height: 15px;
        cursor: pointer;
    }

.skip-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    cursor: pointer;
}

    .skip-check-row input[type="checkbox"] {
        accent-color: var(--accent);
        width: 15px;
        height: 15px;
        cursor: pointer;
    }

.verifier-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.verifier-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.required-star {
    color: #f87171;
}

.info-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--text-muted);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    cursor: help;
    flex-shrink: 0;
}

.verifier-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.verifier-input {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-input);
    border-radius: var(--radius-btn);
    background: var(--bg-input) !important;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
}

    .verifier-input:focus {
        border-color: var(--accent);
    }

.device-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .device-result-table th {
        text-align: left;
        padding: 7px 10px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
    }

    .device-result-table td {
        padding: 10px 10px;
        font-size: 13px;
        color: var(--text-body);
        border-bottom: 1px solid var(--border);
    }

    .device-result-table tr:last-child td {
        border-bottom: none;
    }
/*moved from app.css*/
.dialogUserSelect {
    display: block !important;
    max-width: 365px !important;
    width: 365px !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-input);
    border-radius: var(--radius-btn) !important;
    background: var(--bg-input) !important;
}

.dialog .options-list {
    color: var(--text-primary) !important;
    border: 1px solid var(--border-input) !important;
    border-radius: var(--radius-btn) !important;
    background: var(--bg-input) !important;
}
/*moved from app.css*/


.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin-bottom: 10px;
}


.overlayForSubmitpage {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    z-index: 9999;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .form-field.full {
        grid-column: 1 / -1;
    }

.field-labelForAssetDetailsSend {
    margin-bottom: -4px !important;
    font-size: 12px !important;
    font-weight: 600;
    color: var(--text-secondary) !important;
    display: flex !important;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-input, .form-select, .form-textarea {
    height: 34px !important;
    padding: 5px 10px !important;
    border-radius: var(--radius) !important;
    border: 1.5px solid var(--border-strong) !important;
    background: var(--input-bg) !important;
    color: var(--text-primary) !important;
    font-family: var(--font) !important;
    font-size: 13px !important;
    outline: none !important;
    width: 100% !important;
    transition: border-color var(--transition), box-shadow var(--transition) !important;
}

    .form-input:focus, .form-select:focus, .form-textarea:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-light);
    }

    .form-input[readonly], .form-input[disabled] {
        background: var(--input-disabled-bg) !important;
        color: var(--text-secondary) !important;
        cursor: default;
        border-color: var(--border) !important;
    }

.form-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238b949e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.form-textarea {
    height: auto;
    padding: 8px 10px;
    resize: vertical;
    min-height: 56px;
    line-height: 1.45;
}

.form-input.url-field {
    font-family: var(--mono) !important;
    font-size: 11.5px !important;
    color: var(--accent) !important;
    background: var(--input-disabled-bg) !important;
    border-color: var(--border) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    cursor: pointer !important;
}

    .form-input.url-field:hover {
        border-color: var(--accent-border);
    }

.device-row.selected td {
    background: var(--row-selected);
}

.send-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-modal {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 280px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.dl-spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid var(--border-strong);
    border-top-color: var(--accent);
    animation: spin 0.75s linear infinite;
}

.dl-check {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(16,185,129,0.15);
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
}

.send-modal-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.send-modal-sub {
    font-size: 12.5px;
    color: var(--text-secondary);
}

tr.disabled-row {
    background: var(--disabled-row);
}

    /*tr.disabled-row td {
        color: #cbd5e1;
    }*/

    tr.disabled-row .message {
        opacity: 1 !important;
        color: #111827 !important;
        background: #ffffff !important;
    }

.error-margin {
    margin: 20px;
    width: auto !important;
}


.modalForUnsendList.active {
    display: flex;
}

.modalForUnsendList {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    width: 100%;
    box-shadow: var(--shadow-overlay);
    display: none;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    animation: modalIn 0.22s ease forwards;
}


.modal-headerForUnsendList {
    padding: 18px 22px 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.modal-subtitle {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 2px;
    line-height: 1.45;
}

.modal-closeForUnsendList {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
    flex-shrink: 0;
}

    .modal-closeForUnsendList:hover {
        background: var(--bg-hover);
        color: var(--text-primary);
    }

.modal-bodyForUnsendList {
    padding: 20px 22px;
    overflow-y: auto;
    flex: 1;
}

    .modal-bodyForUnsendList::-webkit-scrollbar {
        width: 5px;
    }

    .modal-bodyForUnsendList::-webkit-scrollbar-thumb {
        background: var(--border-strong);
        border-radius: 3px;
    }

.modal-footerForUnsendList {
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.footer-spacer {
    flex: 1;
}

.selection-count {
    font-size: 12.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .selection-count strong {
        color: var(--text-primary);
        font-variant-numeric: tabular-nums;
    }

.table-scroll-wrap {
    max-height: 280px;
    overflow-y: auto;
    border-radius: 0 0 var(--radius) var(--radius);
}

    .table-scroll-wrap::-webkit-scrollbar {
        width: 5px;
    }

    .table-scroll-wrap::-webkit-scrollbar-thumb {
        background: var(--border-strong);
        border-radius: 3px;
    }

.sel-table {
    width: 100%;
    border-collapse: collapse;
}

    .sel-table th {
        text-align: left;
        padding: 7px 12px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
    }

        .sel-table th:first-child {
            width: 40px;
            padding-left: 12px;
        }

.sel-row {
    cursor: pointer;
    transition: background var(--transition);
}

    .sel-row:hover td {
        background: var(--bg-hover);
    }

    .sel-row.selected td {
        background: var(--row-selected);
    }

    .sel-row td {
        padding: 11px 12px;
        font-size: 13px;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border);
        transition: background var(--transition);
    }

    .sel-row:last-child td {
        border-bottom: none;
    }

    .sel-row td:first-child {
        padding-left: 12px;
        vertical-align: middle;
    }

.device-name {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

.ts-cell {
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.serial-col {
    font-family: var(--mono);
    font-size: 11.5px;
    white-space: nowrap;
}

/*.btn-ghost {
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1.5px solid var(--border-strong);
}

    .btn-ghost:hover {
        background: var(--bg-elevated);
    }
*/

.review-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

    .review-table th {
        text-align: left;
        padding: 7px 12px;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
    }

    .review-table td {
        padding: 12px 12px;
        font-size: 13px;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border);
        vertical-align: top;
    }

    .review-table tr:last-child td {
        border-bottom: none;
    }

.device-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
}

.type-cloud {
    background: rgba(139,92,246,0.12);
    color: #a78bfa;
}

.type-laptop {
    background: rgba(37,99,235,0.12);
    color: #60a5fa;
}

.type-mobile {
    background: rgba(16,185,129,0.12);
    color: #34d399;
}

.model-cell {
    font-size: 12.5px;
    color: var(--text-primary);
    white-space: nowrap;
}

.serial-cell {
    font-family: var(--mono);
    font-size: 11.5px;
    white-space: nowrap;
}

.collection-cell {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.url-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: var(--accent) !important;
    border: 1.5px solid var(--accent-border);
    background: var(--accent-light);
    text-decoration: none;
    transition: all var(--transition);
}

    .url-link:hover {
        background: rgba(37,99,235,0.22);
    }

.comment-input {
    width: 100%;
    min-width: 160px;
    background: var(--textarea-bg);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 13px;
    padding: 7px 10px;
    resize: vertical;
    min-height: 60px;
    line-height: 1.45;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

    .comment-input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-light);
    }

    .comment-input::placeholder {
        color: var(--text-muted);
    }

/* Site/Country row */
.site-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-label {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.form-select-assetpreservation, .form-input-readonly-assetpreservation {
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: var(--radius) !important;
    border: 1.5px solid var(--border-strong) !important;
    background: var(--input-bg) !important;
    color: var(--text-primary) !important;
    font-family: var(--font) !important;
    font-size: 13.5px !important;
    outline: none !important;
    width: 100% !important;
    transition: border-color var(--transition), box-shadow var(--transition) !important;
}

    .form-select-assetpreservation:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-light);
    }

.form-input-readonly-assetpreservation {
    background: var(--input-disabled-bg) !important;
    color: var(--text-secondary) !important;
    cursor: default !important;
    border-color: var(--border) !important;
}

.btn-primary {
    background: var(--accent) !important;
    color: #fff !important;
}

    .btn-primary:hover {
        background: var(--accent-hover) !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(37,99,235,0.35);
    }

    .btn-primary:active {
        transform: none;
        box-shadow: none;
    }

    .btn-primary:disabled {
        color: var(--text-secondary) !important;
        border-color: var(--border) !important;
        background: var(--text-muted);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.btn-ghost {
    background: var(--bg-hover) !important;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--border-strong) !important;
}

    .btn-ghost:hover {
        background: var(--bg-elevated);
    }

/*adding table styles from hardware identifiers in the end*/

.tab-bar {
    display: flex;
    background: var(--color-tab-bg);
    border-bottom: 1px solid var(--color-tab-border);
    padding-left: 12px;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .tab-bar::-webkit-scrollbar {
        display: none;
    }

.tab-btn {
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-tab-text);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

    .tab-btn:hover {
        color: var(--text-muted);
    }

    .tab-btn.active {
        color: var(--color-tab-active);
        font-weight: 600;
        background: rgba(56,139,253,0.08);
        border-bottom-color: #3b82f6;
    }

.selectdevice_warning {
    transform: translateX(-20px);
}

    .selectdevice_warning .icon {
        position: relative;
        top: -5px;
    }

.assetComments {
    min-height: 48px;
    margin-bottom: -16px;
}

.assetCommentsError {
    margin-top: 13px;
}

.addcampaign-entragroupname-success-padding {
    padding: 10px 5px;
}

.menu-icon {
    width: 16px;
    text-align: center;
    font-size: 13px;
    color: #8b949e;
}

    .menu-icon::before {
        content: "☰";
    }

    .menu-icon.open {
        color: #58a6ff;
    }

        .menu-icon.open::before {
            content: "✕";
        }
.padding-top5px{
    padding-top: 5px;
}

.overflow-x-auto {
    overflow-x: auto;
}

.riskFactors-grid {
    display: grid;
    grid-template-columns: 350px 2fr;
}

.riskFactors-head {
    background: var(--bg-toolbar);
    border-bottom: 1px solid var(--border-divider);
    padding: 9px 20px;
    transition: background 0.25s;
}

body.light .riskFactors-head {
    background: #f9fafb;
}

.riskFactors-head > div {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.riskFactors-table {
    width: 100%;
    border-collapse: collapse;
}

    .riskFactors-table tr {
        border-bottom: 1px solid var(--border-row);
    }

        .riskFactors-table tr:last-child {
            border-bottom: none;
        }

    .riskFactors-table td {
        padding: 11px 20px;
        font-size: 13px;
    }

        .riskFactors-table td:first-child {
            color: var(--text-body);
            width: 350px;
        }

        .riskFactors-table td:last-child {
            color: var(--text-heading);
            font-weight: 500;
        }

#f_site {
    color: var(--text-secondary) !important;
}

/* Hide username text on mobile and tablet, show only icon */
@media (max-width: 1024px) {
    .user-name-text {
        display: none;
    }
}

/* Show username text on desktop */
@media (min-width: 1025px) {
    .user-name-text {
        display: inline;
    }
}

/* ── Mobile Optimization for Search Bar ── */
/* Optimize search bar layout for mobile and tablet devices */
@media (max-width: 768px) {
    /* Reduce padding on search icon buttons to make them narrower */
    .search-icon-btn {
        padding: 0 3px;
        display:flow;
    }

    /* Reduce padding on filter button */
    .filter-btn {
        padding: 0 8px;
        font-size: 11px;
    }

    /* Ensure input takes maximum available space */
    .custom-searchinput {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        padding: 0 8px !important;
    }
}

/* Extra optimization for very small mobile screens */
@media (max-width: 480px) {
    /* Further reduce icon button padding */
    .search-icon-btn {
        padding: 0 2px;
        display: flow;
    }

    .filter-btn {
        padding: 0 6px;
        font-size: 10.5px;
        gap: 4px;
    }

    /* Minimize input padding */
    .custom-searchinput {
        padding: 0 6px !important;
        font-size: 12px !important;
    }

    /* Make icon slightly smaller on very small screens */
    .search-icon-btn .icon {
        font-size: 14px;
    }
}

/* ── Fix Vertical Scroll on Mobile Devices ── */
/* Ensure vertical scrolling works properly on all mobile devices */
@media (max-width: 768px) {
    /* Fix body and html scrolling - critical for mobile */
    html {
        overflow: auto !important;
        -webkit-overflow-scrolling: touch;
        height: 100%;
        width: 100%;
    }

    body {
        overflow: auto !important;
        -webkit-overflow-scrolling: touch;
        height: auto !important;
        min-height: 100vh;
        width: 100%;
    }

    /* Ensure main content area is scrollable */
    main {
        overflow: visible;
        height: auto;
        min-height: 100vh;
        width: 100%;
    }

    /* Fix app container scrolling */
    .app {
        overflow: visible;
        height: auto;
        min-height: calc(100vh - 60px);
        width: 100%;
    }

    /* Ensure appbody is scrollable */
    .appbody {
        overflow: visible;
        height: auto;
        min-height: calc(100vh - 60px);
        width: 100%;
    }

    /* Make appcontent scrollable with proper height */
    .appcontent {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        height: auto;
        min-height: calc(100vh - 60px);
        width: 100%;
        padding-bottom: 40px; /* Extra padding at bottom */
    }

    /* Ensure content can scroll */
    .contentHolder {
        overflow: visible;
        height: auto;
        /*min-height: 50vh;*/
        width: 100%;
    }

    /* Fix for content wrapper */
    .content {
        min-height: 50vh;
        padding-bottom: 40px;
    }

    /* Fix for cards and content containers */
    .info-card,
    .devices-card,
    .tab-card {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

/* Extra fixes for very small mobile devices */
@media (max-width: 480px) {
    /* Force scrollbar visibility on webkit browsers */
    .appcontent::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
    }

    .appcontent::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: rgba(0, 0, 0, .3);
        box-shadow: 0 0 1px rgba(255, 255, 255, .3);
    }
}

/* ── Fix Avatar Spacing and Settings Button Width ── */
/* Add proper spacing around profile photo on mobile like desktop */
@media (max-width: 768px) {
    /* Add margin/spacing around avatar in mobile view */
    .avatar {
        margin: 8px 0;
    }

    /* Ensure profile body has proper spacing */
    .profile-body {
        padding: 16px 18px 20px !important;
        gap: 16px !important;
    }

    /* Make settings buttons consistent width with Sign out button */
    .settingsButton {
        width: 80vw !important;
        display: block;
        text-align: center;
        margin-bottom: 8px;
    }

    /* Ensure both Sign out and My verifications have same width */
    .settings .container .bottom .btn.big,
    .settingsButton {
        width: 80vw !important;
    }
}

/* Desktop and larger screens */
@media (min-width: 769px) {
    /* Consistent width for settings buttons on desktop */
    .settingsButton {
        width: 230px !important;
        display: block;
        text-align: center;
    }

    .settings .container .bottom .btn.big,
    .settingsButton {
        width: 230px !important;
    }
}
