/* =========================================================
   MARKER NORTH DRIVER SETTINGS
   Privacy-first account controls
   ========================================================= */

.settings-main {
    width: 100%;
    min-width: 0;
    padding: 24px 32px 18px;
    background: radial-gradient( circle at 82% 12%, rgba(30, 115, 190, 0.06), transparent 29% ), var(--page-bg);
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.settings-page-header {
    padding: 0 4px 20px;
    border: 0;
    background: transparent;
}

    .settings-page-header h1 {
        margin: 0;
        color: var(--text);
        font-size: 34px;
        line-height: 1.1;
    }

    .settings-page-header p {
        margin: 7px 0 0;
        color: var(--muted);
        font-size: 16px;
        font-style: italic;
    }


/* =========================================================
   SETTINGS WORKSPACE
   ========================================================= */

.settings-workspace {
    display: grid;
    grid-template-columns: 250px minmax(650px, 1fr) minmax(285px, 330px);
    align-items: start;
    gap: 18px;
    min-width: 0;
}


/* =========================================================
   SETTINGS SECTION NAVIGATION
   ========================================================= */

.settings-section-nav {
    display: flex;
    min-height: 720px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 180deg, rgba(8, 20, 33, 0.98), rgba(5, 14, 24, 0.98) );
}

    .settings-section-nav button {
        position: relative;
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: center;
        min-height: 58px;
        gap: 12px;
        padding: 0 18px;
        border: 0;
        border-bottom: 1px solid rgba(34, 54, 74, 0.52);
        background: transparent;
        color: #d4dee7;
        font: inherit;
        font-size: 14px;
        text-align: left;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
    }

        .settings-section-nav button:last-child {
            border-bottom: 0;
        }

        .settings-section-nav button:hover {
            background: rgba(30, 115, 190, 0.08);
            color: #ffffff;
        }

        .settings-section-nav button.active {
            background: linear-gradient( 90deg, rgba(255, 189, 25, 0.36), rgba(255, 189, 25, 0.11) );
            color: var(--accent);
            font-weight: 700;
            box-shadow: inset 4px 0 0 var(--accent);
        }

    .settings-section-nav i {
        width: 26px;
        color: #9aaaba;
        font-size: 19px;
        text-align: center;
    }

    .settings-section-nav button.active i {
        color: var(--accent);
    }

    .settings-section-nav button small {
        grid-column: 2;
        margin-top: -14px;
        color: #82929f;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
    }


/* =========================================================
   MAIN SETTINGS PANEL
   ========================================================= */

.settings-content {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(8, 22, 35, 0.98), rgba(5, 15, 25, 0.98) );
}

.settings-content-header {
    padding: 0 0 16px;
    border: 0;
    background: transparent;
}

    .settings-content-header h2 {
        margin: 0;
        color: var(--text);
        font-size: 23px;
    }

    .settings-content-header p {
        margin: 6px 0 0;
        color: var(--muted);
        font-size: 14px;
    }


/* =========================================================
   PRIVACY STATUS
   ========================================================= */

.privacy-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: linear-gradient( 90deg, rgba(255, 189, 25, 0.1), rgba(7, 17, 28, 0.65) );
}

.privacy-status-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 52px;
    place-items: center;
    clip-path: polygon( 50% 0, 90% 16%, 90% 65%, 50% 100%, 10% 65%, 10% 16% );
    background: var(--accent);
    color: #101417;
    font-size: 24px;
}

.privacy-status > div:last-child {
    display: grid;
    gap: 4px;
}

.privacy-status strong {
    color: var(--accent);
    font-size: 17px;
}

.privacy-status span {
    color: #ccd6df;
    font-size: 13px;
}


/* =========================================================
   SETTINGS GROUPS
   ========================================================= */

.settings-group {
    min-width: 0;
    margin: 0 0 17px;
    padding: 0;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(4, 13, 22, 0.52);
}

    .settings-group legend {
        float: left;
        width: 100%;
        margin: 0;
        padding: 0 0 8px;
        color: #58a8f5;
        font-size: 14px;
        font-weight: 700;
        background: transparent;
        transform: translateY(-2px);
    }

        .settings-group legend span {
            color: #58a8f5;
        }

        .settings-group legend + .settings-row {
            clear: both;
        }

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    gap: 18px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(34, 54, 74, 0.7);
}

    .settings-row:last-child {
        border-bottom: 0;
    }

    .settings-row.compact {
        min-height: 40px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

.settings-row-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

    .settings-row-copy strong {
        color: #ecf2f7;
        font-size: 13px;
        font-weight: 650;
    }

    .settings-row-copy small {
        max-width: 520px;
        color: var(--muted);
        font-size: 11px;
        line-height: 1.35;
    }

.settings-row-controls {
    display: flex;
    align-items: center;
    flex: 0 0 48%;
    gap: 12px;
}


/* =========================================================
   TEXT INPUT
   ========================================================= */

.settings-text-input {
    min-width: 0;
    width: 100%;
    height: 35px;
    padding: 0 12px;
    border: 1px solid var(--panel-border);
    border-radius: 5px;
    outline: none;
    background: #07121e;
    color: var(--text);
    font: inherit;
    font-size: 12px;
}

    .settings-text-input:focus {
        border-color: var(--brand-blue);
        box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.12);
    }


/* =========================================================
   SELECT CONTROLS
   ========================================================= */

.settings-select {
    position: relative;
    display: block;
    flex: 0 0 190px;
    min-width: 175px;
}

    .settings-select select {
        width: 100%;
        height: 35px;
        padding: 0 36px 0 12px;
        border: 1px solid rgba(255, 189, 25, 0.76);
        border-radius: 5px;
        outline: none;
        appearance: none;
        background: #07121e;
        color: #edf3f8;
        font: inherit;
        font-size: 12px;
        cursor: pointer;
    }

    .settings-select i {
        position: absolute;
        top: 50%;
        right: 12px;
        color: #b9c5cf;
        font-size: 10px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .settings-select select:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(255, 189, 25, 0.11);
    }


/* =========================================================
   TOGGLE SWITCHES
   ========================================================= */

.settings-toggle {
    position: relative;
    display: inline-block;
    flex: 0 0 44px;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

    .settings-toggle input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .settings-toggle > span {
        position: absolute;
        inset: 0;
        border: 1px solid #34495d;
        border-radius: 999px;
        background: #101c28;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

        .settings-toggle > span::after {
            position: absolute;
            top: 3px;
            left: 3px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #eef3f7;
            content: "";
            transition: transform 0.2s ease;
        }

    .settings-toggle input:checked + span {
        border-color: #3f98ee;
        background: #1e73be;
        box-shadow: 0 0 10px rgba(30, 115, 190, 0.3);
    }

        .settings-toggle input:checked + span::after {
            transform: translateX(20px);
        }

    .settings-toggle input:focus-visible + span {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }


/* =========================================================
   LIVE LOCATION PRECISION
   ========================================================= */

.location-row {
    border-bottom: 0;
}

.location-precision {
    padding: 0 14px 10px;
}

.location-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    margin-left: 50px;
    border: 1px solid #34495d;
    border-radius: 5px;
}

    .location-options button {
        min-height: 31px;
        border: 0;
        border-right: 1px solid #34495d;
        background: #07121e;
        color: #d2dce5;
        font: inherit;
        font-size: 12px;
        cursor: pointer;
    }

        .location-options button:last-child {
            border-right: 0;
        }

        .location-options button:hover {
            background: rgba(30, 115, 190, 0.12);
        }

        .location-options button.active {
            background: linear-gradient( 180deg, #358cdd, #1e73be );
            color: #ffffff;
            font-weight: 700;
        }

.location-precision p {
    margin: 6px 0 0 50px;
    color: #91a2b1;
    font-size: 10px;
}

    .location-precision p i {
        margin-right: 5px;
        color: #4da1ef;
    }


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.settings-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 1px;
}

.safe-defaults-button,
.save-settings-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    gap: 9px;
    padding: 0 20px;
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.safe-defaults-button {
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
}

    .safe-defaults-button:hover {
        background: rgba(255, 189, 25, 0.1);
    }

.save-settings-button {
    min-width: 290px;
    border: 1px solid var(--accent);
    background: linear-gradient( 180deg, #ffc42a, #eba400 );
    color: #11161b;
    box-shadow: 0 7px 22px rgba(255, 174, 0, 0.14);
}

    .save-settings-button:hover {
        box-shadow: 0 8px 28px rgba(255, 174, 0, 0.28);
    }


/* =========================================================
   PRIVACY SIDEBAR
   ========================================================= */

.privacy-sidebar {
    display: grid;
    min-width: 0;
    gap: 16px;
}

.public-preview-card,
.privacy-reminder-card,
.prealpha-access-card {
    overflow: hidden;
    padding: 19px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(8, 23, 37, 0.98), rgba(5, 15, 25, 0.98) );
}

    .public-preview-card h2,
    .privacy-reminder-card h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 18px;
        color: #58a8f5;
        font-size: 17px;
    }

        .public-preview-card h2 i,
        .privacy-reminder-card h2 i {
            color: #4a9ef0;
        }


/* =========================================================
   PUBLIC PROFILE PREVIEW
   ========================================================= */

.preview-driver {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
}

.preview-avatar {
    position: relative;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: #07111c;
}

    .preview-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.preview-driver > div:last-child {
    display: grid;
    gap: 5px;
}

.preview-driver strong {
    color: #ffffff;
    font-size: 19px;
}

.preview-premium {
    width: max-content;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(166, 93, 247, 0.2);
    color: #c67aff;
    font-size: 11px;
}

.preview-online {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #55d77b;
    font-size: 11px;
}

    .preview-online i {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #45da6e;
    }

.preview-visible-data {
    display: grid;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(34, 54, 74, 0.75);
    border-bottom: 1px solid rgba(34, 54, 74, 0.75);
}

    .preview-visible-data div {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #d9e2e9;
        font-size: 13px;
    }

    .preview-visible-data i {
        width: 18px;
        color: #b7c5d1;
        text-align: center;
    }

.preview-hidden-data {
    display: grid;
    gap: 12px;
    padding: 16px 0;
}

    .preview-hidden-data div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #b5c0ca;
        font-size: 13px;
    }

    .preview-hidden-data strong {
        color: #dce3e9;
        font-weight: 500;
    }

.preview-profile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    gap: 10px;
    border: 1px solid var(--brand-blue);
    border-radius: 5px;
    color: #59abf9;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

    .preview-profile-button:hover {
        background: var(--brand-blue);
        color: #ffffff;
    }


/* =========================================================
   PRIVACY REMINDER
   ========================================================= */

.privacy-reminder-card p {
    margin: 0;
    color: #becbd5;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   PRE-ALPHA PLAN AND ACCESS
   ========================================================= */

.prealpha-access-card {
    border-color: rgba(166, 93, 247, 0.48);
    background: linear-gradient( 145deg, rgba(38, 20, 59, 0.42), rgba(6, 16, 27, 0.98) );
}

.prealpha-access-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px;
}

    .prealpha-access-heading > i {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border-radius: 50%;
        background: rgba(166, 93, 247, 0.18);
        color: #bd75ff;
        font-size: 19px;
    }

    .prealpha-access-heading > div {
        display: grid;
        gap: 3px;
    }

    .prealpha-access-heading span {
        color: #9facb8;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.7px;
    }

    .prealpha-access-heading strong {
        color: #ffffff;
        font-size: 15px;
    }

.prealpha-access-badge {
    display: block;
    margin-bottom: 12px;
    padding: 7px 9px;
    border: 1px solid rgba(85, 204, 99, 0.42);
    border-radius: 5px;
    background: rgba(85, 204, 99, 0.08);
    color: #62da72;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.prealpha-access-card > p {
    margin: 0 0 13px;
    color: #b8c4cd;
    font-size: 10px;
    line-height: 1.5;
}

.prealpha-access-card dl {
    margin: 0;
    padding-top: 11px;
    border-top: 1px solid rgba(34, 54, 74, 0.72);
}

    .prealpha-access-card dl div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 7px;
        font-size: 10px;
    }

        .prealpha-access-card dl div:last-child {
            margin-bottom: 0;
        }

.prealpha-access-card dt {
    color: #8f9eaa;
}

.prealpha-access-card dd {
    margin: 0;
    color: #e1e8ee;
    font-weight: 700;
}


/* =========================================================
   CAPS SIGNATURE
   ========================================================= */

.settings-caps-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 18px 0 2px;
    border: 0;
    background: transparent;
}

.settings-caps-icon {
    display: grid;
    width: 44px;
    height: 48px;
    place-items: center;
    clip-path: polygon( 50% 0, 91% 16%, 91% 65%, 50% 100%, 9% 65%, 9% 16% );
    border: 2px solid var(--brand-blue);
    background: rgba(30, 115, 190, 0.06);
    color: #4ca2f6;
    font-size: 18px;
}

.settings-caps-signature > div:last-child {
    display: grid;
    gap: 4px;
}

.settings-caps-signature strong {
    color: #dce5ed;
    font-size: 13px;
    font-weight: 600;
}

    .settings-caps-signature strong span {
        color: var(--accent);
        font-weight: 800;
    }

.settings-caps-signature small {
    color: #80909e;
    font-size: 10px;
    font-style: italic;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.settings-section-nav button:focus-visible,
.location-options button:focus-visible,
.safe-defaults-button:focus-visible,
.save-settings-button:focus-visible,
.preview-profile-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* =========================================================
   RESPONSIVE LAYOUT
   ========================================================= */

@media (max-width: 1550px) {

    .settings-main {
        padding-right: 22px;
        padding-left: 22px;
    }

    .settings-workspace {
        grid-template-columns: 220px minmax(590px, 1fr) minmax(260px, 300px);
        gap: 14px;
    }

    .settings-section-nav button {
        padding-right: 14px;
        padding-left: 14px;
    }

    .settings-content {
        padding: 17px;
    }
}

@media (max-width: 1280px) {

    .settings-workspace {
        grid-template-columns: 210px minmax(580px, 1fr);
    }

    .privacy-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }

    .settings-section-nav {
        min-height: 690px;
    }
}

@media (max-width: 980px) {

    .settings-main {
        padding: 20px 16px;
    }

    .settings-workspace {
        grid-template-columns: 1fr;
    }

    .settings-section-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        min-height: auto;
    }

        .settings-section-nav button {
            border-right: 1px solid rgba(34, 54, 74, 0.52);
        }

    .privacy-sidebar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .settings-page-header h1 {
        font-size: 29px;
    }

    .settings-section-nav {
        grid-template-columns: 1fr;
    }

    .settings-row {
        align-items: flex-start;
        flex-direction: column;
    }

        .settings-row.compact,
        .settings-row.location-row {
            align-items: center;
            flex-direction: row;
        }

    .settings-row-controls {
        width: 100%;
        flex-basis: auto;
    }

    .settings-select {
        width: 100%;
        flex-basis: auto;
    }

    .location-options {
        margin-left: 0;
    }

    .location-precision p {
        margin-left: 0;
    }

    .settings-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .save-settings-button {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   PRIVACY SECTION SPACING POLISH
   ========================================================= */

.settings-group {
    margin-top: 12px;
    margin-bottom: 26px;
    padding-top: 8px;
}

    .settings-group legend {
        padding-left: 14px;
        padding-bottom: 12px;
        line-height: 1.35;
        transform: none;
    }

.settings-row {
    min-height: 60px;
    padding-top: 11px;
    padding-bottom: 11px;
}

    .settings-row.compact {
        min-height: 48px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

.location-precision {
    padding-top: 5px;
    padding-bottom: 14px;
}

/* =========================================================
   SETTINGS PANEL SWITCHING
   ========================================================= */

.settings-panel:not(.active) {
    display: none;
}

/* =========================================================
   ACCOUNT SETTINGS PANEL
   ========================================================= */

.account-panel {
    min-width: 0;
}

.account-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(85, 204, 99, 0.75);
    border-radius: 8px;
    background: linear-gradient( 90deg, rgba(85, 204, 99, 0.11), rgba(7, 17, 28, 0.65) );
}

.account-status-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 52px;
    place-items: center;
    clip-path: polygon( 50% 0, 90% 16%, 90% 65%, 50% 100%, 10% 65%, 10% 16% );
    background: var(--green);
    color: #08150d;
    font-size: 24px;
}

.account-status > div:last-child {
    display: grid;
    gap: 4px;
}

.account-status strong {
    color: #57da6b;
    font-size: 17px;
}

.account-status span {
    color: #ccd6df;
    font-size: 13px;
}


/* =========================================================
   ACCOUNT GROUPS
   ========================================================= */

.account-group {
    min-width: 0;
    margin: 12px 0 22px;
    padding: 8px 14px 12px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(4, 13, 22, 0.52);
}

    .account-group legend {
        padding: 0 4px 11px;
        color: #58a8f5;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.35;
    }

        .account-group legend span {
            color: #58a8f5;
        }


/* =========================================================
   PROFILE INFORMATION
   ========================================================= */

.account-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.account-avatar-controls {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}

.account-avatar-controls[hidden] {
    display: none !important;
}

.account-avatar {
    width: 92px;
    height: 92px;
    overflow: hidden;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: #07111c;
}

    .account-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.account-avatar-controls small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

.account-secondary-button {
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid var(--accent);
    border-radius: 5px;
    background: transparent;
    color: #f1f5f8;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

    .account-secondary-button:hover {
        background: rgba(255, 189, 25, 0.08);
        color: var(--accent);
    }

.account-remove-avatar {
    border: 0;
    background: transparent;
    color: #ff666d;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

    .account-remove-avatar:hover {
        color: #ff8a90;
        text-decoration: underline;
    }

.account-profile-fields {
    display: grid;
    align-content: start;
    gap: 10px;
}

.account-field {
    display: grid;
    gap: 7px;
}

    .account-field > span:first-child {
        color: #eef4f8;
        font-size: 12px;
        font-weight: 700;
    }

    .account-field input,
    .account-preference-row > input,
    .account-readonly-field input {
        width: 100%;
        height: 36px;
        padding: 0 12px;
        border: 1px solid var(--panel-border);
        border-radius: 5px;
        outline: none;
        background: #07121e;
        color: var(--text);
        font: inherit;
        font-size: 12px;
    }

        .account-field input:focus,
        .account-preference-row > input:focus {
            border-color: var(--brand-blue);
            box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.12);
        }

.account-field-note {
    margin: -2px 0 3px;
    color: #9aa9b6;
    font-size: 10px;
}

    .account-field-note i {
        margin-right: 6px;
        color: #8ea4b7;
    }

.account-email-control {
    position: relative;
    display: block;
}

    .account-email-control input {
        padding-right: 100px;
    }

    .account-email-control strong {
        position: absolute;
        top: 50%;
        right: 11px;
        display: flex;
        align-items: center;
        gap: 5px;
        color: #5dda73;
        font-size: 10px;
        transform: translateY(-50%);
    }

.account-email-button {
    justify-self: start;
}


/* =========================================================
   PREFERENCE AND IDENTITY ROWS
   ========================================================= */

.account-preference-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    min-height: 44px;
    gap: 18px;
    border-bottom: 1px solid rgba(34, 54, 74, 0.62);
}

    .account-preference-row:last-of-type {
        border-bottom: 0;
    }

    .account-preference-row > label {
        color: #dce5ec;
        font-size: 12px;
        font-weight: 650;
    }

.account-select {
    position: relative;
    display: block;
}

    .account-select select {
        width: 100%;
        height: 34px;
        padding: 0 38px 0 12px;
        border: 1px solid var(--panel-border);
        border-radius: 5px;
        outline: none;
        appearance: none;
        background: #07121e;
        color: #edf3f7;
        font: inherit;
        font-size: 11px;
        cursor: pointer;
    }

        .account-select select:focus {
            border-color: var(--brand-blue);
        }

    .account-select i {
        position: absolute;
        top: 50%;
        right: 13px;
        color: #afbdc8;
        font-size: 9px;
        transform: translateY(-50%);
        pointer-events: none;
    }

.account-readonly-field {
    position: relative;
    display: block;
}

    .account-readonly-field input {
        padding-right: 38px;
        border-color: rgba(34, 54, 74, 0.7);
        background: rgba(6, 15, 25, 0.72);
        color: #8fa0ae;
        cursor: not-allowed;
    }

    .account-readonly-field i {
        position: absolute;
        top: 50%;
        right: 13px;
        color: #718492;
        font-size: 10px;
        transform: translateY(-50%);
    }

.account-group-note {
    margin: 9px 0 0;
    color: #8fa0ae;
    font-size: 10px;
}

    .account-group-note i {
        margin-right: 6px;
        color: #4d9ee9;
    }


/* =========================================================
   ACCOUNT ACTIONS
   ========================================================= */

.account-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.account-discard-button,
.account-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    gap: 9px;
    padding: 0 22px;
    border-radius: 6px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.account-discard-button {
    min-width: 215px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
}

    .account-discard-button:hover {
        background: rgba(255, 189, 25, 0.08);
    }

.account-save-button {
    min-width: 285px;
    border: 1px solid var(--accent);
    background: linear-gradient( 180deg, #ffc42a, #eba400 );
    color: #11161b;
    box-shadow: 0 7px 22px rgba(255, 174, 0, 0.14);
}

    .account-save-button:hover {
        box-shadow: 0 8px 28px rgba(255, 174, 0, 0.27);
    }


/* =========================================================
   ACCOUNT SIDEBAR
   ========================================================= */

.account-sidebar {
    min-width: 0;
    gap: 16px;
}

    .account-sidebar.active {
        display: grid;
    }

.account-side-card {
    overflow: hidden;
    padding: 19px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(8, 23, 37, 0.98), rgba(5, 15, 25, 0.98) );
}

    .account-side-card h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 18px;
        color: #58a8f5;
        font-size: 17px;
    }

        .account-side-card h2 i {
            color: #4a9ef0;
        }


/* =========================================================
   ACCOUNT PROFILE PREVIEW
   ========================================================= */

.account-preview-driver {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 16px;
}

.account-preview-avatar {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: #07111c;
}

    .account-preview-avatar img,
    .account-preview-avatar span {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .account-preview-avatar span {
        display: grid;
        place-items: center;
        color: #ffc12a;
        font-size: 18px;
        font-weight: 900;
        letter-spacing: 0.04em;
    }

.account-preview-driver > div:last-child {
    display: grid;
    gap: 5px;
}

.account-preview-driver strong {
    color: #ffffff;
    font-size: 18px;
}

.account-preview-driver span {
    width: max-content;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(166, 93, 247, 0.2);
    color: #c67aff;
    font-size: 10px;
}

.account-preview-driver small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #55d77b;
    font-size: 10px;
}

    .account-preview-driver small i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #45da6e;
    }

.account-preview-details {
    display: grid;
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid rgba(34, 54, 74, 0.75);
}

    .account-preview-details div {
        display: flex;
        align-items: center;
        gap: 11px;
        color: #d6e0e8;
        font-size: 12px;
    }

    .account-preview-details i {
        width: 18px;
        color: #b5c4d0;
        text-align: center;
    }

.account-side-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    gap: 9px;
    border: 1px solid var(--brand-blue);
    border-radius: 5px;
    color: #59abf9;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

    .account-side-button:hover {
        background: var(--brand-blue);
        color: #ffffff;
    }


/* =========================================================
   PROFILE COMPLETION
   ========================================================= */

.account-completion-layout {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
}

.account-completion-ring {
    position: relative;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient( #55cc63 0 85%, #263643 85% 100% );
}

    .account-completion-ring::after {
        position: absolute;
        inset: 9px;
        border-radius: 50%;
        background: #071421;
        content: "";
    }

    .account-completion-ring strong {
        position: relative;
        z-index: 1;
        color: #ffffff;
        font-size: 21px;
    }

.account-completion-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .account-completion-list li {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #aab8c4;
        font-size: 10px;
    }

        .account-completion-list li.complete {
            color: #dfe7ed;
        }

            .account-completion-list li.complete i {
                color: #55cc63;
            }

        .account-completion-list li:not(.complete) i {
            color: #778998;
        }


/* =========================================================
   ACCOUNT HELP
   ========================================================= */

.account-help-card p {
    margin: 0 0 15px;
    color: #b9c6cf;
    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   ACCOUNT RESPONSIVE LAYOUT
   ========================================================= */

@media (max-width: 1280px) {

    .account-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {

    .account-sidebar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .account-profile-layout {
        grid-template-columns: 1fr;
    }

    .account-preference-row {
        grid-template-columns: 1fr;
        padding: 9px 0;
    }

    .account-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account-discard-button,
    .account-save-button {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================
   SECURITY SIDEBAR
========================================= */

.security-sidebar {
    align-content: start;
    gap: 16px;
}

    .security-sidebar.active {
        display: grid;
    }

.security-score-card,
.security-alerts-card,
.emergency-security-card {
    padding: 20px;
    border: 1px solid #21394d;
    border-radius: 12px;
    background: #071725;
}

.security-score-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.security-score-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: #2f9cff;
    background: rgba(47, 156, 255, 0.14);
    font-size: 23px;
}

.security-score-header > div {
    display: grid;
    grid-template-columns: 1fr auto;
    flex: 1;
    gap: 2px 12px;
}

.security-score-label {
    grid-column: 1 / -1;
    color: #8eb8dc;
    font-size: 13px;
}

.security-score-header strong {
    color: #ffffff;
    font-size: 25px;
}

.security-strength {
    align-self: center;
    color: #2ee66b;
    font-size: 13px;
    font-weight: 700;
}

.security-score-bar {
    height: 7px;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #142b3d;
}

    .security-score-bar span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #2098ff, #2ee66b);
    }

.security-checklist {
    display: grid;
    gap: 13px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

    .security-checklist li {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #c5d8e8;
        font-size: 13px;
    }

    .security-checklist .complete i {
        color: #2ee66b;
    }

    .security-checklist .recommended i {
        color: #ffb800;
    }

.security-primary-button,
.secure-account-button {
    width: 100%;
    min-height: 42px;
    border-radius: 7px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.security-primary-button {
    border: 1px solid #168de2;
    color: #3ba8ff;
    background: rgba(22, 141, 226, 0.08);
}

    .security-primary-button:hover {
        color: #ffffff;
        background: #168de2;
    }

.security-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3ba8ff;
}

    .security-sidebar-title i {
        font-size: 18px;
    }

    .security-sidebar-title h3 {
        margin: 0;
        font-size: 17px;
    }

.security-alerts-card > p,
.emergency-security-card > p {
    margin: 10px 0 17px;
    color: #9eb5c8;
    font-size: 13px;
    line-height: 1.55;
}

.security-alert-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #1a3346;
}

    .security-alert-row > div {
        display: grid;
        gap: 3px;
    }

    .security-alert-row strong {
        color: #ffffff;
        font-size: 13px;
    }

    .security-alert-row span {
        color: #86a2b9;
        font-size: 11px;
    }

.security-sidebar-title.emergency {
    color: #ff606a;
}

.emergency-security-card {
    border-color: rgba(255, 73, 85, 0.45);
    background: rgba(72, 12, 20, 0.22);
}

.secure-account-button {
    border: 1px solid #ff4a57;
    color: #ff727b;
    background: rgba(255, 74, 87, 0.08);
}

    .secure-account-button:hover {
        color: #ffffff;
        background: #d93643;
    }


/* =========================================================
   SECURITY CENTER PANEL
   ========================================================= */

.security-panel {
    min-width: 0;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(85, 204, 99, 0.75);
    border-radius: 8px;
    background: linear-gradient( 90deg, rgba(85, 204, 99, 0.11), rgba(7, 17, 28, 0.65) );
}

.security-status-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 52px;
    place-items: center;
    clip-path: polygon( 50% 0, 90% 16%, 90% 65%, 50% 100%, 10% 65%, 10% 16% );
    background: var(--green);
    color: #08150d;
    font-size: 23px;
}

.security-status > div:last-child {
    display: grid;
    gap: 4px;
}

.security-status strong {
    color: #57da6b;
    font-size: 17px;
}

.security-status span {
    color: #ccd6df;
    font-size: 13px;
}


/* SECURITY GROUP BOXES */

.security-group {
    min-width: 0;
    margin: 12px 0 22px;
    padding: 10px 14px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(4, 13, 22, 0.52);
}

    .security-group legend {
        padding: 0 5px 10px;
        color: #58a8f5;
        font-size: 14px;
        font-weight: 700;
    }

        .security-group legend span {
            color: #58a8f5;
        }


/* PASSWORD */

.security-password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0 14px;
}

    .security-password-row > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .security-password-row span {
        color: #9fb2c1;
        font-size: 12px;
    }

    .security-password-row strong {
        color: #ffffff;
        font-size: 14px;
    }

.security-outline-button,
.security-small-button,
.security-signout-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid #168de2;
    border-radius: 6px;
    background: rgba(22, 141, 226, 0.06);
    color: #55abf8;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

    .security-outline-button:hover,
    .security-small-button:hover,
    .security-signout-all:hover {
        background: #168de2;
        color: #ffffff;
    }

.security-note {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #8fa9bd;
    font-size: 11px;
    line-height: 1.55;
}

    .security-note i {
        margin-right: 6px;
        color: #58a8f5;
    }


/* TWO-FACTOR AUTHENTICATION */

.security-two-factor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0 16px;
}

.security-two-factor-status {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 3px 10px;
}

    .security-two-factor-status > i {
        grid-row: 1 / 3;
        display: grid;
        width: 32px;
        height: 36px;
        place-items: center;
        color: #ffb800;
        font-size: 20px;
    }

    .security-two-factor-status > span {
        color: #ffbf24;
        font-size: 14px;
        font-weight: 700;
    }

    .security-two-factor-status p {
        margin: 0;
        color: #9db1c1;
        font-size: 11px;
    }

.security-panel .security-primary-button {
    width: auto;
    min-width: 250px;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--accent);
    color: #161b20;
    background: linear-gradient(180deg, #ffc42a, #eba400);
}

    .security-panel .security-primary-button:hover {
        color: #161b20;
        background: #ffc42a;
    }

.security-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

    .security-methods article {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        min-width: 0;
        gap: 12px;
        padding: 13px;
        border: 1px solid rgba(34, 54, 74, 0.85);
        border-radius: 7px;
        background: rgba(10, 27, 42, 0.75);
    }

        .security-methods article > i {
            display: grid;
            width: 40px;
            height: 40px;
            place-items: center;
            border-radius: 50%;
            color: #4da8fa;
            background: rgba(30, 115, 190, 0.18);
            font-size: 18px;
        }

        .security-methods article > div {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 3px 7px;
        }

    .security-methods strong {
        color: #ffffff;
        font-size: 12px;
    }

    .security-methods small {
        grid-column: 1 / -1;
        color: #8fa8ba;
        font-size: 10px;
    }

    .security-methods .recommended,
    .security-methods .easiest,
    .security-methods .most-secure,
    .security-methods .backup {
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 8px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .security-methods .recommended {
        color: #46dd76;
        background: rgba(70, 221, 118, 0.14);
    }

    .security-methods .easiest {
        color: #4da8fa;
        background: rgba(77, 168, 250, 0.14);
    }

    .security-methods .most-secure {
        color: #c37aff;
        background: rgba(195, 122, 255, 0.14);
    }

    .security-methods .backup {
        color: #ffbd24;
        background: rgba(255, 189, 36, 0.14);
    }


/* ACTIVE SESSIONS */

.security-session-table {
    overflow: hidden;
    margin: 8px 0 14px;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
}

.security-session-header,
.security-session-row {
    display: grid;
    grid-template-columns: minmax(145px, 1.2fr) minmax(70px, 0.6fr) minmax(155px, 1.2fr) minmax(110px, 0.9fr) minmax(80px, 0.65fr);
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
}

.security-session-header {
    color: #7fa2bd;
    background: rgba(16, 38, 56, 0.82);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.security-session-row {
    border-top: 1px solid rgba(34, 54, 74, 0.65);
    color: #c8d5df;
    font-size: 10px;
}

.security-device {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .security-device > i {
        color: #4ba7f8;
        font-size: 17px;
    }

    .security-device > span {
        display: grid;
        gap: 2px;
    }

    .security-device strong {
        color: #ffffff;
        font-size: 11px;
    }

    .security-device small {
        color: #819bad;
        font-size: 9px;
    }

.security-current-session {
    width: max-content;
    padding: 4px 7px;
    border-radius: 4px;
    color: #48df75;
    background: rgba(72, 223, 117, 0.12);
    font-weight: 700;
}

.security-small-button {
    min-height: 30px;
    padding: 0 11px;
}

.security-signout-all {
    gap: 8px;
}


/* RECENT SIGN-IN ACTIVITY */

.security-activity-list {
    display: grid;
    margin: 8px 0 14px;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
}

    .security-activity-list > div {
        display: grid;
        grid-template-columns: 22px minmax(170px, 1fr) minmax(100px, 0.7fr) auto;
        align-items: center;
        gap: 10px;
        padding: 12px 13px;
        border-bottom: 1px solid rgba(34, 54, 74, 0.65);
    }

        .security-activity-list > div:last-child {
            border-bottom: 0;
        }

    .security-activity-list i {
        font-size: 14px;
    }

    .security-activity-list .successful {
        color: #48df75;
    }

    .security-activity-list .blocked {
        color: #ff5964;
    }

    .security-activity-list strong {
        color: #ffffff;
        font-size: 11px;
    }

    .security-activity-list span,
    .security-activity-list time {
        color: #91a8ba;
        font-size: 10px;
    }

    .security-activity-list time {
        text-align: right;
    }

.security-activity-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

    .security-activity-footer a {
        color: #4da8fa;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
    }

    .security-activity-footer span {
        color: #8298a9;
        font-size: 9px;
        font-style: italic;
    }

    .security-activity-footer i {
        margin-right: 5px;
        color: #4da8fa;
    }


/* SECURITY RESPONSIVE LAYOUT */

@media (max-width: 1280px) {
    .security-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .security-sidebar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .security-methods {
        grid-template-columns: 1fr;
    }

    .security-two-factor-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .security-panel .security-primary-button {
        width: 100%;
    }

    .security-session-table {
        overflow-x: auto;
    }

    .security-session-header,
    .security-session-row {
        min-width: 720px;
    }
}

@media (max-width: 700px) {
    .security-password-row,
    .security-activity-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .security-activity-list > div {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .security-activity-list span,
    .security-activity-list time {
        grid-column: 2;
        text-align: left;
    }
}


/* =========================================================
   NOTIFICATIONS CENTER PANEL
   ========================================================= */

.notifications-panel {
    min-width: 0;
}

.notification-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(47, 156, 255, 0.75);
    border-radius: 8px;
    background: linear-gradient( 90deg, rgba(47, 156, 255, 0.12), rgba(7, 17, 28, 0.65) );
}

.notification-status-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 52px;
    place-items: center;
    clip-path: polygon( 50% 0, 90% 16%, 90% 65%, 50% 100%, 10% 65%, 10% 16% );
    background: #2f9cff;
    color: #05121d;
    font-size: 23px;
}

.notification-status > div:last-child {
    display: grid;
    gap: 4px;
}

.notification-status strong {
    color: #57adff;
    font-size: 17px;
}

.notification-status span {
    color: #ccd6df;
    font-size: 13px;
}


/* NOTIFICATION GROUPS */

.notification-group {
    min-width: 0;
    margin: 12px 0 22px;
    padding: 10px 14px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(4, 13, 22, 0.52);
}

    .notification-group legend {
        padding: 0 5px 10px;
        color: #58a8f5;
        font-size: 14px;
        font-weight: 700;
    }

        .notification-group legend span {
            color: #58a8f5;
        }


/* DELIVERY METHODS */

.notification-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 7px 0 14px;
}

.notification-method-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    gap: 11px;
    padding: 14px;
    border: 1px solid rgba(34, 54, 74, 0.85);
    border-radius: 7px;
    background: rgba(10, 27, 42, 0.75);
}

    .notification-method-card > i {
        display: grid;
        width: 40px;
        height: 40px;
        place-items: center;
        border-radius: 50%;
        color: #4da8fa;
        background: rgba(30, 115, 190, 0.18);
        font-size: 18px;
    }

    .notification-method-card > div {
        display: grid;
        gap: 4px;
    }

    .notification-method-card strong {
        color: #ffffff;
        font-size: 12px;
    }

    .notification-method-card small {
        color: #8fa8ba;
        font-size: 9px;
        line-height: 1.45;
    }

    .notification-method-card > .toggle-switch,
    .notification-method-card > .notification-required {
        grid-column: 1 / -1;
        justify-self: end;
    }

.notification-required {
    padding: 4px 8px;
    border-radius: 4px;
    color: #49df77;
    background: rgba(73, 223, 119, 0.12);
    font-size: 9px;
    font-weight: 700;
}

.notification-note {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #8fa9bd;
    font-size: 10px;
    line-height: 1.55;
}

    .notification-note i {
        margin-right: 6px;
        color: #58a8f5;
    }


/* NOTIFICATION PREFERENCE TABLE */

.notification-table {
    overflow: hidden;
    margin: 7px 0 0;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
}

.notification-table-header,
.notification-row {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 90px 90px minmax(135px, 160px);
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
}

.notification-table-header {
    color: #7fa2bd;
    background: rgba(16, 38, 56, 0.82);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

    .notification-table-header span:first-child {
        text-align: left;
    }

.notification-row {
    min-height: 62px;
    border-top: 1px solid rgba(34, 54, 74, 0.65);
}

    .notification-row > div:first-child {
        display: grid;
        grid-template-columns: 35px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
    }

        .notification-row > div:first-child > i {
            display: grid;
            width: 34px;
            height: 34px;
            place-items: center;
            border-radius: 50%;
            font-size: 14px;
        }

        .notification-row > div:first-child > span {
            display: grid;
            gap: 3px;
        }

    .notification-row strong {
        color: #ffffff;
        font-size: 11px;
    }

    .notification-row small {
        color: #879fb1;
        font-size: 9px;
    }

    .notification-row > .toggle-switch {
        justify-self: center;
    }

    .notification-row i.security {
        color: #ff626c;
        background: rgba(255, 98, 108, 0.13);
    }

    .notification-row i.caps {
        color: #46df77;
        background: rgba(70, 223, 119, 0.13);
    }

    .notification-row i.trips {
        color: #ffbd1f;
        background: rgba(255, 189, 31, 0.13);
    }

    .notification-row i.achievements {
        color: #bd67ff;
        background: rgba(189, 103, 255, 0.13);
    }

    .notification-row i.community {
        color: #42cbdc;
        background: rgba(66, 203, 220, 0.13);
    }

    .notification-row i.support {
        color: #3da5ff;
        background: rgba(61, 165, 255, 0.13);
    }

    .notification-row i.announcements {
        color: #ff9c35;
        background: rgba(255, 156, 53, 0.13);
    }

.notification-locked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #49df77;
    font-size: 9px;
    font-weight: 700;
}

    .notification-locked i {
        font-size: 8px;
    }


/* QUIET HOURS */

.quiet-hours-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 0 15px;
}

    .quiet-hours-heading > div {
        display: grid;
        gap: 4px;
    }

    .quiet-hours-heading strong {
        color: #ffffff;
        font-size: 12px;
    }

    .quiet-hours-heading small {
        color: #8fa8ba;
        font-size: 10px;
    }

.quiet-hours-controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1.5fr;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
    background: rgba(10, 27, 42, 0.62);
}

    .quiet-hours-controls label {
        display: grid;
        gap: 6px;
    }

        .quiet-hours-controls label > span {
            color: #91a9bb;
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
        }

    .quiet-hours-controls input,
    .quiet-hours-controls select {
        width: 100%;
        height: 37px;
        padding: 0 11px;
        border: 1px solid #29465e;
        border-radius: 5px;
        outline: none;
        background: #07121e;
        color: #edf3f7;
        font: inherit;
        font-size: 11px;
    }

        .quiet-hours-controls input:focus,
        .quiet-hours-controls select:focus {
            border-color: #2f9cff;
        }

.quiet-hours-divider {
    padding-bottom: 10px;
    color: #7690a4;
    font-size: 10px;
}


/* NOTIFICATION ACTIONS */

.notification-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.notification-reset-button,
.notification-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 22px;
    border-radius: 6px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.notification-reset-button {
    min-width: 210px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
}

    .notification-reset-button:hover {
        background: rgba(255, 189, 25, 0.08);
    }

.notification-save-button {
    min-width: 285px;
    gap: 9px;
    border: 1px solid var(--accent);
    background: linear-gradient(180deg, #ffc42a, #eba400);
    color: #11161b;
    box-shadow: 0 7px 22px rgba(255, 174, 0, 0.14);
}

    .notification-save-button:hover {
        box-shadow: 0 8px 28px rgba(255, 174, 0, 0.27);
    }


/* =========================================================
   NOTIFICATIONS SIDEBAR
   ========================================================= */

.notifications-sidebar {
    min-width: 0;
    align-content: start;
    gap: 16px;
}

    .notifications-sidebar.active {
        display: grid;
    }

.notification-side-card {
    overflow: hidden;
    padding: 19px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(8, 23, 37, 0.98), rgba(5, 15, 25, 0.98) );
}

.notification-side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #58a8f5;
}

    .notification-side-title i {
        font-size: 18px;
    }

    .notification-side-title h3 {
        margin: 0;
        font-size: 17px;
    }

.notification-summary-number {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 0;
}

    .notification-summary-number strong {
        color: #ffffff;
        font-size: 36px;
        line-height: 1;
    }

    .notification-summary-number span {
        max-width: 145px;
        color: #9bb0c0;
        font-size: 11px;
        line-height: 1.4;
    }

.notification-summary-list {
    display: grid;
    border-top: 1px solid rgba(34, 54, 74, 0.75);
}

    .notification-summary-list > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 0;
        border-bottom: 1px solid rgba(34, 54, 74, 0.58);
    }

        .notification-summary-list > div:last-child {
            border-bottom: 0;
        }

    .notification-summary-list span {
        color: #9fb2c1;
        font-size: 10px;
    }

    .notification-summary-list strong {
        color: #ffffff;
        font-size: 10px;
        text-align: right;
    }

        .notification-summary-list strong.enabled {
            color: #49df77;
        }

        .notification-summary-list strong.quiet {
            color: #ffbd24;
        }

.notification-health-card {
    display: grid;
    gap: 0;
}

.notification-health-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 10px;
    align-items: center;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(34, 54, 74, 0.58);
}

    .notification-health-row:last-child {
        border-bottom: 0;
    }

    .notification-health-row > i {
        color: #52aaf9;
        font-size: 16px;
        text-align: center;
    }

    .notification-health-row > div {
        display: grid;
        gap: 3px;
    }

    .notification-health-row strong {
        color: #ffffff;
        font-size: 11px;
    }

    .notification-health-row span {
        color: #89a2b5;
        font-size: 9px;
    }

.notification-health-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

    .notification-health-dot.online {
        background: #49df77;
        box-shadow: 0 0 8px rgba(73, 223, 119, 0.7);
    }

.notification-important-card {
    border-color: rgba(255, 189, 25, 0.5);
    background: linear-gradient( 145deg, rgba(39, 31, 8, 0.48), rgba(5, 15, 25, 0.98) );
}

    .notification-important-card .notification-side-title {
        color: var(--accent);
    }

.notification-privacy-card .notification-side-title {
    color: #bd71ff;
}

.notification-important-card p,
.notification-privacy-card p {
    margin: 12px 0 17px;
    color: #a8bac8;
    font-size: 11px;
    line-height: 1.55;
}

.notification-side-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #168de2;
    border-radius: 5px;
    background: rgba(22, 141, 226, 0.05);
    color: #55abf8;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

    .notification-side-button:hover {
        background: #168de2;
        color: #ffffff;
    }


/* NOTIFICATIONS RESPONSIVE LAYOUT */

@media (max-width: 1280px) {
    .notifications-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }

    .notification-method-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .notifications-sidebar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .notification-table {
        overflow-x: auto;
    }

    .notification-table-header,
    .notification-row {
        min-width: 690px;
    }
}

@media (max-width: 700px) {
    .quiet-hours-controls {
        grid-template-columns: 1fr;
    }

    .quiet-hours-divider {
        display: none;
    }

    .notification-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .notification-reset-button,
    .notification-save-button {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   CLIENT & CAPS CENTER PANEL
   ========================================================= */

.client-panel {
    min-width: 0;
}

.client-status {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(72, 223, 117, 0.72);
    border-radius: 8px;
    background: linear-gradient( 90deg, rgba(72, 223, 117, 0.11), rgba(7, 17, 28, 0.65) );
}

.client-status-icon {
    display: grid;
    width: 48px;
    height: 52px;
    place-items: center;
    clip-path: polygon( 50% 0, 90% 16%, 90% 65%, 50% 100%, 10% 65%, 10% 16% );
    background: #49df77;
    color: #06150c;
    font-size: 22px;
}

.client-status > div:nth-child(2) {
    display: grid;
    gap: 4px;
}

.client-status strong {
    color: #55df7d;
    font-size: 17px;
}

.client-status span {
    color: #cbd7df;
    font-size: 12px;
}

.client-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #55df7d !important;
    background: rgba(72, 223, 117, 0.12);
    font-size: 10px !important;
    font-weight: 700;
}

    .client-live-indicator i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #49df77;
        box-shadow: 0 0 8px rgba(73, 223, 119, 0.8);
    }


/* CLIENT GROUPS */

.client-group {
    min-width: 0;
    margin: 12px 0 22px;
    padding: 10px 14px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(4, 13, 22, 0.52);
}

    .client-group legend {
        margin-left: 6px;
        padding: 0 8px;
        background: rgba(4, 13, 22, 0.96);
        color: #58a8f5;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.35;
    }

        .client-group legend span {
            color: #58a8f5;
        }

.client-note {
    margin: 13px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #8fa9bd;
    font-size: 10px;
    line-height: 1.55;
}

    .client-note i {
        margin-right: 6px;
        color: #58a8f5;
    }

.client-good {
    color: #49df77 !important;
}

/* SECURE DESKTOP CLIENT ACTIVATION */

.desktop-client-activation-intro {
    margin-top: 0;
    border-top: 0;
}

.desktop-client-activation-controls {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.desktop-client-activation-controls label {
    display: grid;
    flex: 1 1 260px;
    gap: 7px;
    color: #c7d7e5;
    font-size: 11px;
    font-weight: 700;
}

.desktop-client-activation-controls input,
.desktop-client-token-result input {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(38, 116, 179, 0.75);
    border-radius: 6px;
    outline: none;
    background: #06111c;
    color: #f1f7fb;
    font: inherit;
    font-size: 12px;
    padding: 0 12px;
}

.desktop-client-activation-controls input:focus,
.desktop-client-token-result input:focus {
    border-color: #58a8f5;
    box-shadow: 0 0 0 3px rgba(88, 168, 245, 0.13);
}

.desktop-client-token-result {
    display: grid;
    gap: 9px;
    margin-top: 14px;
    padding: 13px;
    border: 1px solid rgba(255, 189, 36, 0.72);
    border-radius: 7px;
    background: rgba(255, 189, 36, 0.07);
}

.desktop-client-token-result strong {
    color: #ffca3d;
    font-size: 12px;
}

.desktop-client-token-row {
    display: flex;
    gap: 9px;
}

.desktop-client-token-row input {
    flex: 1 1 auto;
    min-width: 0;
    color: #ffffff;
    font-family: Consolas, "Courier New", monospace;
}

.desktop-client-copy-button,
.desktop-client-revoke-button {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 0 13px;
    border-radius: 6px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.desktop-client-copy-button {
    border: 1px solid #168de2;
    background: rgba(22, 141, 226, 0.08);
    color: #63b5ff;
}

.desktop-client-copy-button:hover {
    background: #168de2;
    color: #ffffff;
}

.desktop-client-device-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.desktop-client-device-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(34, 54, 74, 0.85);
    border-radius: 7px;
    background: rgba(10, 27, 42, 0.72);
}

.desktop-client-device-row > div {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.desktop-client-device-row strong {
    color: #edf6fb;
    font-size: 12px;
}

.desktop-client-device-row span,
.desktop-client-device-empty {
    color: #8fa9bd;
    font-size: 10px;
}

.desktop-client-revoke-button {
    border: 1px solid #ff5964;
    background: rgba(255, 89, 100, 0.06);
    color: #ff7780;
}

.desktop-client-revoke-button:hover {
    background: #d83945;
    color: #ffffff;
}

@media (max-width: 620px) {
    .desktop-client-activation-controls,
    .desktop-client-device-row,
    .desktop-client-token-row {
        align-items: stretch;
        flex-direction: column;
    }
}


/* CONNECTED CLIENT */

.client-device-card {
    overflow: hidden;
    margin: 7px 0 14px;
    border: 1px solid rgba(34, 54, 74, 0.85);
    border-radius: 8px;
    background: rgba(10, 27, 42, 0.72);
}

.client-device-heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border-bottom: 1px solid rgba(34, 54, 74, 0.68);
}

.client-device-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #4da8fa;
    background: rgba(30, 115, 190, 0.18);
    font-size: 19px;
}

.client-device-heading > div:nth-child(2) {
    display: grid;
    gap: 4px;
}

.client-device-heading strong {
    color: #ffffff;
    font-size: 14px;
}

.client-device-heading span {
    color: #8fa7b9;
    font-size: 10px;
}

.client-connected-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 4px;
    color: #49df77 !important;
    background: rgba(73, 223, 119, 0.12);
    font-size: 9px !important;
    font-weight: 700;
}

.client-device-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    .client-device-details > div {
        display: grid;
        gap: 5px;
        padding: 13px 15px;
        border-right: 1px solid rgba(34, 54, 74, 0.62);
    }

        .client-device-details > div:last-child {
            border-right: 0;
        }

    .client-device-details span {
        color: #829cad;
        font-size: 9px;
    }

    .client-device-details strong {
        color: #ffffff;
        font-size: 11px;
    }

.client-button-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.client-outline-button,
.client-revoke-button,
.client-primary-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 6px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.client-outline-button {
    border: 1px solid #168de2;
    background: rgba(22, 141, 226, 0.05);
    color: #55abf8;
}

    .client-outline-button:hover {
        background: #168de2;
        color: #ffffff;
    }

.client-revoke-button {
    border: 1px solid #ff5964;
    background: rgba(255, 89, 100, 0.06);
    color: #ff6c76;
}

    .client-revoke-button:hover {
        background: #d83945;
        color: #ffffff;
    }


/* ATS GAME STATUS */

.client-game-status {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 12px 0 15px;
}

.client-game-logo {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #ffbd24;
    background: rgba(255, 189, 36, 0.14);
    font-size: 19px;
}

.client-game-information {
    display: grid;
    gap: 4px;
}

    .client-game-information strong {
        color: #ffffff;
        font-size: 13px;
    }

    .client-game-information span {
        color: #8da6b8;
        font-size: 10px;
    }

.client-game-running {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #49df77;
    font-size: 10px;
    font-weight: 700;
}

    .client-game-running i {
        font-size: 7px;
        text-shadow: 0 0 7px rgba(73, 223, 119, 0.8);
    }

.client-status-table {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
}

    .client-status-table > div {
        display: grid;
        gap: 5px;
        padding: 13px;
        border-right: 1px solid rgba(34, 54, 74, 0.62);
    }

        .client-status-table > div:last-child {
            border-right: 0;
        }

    .client-status-table span {
        color: #829cad;
        font-size: 9px;
    }

    .client-status-table strong {
        color: #ffffff;
        font-size: 11px;
    }


/* CAPS TELEMETRY */

.caps-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 7px 0 14px;
}

    .caps-status-grid article {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        padding: 12px;
        border: 1px solid rgba(34, 54, 74, 0.82);
        border-radius: 7px;
        background: rgba(10, 27, 42, 0.7);
    }

        .caps-status-grid article > i {
            display: grid;
            width: 34px;
            height: 34px;
            place-items: center;
            border-radius: 50%;
            color: #47a7fb;
            background: rgba(30, 115, 190, 0.18);
            font-size: 14px;
        }

        .caps-status-grid article > div {
            display: grid;
            gap: 4px;
        }

    .caps-status-grid span {
        color: #86a0b3;
        font-size: 9px;
    }

    .caps-status-grid strong {
        font-size: 10px;
    }

.caps-last-update {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    border: 1px solid rgba(73, 223, 119, 0.25);
    border-radius: 6px;
    background: rgba(73, 223, 119, 0.06);
}

    .caps-last-update span {
        color: #a5b8c6;
        font-size: 10px;
    }

    .caps-last-update i {
        margin-right: 7px;
        color: #49df77;
    }

    .caps-last-update strong {
        color: #49df77;
        font-size: 10px;
    }


/* LOCAL CLIENT SETTINGS */

.local-settings-notice {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 13px 0 15px;
}

    .local-settings-notice > i {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border-radius: 50%;
        color: #4da8fa;
        background: rgba(30, 115, 190, 0.18);
        font-size: 20px;
    }

    .local-settings-notice > div {
        display: grid;
        gap: 5px;
    }

    .local-settings-notice strong {
        color: #ffffff;
        font-size: 12px;
    }

    .local-settings-notice p {
        margin: 0;
        color: #90a7b8;
        font-size: 10px;
        line-height: 1.5;
    }

.local-settings-list {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
}

    .local-settings-list > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 11px 13px;
        border-bottom: 1px solid rgba(34, 54, 74, 0.62);
    }

        .local-settings-list > div:last-child {
            border-bottom: 0;
        }

    .local-settings-list span {
        color: #d3dde5;
        font-size: 10px;
    }

    .local-settings-list strong {
        color: #49df77;
        font-size: 9px;
    }

.client-primary-button {
    width: 100%;
    border: 1px solid var(--accent);
    background: linear-gradient(180deg, #ffc42a, #eba400);
    color: #10161b;
}

    .client-primary-button:hover {
        box-shadow: 0 7px 22px rgba(255, 174, 0, 0.24);
    }


/* =========================================================
   CLIENT & CAPS SIDEBAR
   ========================================================= */

.client-sidebar {
    min-width: 0;
    align-content: start;
    gap: 16px;
}

    .client-sidebar.active {
        display: grid;
    }

.client-side-card {
    overflow: hidden;
    padding: 19px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(8, 23, 37, 0.98), rgba(5, 15, 25, 0.98) );
}

.client-side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #58a8f5;
}

    .client-side-title i {
        font-size: 18px;
    }

    .client-side-title h3 {
        margin: 0;
        font-size: 17px;
    }

.client-connection-visual {
    display: grid;
    grid-template-columns: 64px minmax(40px, 1fr) 64px;
    align-items: center;
    gap: 8px;
    padding: 18px 0;
}

.client-connection-device {
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #a9bdcb;
    font-size: 9px;
}

    .client-connection-device i {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid #2777b6;
        border-radius: 50%;
        color: #4ca9fa;
        background: rgba(30, 115, 190, 0.14);
        font-size: 17px;
    }

    .client-connection-device.caps i {
        border-color: #30a75a;
        color: #49df77;
        background: rgba(73, 223, 119, 0.12);
    }

.client-connection-line {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, #2f9cff, #49df77);
}

    .client-connection-line span {
        position: absolute;
        top: 50%;
        right: 10%;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #49df77;
        box-shadow: 0 0 8px rgba(73, 223, 119, 0.9);
        transform: translateY(-50%);
    }

.client-connection-summary {
    display: grid;
    border-top: 1px solid rgba(34, 54, 74, 0.72);
}

    .client-connection-summary > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(34, 54, 74, 0.55);
    }

        .client-connection-summary > div:last-child {
            border-bottom: 0;
        }

    .client-connection-summary span {
        color: #91a8b9;
        font-size: 10px;
    }

    .client-connection-summary strong {
        color: #ffffff;
        font-size: 10px;
    }

.client-version-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 17px 0;
}

    .client-version-number > div {
        display: grid;
        gap: 4px;
    }

    .client-version-number span {
        color: #8fa8ba;
        font-size: 9px;
    }

    .client-version-number strong {
        color: #ffffff;
        font-size: 22px;
    }

.client-version-current {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 4px;
    color: #49df77 !important;
    background: rgba(73, 223, 119, 0.12);
    font-weight: 700;
}

.client-side-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #168de2;
    border-radius: 5px;
    background: rgba(22, 141, 226, 0.05);
    color: #55abf8;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

    .client-side-button:hover {
        background: #168de2;
        color: #ffffff;
    }

.client-side-text-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    color: var(--accent);
    font-size: 9px;
    text-decoration: none;
}

.client-privacy-list {
    display: grid;
    gap: 11px;
    margin: 15px 0 18px;
    padding: 0;
    list-style: none;
}

    .client-privacy-list li {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #b8c8d3;
        font-size: 10px;
    }

    .client-privacy-list i {
        color: #49df77;
    }

.client-help-card p {
    margin: 12px 0 15px;
    color: #9fb3c1;
    font-size: 10px;
    line-height: 1.55;
}

.client-help-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 39px;
    gap: 10px;
    padding: 0 10px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #bcd0df;
    font-size: 10px;
    text-decoration: none;
}

    .client-help-link span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .client-help-link i {
        color: #4ca9fa;
    }

    .client-help-link:hover {
        color: #ffffff;
    }


/* CLIENT RESPONSIVE LAYOUT */

@media (max-width: 1280px) {
    .client-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }

    .caps-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .client-sidebar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .client-device-details,
    .client-status-table {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .client-device-details > div:nth-child(2),
        .client-status-table > div:nth-child(2) {
            border-right: 0;
        }
}

@media (max-width: 700px) {
    .client-status,
    .client-device-heading,
    .client-game-status {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .client-live-indicator,
    .client-connected-badge,
    .client-game-running {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .client-button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .client-outline-button,
    .client-revoke-button {
        width: 100%;
    }

    .caps-status-grid,
    .client-device-details,
    .client-status-table {
        grid-template-columns: 1fr;
    }

        .client-device-details > div,
        .client-status-table > div {
            border-right: 0;
            border-bottom: 1px solid rgba(34, 54, 74, 0.62);
        }

            .client-device-details > div:last-child,
            .client-status-table > div:last-child {
                border-bottom: 0;
            }
}

/* =========================================================
   CONNECTED ACCOUNTS CENTER PANEL
   ========================================================= */

.connections-panel {
    min-width: 0;
}

.connections-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(47, 156, 255, 0.72);
    border-radius: 8px;
    background: linear-gradient( 90deg, rgba(47, 156, 255, 0.11), rgba(7, 17, 28, 0.65) );
}

.connections-status-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 52px;
    place-items: center;
    clip-path: polygon( 50% 0, 90% 16%, 90% 65%, 50% 100%, 10% 65%, 10% 16% );
    background: #2f9cff;
    color: #06131e;
    font-size: 22px;
}

.connections-status > div:last-child {
    display: grid;
    gap: 4px;
}

.connections-status strong {
    color: #58adfa;
    font-size: 17px;
}

.connections-status span {
    color: #cad6df;
    font-size: 12px;
}


/* CONNECTION GROUPS */

.connections-group {
    min-width: 0;
    margin: 12px 0 22px;
    padding: 10px 14px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(4, 13, 22, 0.52);
}

    .connections-group legend {
        padding: 0 5px 10px;
        color: #58a8f5;
        font-size: 14px;
        font-weight: 700;
    }

        .connections-group legend span {
            color: #58a8f5;
        }

.connections-note {
    margin: 13px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #8fa9bd;
    font-size: 10px;
    line-height: 1.55;
}

    .connections-note i {
        margin-right: 6px;
        color: #58a8f5;
    }


/* CONNECTED SERVICE CARDS */

.connected-account-card {
    display: grid;
    grid-template-columns: 52px minmax(230px, 1fr) minmax(130px, auto) 100px;
    align-items: center;
    min-width: 0;
    gap: 14px;
    margin: 7px 0 10px;
    padding: 15px;
    border: 1px solid rgba(34, 54, 74, 0.85);
    border-radius: 8px;
    background: rgba(10, 27, 42, 0.72);
}

    .connected-account-card.connected {
        border-color: rgba(73, 223, 119, 0.4);
        background: linear-gradient( 90deg, rgba(73, 223, 119, 0.07), rgba(10, 27, 42, 0.72) );
    }

.connected-service-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    font-size: 23px;
}

    .connected-service-icon.steam {
        color: #ffffff;
        background: rgba(61, 112, 153, 0.3);
    }

    .connected-service-icon.discord {
        color: #8797ff;
        background: rgba(88, 101, 242, 0.18);
    }

    .connected-service-icon.twitch {
        color: #bd71ff;
        background: rgba(145, 70, 255, 0.18);
    }

.connected-service-details {
    display: grid;
    gap: 4px;
}

    .connected-service-details strong {
        color: #ffffff;
        font-size: 13px;
    }

    .connected-service-details span {
        color: #a2b5c3;
        font-size: 10px;
        line-height: 1.45;
    }

    .connected-service-details small {
        color: #7893a7;
        font-size: 9px;
    }

.connected-service-status {
    display: grid;
    justify-items: end;
    gap: 4px;
    text-align: right;
}

    .connected-service-status > span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #49df77;
        font-size: 10px;
        font-weight: 700;
    }

    .connected-service-status small {
        color: #7893a7;
        font-size: 8px;
    }

    .connected-service-status.not-connected > span {
        color: #a0afbb;
    }

.connected-manage-button,
.connected-connect-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid #168de2;
    border-radius: 5px;
    background: rgba(22, 141, 226, 0.05);
    color: #55abf8;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

    .connected-manage-button:hover,
    .connected-connect-button:hover {
        background: #168de2;
        color: #ffffff;
    }


/* CONNECTION PERMISSIONS */

.connection-permission-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 7px;
}

    .connection-permission-list > div {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
        padding: 13px;
        border: 1px solid rgba(34, 54, 74, 0.82);
        border-radius: 7px;
        background: rgba(10, 27, 42, 0.68);
    }

        .connection-permission-list > div > i {
            display: grid;
            width: 36px;
            height: 36px;
            place-items: center;
            border-radius: 50%;
            color: #4ca8fa;
            background: rgba(30, 115, 190, 0.17);
            font-size: 15px;
        }

        .connection-permission-list > div > span {
            display: grid;
            gap: 4px;
        }

    .connection-permission-list strong {
        color: #ffffff;
        font-size: 11px;
    }

    .connection-permission-list small {
        color: #8ca4b6;
        font-size: 9px;
        line-height: 1.45;
    }


/* =========================================================
   CONNECTED ACCOUNTS SIDEBAR
   ========================================================= */

.connections-sidebar {
    min-width: 0;
    align-content: start;
    gap: 16px;
}

    .connections-sidebar.active {
        display: grid;
    }

.connections-side-card {
    overflow: hidden;
    padding: 19px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(8, 23, 37, 0.98), rgba(5, 15, 25, 0.98) );
}

.connections-side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #58a8f5;
}

    .connections-side-title i {
        font-size: 18px;
    }

    .connections-side-title h3 {
        margin: 0;
        font-size: 17px;
    }

.connections-summary-count {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 0;
}

    .connections-summary-count strong {
        color: #ffffff;
        font-size: 36px;
        line-height: 1;
    }

    .connections-summary-count span {
        max-width: 145px;
        color: #99aebe;
        font-size: 11px;
        line-height: 1.4;
    }

.connections-summary-list {
    display: grid;
    border-top: 1px solid rgba(34, 54, 74, 0.72);
}

    .connections-summary-list > div {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        padding: 11px 0;
        border-bottom: 1px solid rgba(34, 54, 74, 0.55);
    }

        .connections-summary-list > div:last-child {
            border-bottom: 0;
        }

    .connections-summary-list i {
        font-size: 15px;
        text-align: center;
    }

        .connections-summary-list i.steam {
            color: #ffffff;
        }

        .connections-summary-list i.discord {
            color: #8797ff;
        }

        .connections-summary-list i.twitch {
            color: #bd71ff;
        }

    .connections-summary-list span {
        color: #c1d0da;
        font-size: 10px;
    }

    .connections-summary-list strong {
        color: #8ca0af;
        font-size: 9px;
    }

        .connections-summary-list strong.connected {
            color: #49df77;
        }

.connections-visibility-card p,
.connections-help-card p {
    margin: 12px 0 15px;
    color: #9fb3c1;
    font-size: 10px;
    line-height: 1.55;
}

.connections-visibility-list {
    display: grid;
    margin-bottom: 16px;
    border-top: 1px solid rgba(34, 54, 74, 0.67);
}

    .connections-visibility-list > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(34, 54, 74, 0.55);
    }

    .connections-visibility-list span {
        color: #a9bbc8;
        font-size: 10px;
    }

    .connections-visibility-list strong {
        color: #ffbd24;
        font-size: 9px;
    }

.connections-side-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #168de2;
    border-radius: 5px;
    background: rgba(22, 141, 226, 0.05);
    color: #55abf8;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

    .connections-side-button:hover {
        background: #168de2;
        color: #ffffff;
    }

.connections-security-card {
    border-color: rgba(73, 223, 119, 0.35);
}

    .connections-security-card .connections-side-title {
        color: #49df77;
    }

.connections-security-list {
    display: grid;
    gap: 11px;
    margin: 15px 0 18px;
    padding: 0;
    list-style: none;
}

    .connections-security-list li {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #b8c8d3;
        font-size: 10px;
    }

    .connections-security-list i {
        color: #49df77;
    }

.connections-help-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 39px;
    gap: 10px;
    padding: 0 10px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #bcd0df;
    font-size: 10px;
    text-decoration: none;
}

    .connections-help-link span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .connections-help-link i {
        color: #4ca9fa;
    }

    .connections-help-link:hover {
        color: #ffffff;
    }


/* CONNECTED ACCOUNTS RESPONSIVE LAYOUT */

@media (max-width: 1280px) {
    .connections-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }

    .connected-account-card {
        grid-template-columns: 52px minmax(200px, 1fr) auto;
    }

        .connected-account-card > button {
            grid-column: 2 / -1;
            justify-self: end;
        }
}

@media (max-width: 980px) {
    .connections-sidebar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .connection-permission-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .connected-account-card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

        .connected-service-status,
        .connected-account-card > button {
            grid-column: 1 / -1;
            justify-self: stretch;
            justify-items: start;
            text-align: left;
        }

        .connected-account-card > button {
            width: 100%;
        }
}

/* =========================================================
   PLAN & ACCESS CENTER PANEL
   ========================================================= */

.plan-panel {
    min-width: 0;
}

.plan-status {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(189, 103, 255, 0.72);
    border-radius: 8px;
    background: linear-gradient( 90deg, rgba(189, 103, 255, 0.12), rgba(7, 17, 28, 0.65) );
}

.plan-status-icon {
    display: grid;
    width: 48px;
    height: 52px;
    place-items: center;
    clip-path: polygon( 50% 0, 90% 16%, 90% 65%, 50% 100%, 10% 65%, 10% 16% );
    background: #a85cf0;
    color: #160821;
    font-size: 22px;
}

.plan-status > div:nth-child(2) {
    display: grid;
    gap: 4px;
}

.plan-status strong {
    color: #c77bff;
    font-size: 17px;
}

.plan-status span {
    color: #cbd6df;
    font-size: 12px;
}

.plan-access-badge {
    padding: 6px 10px;
    border: 1px solid rgba(73, 223, 119, 0.42);
    border-radius: 4px;
    color: #49df77 !important;
    background: rgba(73, 223, 119, 0.1);
    font-size: 9px !important;
    font-weight: 700;
    text-align: center;
}

.plan-good {
    color: #49df77 !important;
}


/* PLAN GROUPS */

.plan-group {
    min-width: 0;
    margin: 12px 0 22px;
    padding: 10px 14px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(4, 13, 22, 0.52);
}

    .plan-group legend {
        padding: 0 5px 10px;
        color: #58a8f5;
        font-size: 14px;
        font-weight: 700;
    }

        .plan-group legend span {
            color: #58a8f5;
        }

.plan-group-introduction {
    margin: 4px 0 14px;
    color: #9eb2c1;
    font-size: 10px;
    line-height: 1.5;
}

.plan-note {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #8fa9bd;
    font-size: 10px;
    line-height: 1.55;
}

    .plan-note i {
        margin-right: 6px;
        color: var(--accent);
    }


/* CURRENT ACCESS */

.current-plan-card {
    overflow: hidden;
    margin: 7px 0 12px;
    border: 1px solid rgba(189, 103, 255, 0.38);
    border-radius: 8px;
    background: linear-gradient( 120deg, rgba(92, 38, 130, 0.19), rgba(10, 27, 42, 0.74) );
}

.current-plan-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px;
    border-bottom: 1px solid rgba(74, 56, 91, 0.65);
}

    .current-plan-heading > div:first-child,
    .current-plan-price {
        display: grid;
        gap: 4px;
    }

.current-plan-label {
    color: #b97afa;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.current-plan-heading > div:first-child > strong {
    color: #ffffff;
    font-size: 20px;
}

.current-plan-heading small {
    color: #9baebe;
    font-size: 9px;
}

.current-plan-price {
    justify-items: end;
    text-align: right;
}

    .current-plan-price strong {
        color: #49df77;
        font-size: 26px;
    }

    .current-plan-price span {
        color: #8fa4b5;
        font-size: 9px;
    }

.current-plan-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    .current-plan-details > div {
        display: grid;
        gap: 5px;
        padding: 13px 15px;
        border-right: 1px solid rgba(74, 56, 91, 0.52);
    }

        .current-plan-details > div:last-child {
            border-right: 0;
        }

    .current-plan-details span {
        color: #859dae;
        font-size: 9px;
    }

    .current-plan-details strong {
        color: #ffffff;
        font-size: 11px;
    }

.plan-transparency-notice {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid rgba(73, 223, 119, 0.28);
    border-radius: 6px;
    background: rgba(73, 223, 119, 0.06);
}

    .plan-transparency-notice > i {
        color: #49df77;
        font-size: 16px;
        text-align: center;
    }

    .plan-transparency-notice p {
        margin: 0;
        color: #a8bbc8;
        font-size: 10px;
        line-height: 1.5;
    }


/* FREE AND FUTURE FEATURES */

.plan-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

    .plan-feature-grid article {
        display: grid;
        grid-template-columns: 39px minmax(0, 1fr) auto;
        align-items: center;
        min-width: 0;
        gap: 11px;
        padding: 13px;
        border: 1px solid rgba(34, 54, 74, 0.82);
        border-radius: 7px;
        background: rgba(10, 27, 42, 0.68);
    }

        .plan-feature-grid article > i:first-child {
            display: grid;
            width: 37px;
            height: 37px;
            place-items: center;
            border-radius: 50%;
            font-size: 15px;
        }

        .plan-feature-grid article > div {
            display: grid;
            gap: 4px;
        }

    .plan-feature-grid strong {
        color: #ffffff;
        font-size: 11px;
    }

    .plan-feature-grid span {
        color: #8fa6b7;
        font-size: 9px;
        line-height: 1.4;
    }

.free-features article {
    border-color: rgba(73, 223, 119, 0.2);
}

    .free-features article > i:first-child {
        color: #49df77;
        background: rgba(73, 223, 119, 0.12);
    }

    .free-features article > i:last-child {
        color: #49df77;
        font-size: 13px;
    }

.future-features article {
    border-color: rgba(189, 103, 255, 0.25);
}

    .future-features article > i:first-child {
        color: #bd71ff;
        background: rgba(189, 103, 255, 0.13);
    }

.future-label {
    padding: 4px 7px;
    border-radius: 4px;
    color: #bd71ff !important;
    background: rgba(189, 103, 255, 0.13);
    font-size: 8px !important;
    font-weight: 700;
    text-transform: uppercase;
}


/* FUTURE BILLING */

.future-billing-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    margin-top: 7px;
    padding: 15px;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
    background: rgba(10, 27, 42, 0.68);
}

.future-billing-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #8698a7;
    background: rgba(134, 152, 167, 0.13);
    font-size: 19px;
}

.future-billing-card > div:nth-child(2) {
    display: grid;
    gap: 5px;
}

.future-billing-card strong {
    color: #ffffff;
    font-size: 12px;
}

.future-billing-card p {
    margin: 0;
    color: #90a7b8;
    font-size: 9px;
    line-height: 1.5;
}

.future-billing-card > span {
    padding: 5px 8px;
    border-radius: 4px;
    color: #9eacb7;
    background: rgba(126, 144, 158, 0.13);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   PLAN & ACCESS SIDEBAR
   ========================================================= */

.plan-sidebar {
    min-width: 0;
    align-content: start;
    gap: 16px;
}

    .plan-sidebar.active {
        display: grid;
    }

.plan-side-card {
    overflow: hidden;
    padding: 19px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(8, 23, 37, 0.98), rgba(5, 15, 25, 0.98) );
}

.plan-side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #58a8f5;
}

    .plan-side-title i {
        font-size: 18px;
    }

    .plan-side-title h3 {
        margin: 0;
        font-size: 17px;
    }

.plan-access-card {
    border-color: rgba(189, 103, 255, 0.42);
    background: linear-gradient( 145deg, rgba(47, 20, 69, 0.5), rgba(5, 15, 25, 0.98) );
}

    .plan-access-card .plan-side-title {
        color: #bd71ff;
    }

.plan-side-access {
    display: grid;
    gap: 5px;
    padding: 17px 0;
}

    .plan-side-access > span {
        color: #9c80ae;
        font-size: 9px;
        text-transform: uppercase;
    }

    .plan-side-access > strong {
        color: #ffffff;
        font-size: 20px;
    }

    .plan-side-access > div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 5px;
        padding: 7px 9px;
        border: 1px solid rgba(73, 223, 119, 0.35);
        border-radius: 5px;
        color: #49df77;
        background: rgba(73, 223, 119, 0.09);
        font-size: 9px;
        font-weight: 700;
        text-align: center;
    }

.plan-side-details {
    display: grid;
    border-top: 1px solid rgba(81, 57, 97, 0.68);
}

    .plan-side-details > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(81, 57, 97, 0.5);
    }

        .plan-side-details > div:last-child {
            border-bottom: 0;
        }

    .plan-side-details span {
        color: #9faeb9;
        font-size: 10px;
    }

    .plan-side-details strong {
        color: #ffffff;
        font-size: 10px;
    }

.plan-free-card {
    border-color: rgba(73, 223, 119, 0.34);
}

    .plan-free-card .plan-side-title {
        color: #49df77;
    }

    .plan-free-card p,
    .plan-transparency-card p,
    .plan-information-card p {
        margin: 12px 0 15px;
        color: #9fb3c1;
        font-size: 10px;
        line-height: 1.55;
    }

.plan-side-list,
.plan-protection-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .plan-side-list li,
    .plan-protection-list > div {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #b9c8d3;
        font-size: 10px;
    }

    .plan-side-list i,
    .plan-protection-list i {
        color: #49df77;
    }

.plan-transparency-card {
    border-color: rgba(255, 189, 36, 0.4);
}

    .plan-transparency-card .plan-side-title {
        color: var(--accent);
    }

.plan-side-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #168de2;
    border-radius: 5px;
    background: rgba(22, 141, 226, 0.05);
    color: #55abf8;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

    .plan-side-button:hover {
        background: #168de2;
        color: #ffffff;
    }

.plan-information-card small {
    display: block;
    margin-top: 10px;
    color: #718a9d;
    font-size: 8px;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
}


/* PLAN RESPONSIVE LAYOUT */

@media (max-width: 1280px) {
    .plan-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 980px) {
    .plan-sidebar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .plan-feature-grid,
    .current-plan-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .current-plan-details > div:nth-child(2) {
            border-right: 0;
        }
}

@media (max-width: 700px) {
    .plan-status,
    .future-billing-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

        .plan-access-badge,
        .future-billing-card > span {
            grid-column: 1 / -1;
            justify-self: start;
        }

    .current-plan-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .current-plan-price {
        justify-items: start;
        text-align: left;
    }

    .plan-feature-grid,
    .current-plan-details {
        grid-template-columns: 1fr;
    }

        .current-plan-details > div {
            border-right: 0;
            border-bottom: 1px solid rgba(74, 56, 91, 0.52);
        }

            .current-plan-details > div:last-child {
                border-bottom: 0;
            }
}


/* =========================================================
   DATA & EXPORTS CENTER PANEL
   ========================================================= */

.data-panel {
    min-width: 0;
}

.data-status {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(47, 156, 255, 0.72);
    border-radius: 8px;
    background: linear-gradient( 90deg, rgba(47, 156, 255, 0.11), rgba(7, 17, 28, 0.65) );
}

.data-status-icon {
    display: grid;
    width: 48px;
    height: 52px;
    place-items: center;
    clip-path: polygon( 50% 0, 90% 16%, 90% 65%, 50% 100%, 10% 65%, 10% 16% );
    background: #2f9cff;
    color: #06131e;
    font-size: 22px;
}

.data-status > div:nth-child(2) {
    display: grid;
    gap: 4px;
}

.data-status strong {
    color: #58adfa;
    font-size: 17px;
}

.data-status span {
    color: #cbd6df;
    font-size: 12px;
}

.data-free-badge {
    padding: 6px 10px;
    border: 1px solid rgba(73, 223, 119, 0.42);
    border-radius: 4px;
    color: #49df77 !important;
    background: rgba(73, 223, 119, 0.1);
    font-size: 9px !important;
    font-weight: 700;
    text-align: center;
}


/* DATA GROUPS */

.data-group {
    min-width: 0;
    margin: 12px 0 22px;
    padding: 10px 14px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: rgba(4, 13, 22, 0.52);
}

    .data-group legend {
        padding: 0 5px 10px;
        color: #58a8f5;
        font-size: 14px;
        font-weight: 700;
    }

        .data-group legend span {
            color: #58a8f5;
        }

.data-group-introduction {
    margin: 4px 0 14px;
    color: #9eb2c1;
    font-size: 10px;
    line-height: 1.5;
}

.data-note {
    margin: 13px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #8fa9bd;
    font-size: 10px;
    line-height: 1.55;
}

    .data-note i {
        margin-right: 6px;
        color: #58a8f5;
    }


/* EXPORT OPTIONS */

.data-export-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.data-export-option {
    display: grid;
    grid-template-columns: 22px 38px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    gap: 10px;
    padding: 13px;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
    background: rgba(10, 27, 42, 0.68);
    cursor: pointer;
}

    .data-export-option:hover {
        border-color: rgba(47, 156, 255, 0.65);
    }

    .data-export-option > input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.data-checkbox {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1px solid #456278;
    border-radius: 4px;
    color: transparent;
    background: #071522;
    font-size: 13px;
    font-weight: 900;
}

    .data-checkbox i {
        display: none;
    }

.data-export-option > input:checked + .data-checkbox {
    border-color: #2f9cff;
    color: #ffffff;
    background: #2788d5;
}

    .data-export-option > input:checked + .data-checkbox::after {
        content: "✓";
    }

.data-export-option > i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #4da8fa;
    background: rgba(30, 115, 190, 0.18);
    font-size: 15px;
}

.data-export-option > span:last-child {
    display: grid;
    gap: 4px;
}

.data-export-option strong {
    color: #ffffff;
    font-size: 11px;
}

.data-export-option small {
    color: #8ea5b7;
    font-size: 9px;
    line-height: 1.4;
}


/* EXPORT FORMAT */

.data-export-format {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    margin: 14px 0;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
}

    .data-export-format > div {
        display: grid;
        gap: 5px;
        padding: 12px 13px;
        border-right: 1px solid rgba(34, 54, 74, 0.62);
    }

        .data-export-format > div:last-child {
            border-right: 0;
        }

    .data-export-format span {
        color: #829cad;
        font-size: 9px;
    }

    .data-export-format strong {
        color: #ffffff;
        font-size: 10px;
    }

.data-export-button {
    display: inline-flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: linear-gradient(180deg, #ffc42a, #eba400);
    color: #10161b;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

    .data-export-button:hover {
        box-shadow: 0 7px 22px rgba(255, 174, 0, 0.24);
    }


/* EXPORT HISTORY */

.data-export-history {
    overflow: hidden;
    margin-top: 7px;
    border: 1px solid rgba(34, 54, 74, 0.82);
    border-radius: 7px;
}

.data-history-header,
.data-history-row {
    display: grid;
    grid-template-columns: minmax(115px, 0.8fr) minmax(160px, 1.2fr) 90px minmax(105px, 0.8fr) 100px;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
}

.data-history-header {
    color: #7fa2bd;
    background: rgba(16, 38, 56, 0.82);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.data-history-row {
    border-top: 1px solid rgba(34, 54, 74, 0.65);
    color: #cad6df;
    font-size: 10px;
}

    .data-history-row > span:first-child {
        display: grid;
        gap: 3px;
    }

    .data-history-row small {
        color: #7f98aa;
        font-size: 8px;
    }

.data-ready {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #49df77;
    font-size: 9px;
}

.data-history-row button {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #168de2;
    border-radius: 5px;
    background: rgba(22, 141, 226, 0.05);
    color: #55abf8;
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

    .data-history-row button:hover {
        background: #168de2;
        color: #ffffff;
    }


/* DATA INFORMATION */

.data-information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 7px;
}

    .data-information-grid article {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
        padding: 13px;
        border: 1px solid rgba(34, 54, 74, 0.82);
        border-radius: 7px;
        background: rgba(10, 27, 42, 0.68);
    }

        .data-information-grid article > i {
            display: grid;
            width: 36px;
            height: 36px;
            place-items: center;
            border-radius: 50%;
            color: #4ca8fa;
            background: rgba(30, 115, 190, 0.17);
            font-size: 15px;
        }

        .data-information-grid article > div {
            display: grid;
            gap: 4px;
        }

    .data-information-grid strong {
        color: #ffffff;
        font-size: 11px;
    }

    .data-information-grid span {
        color: #8ca4b6;
        font-size: 9px;
        line-height: 1.45;
    }


/* DANGER ZONE */

.data-danger-group {
    border-color: rgba(255, 74, 87, 0.48);
    background: rgba(61, 10, 17, 0.18);
}

    .data-danger-group legend,
    .data-danger-group legend span {
        color: #ff6570;
    }

.delete-account-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid rgba(255, 74, 87, 0.42);
    border-radius: 7px;
    background: rgba(75, 12, 20, 0.22);
}

.delete-account-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #ff6973;
    background: rgba(255, 74, 87, 0.13);
    font-size: 18px;
}

.delete-account-information {
    display: grid;
    gap: 5px;
}

    .delete-account-information > strong {
        color: #ff727c;
        font-size: 13px;
    }

    .delete-account-information p {
        margin: 0;
        color: #b9c5ce;
        font-size: 10px;
    }

    .delete-account-information ul {
        display: grid;
        gap: 3px;
        margin: 4px 0 0;
        padding-left: 17px;
        color: #94a8b7;
        font-size: 9px;
    }

.delete-account-button {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid #ff4a57;
    border-radius: 5px;
    background: rgba(255, 74, 87, 0.07);
    color: #ff707a;
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

    .delete-account-button:hover {
        background: #d93643;
        color: #ffffff;
    }

.delete-protection-notice {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 189, 36, 0.28);
    border-radius: 6px;
    background: rgba(255, 189, 36, 0.05);
}

    .delete-protection-notice i {
        color: var(--accent);
        font-size: 16px;
        text-align: center;
    }

    .delete-protection-notice p {
        margin: 0;
        color: #a9b9c5;
        font-size: 9px;
        line-height: 1.5;
    }


/* =========================================================
   DATA & EXPORTS SIDEBAR
   ========================================================= */

.data-sidebar {
    min-width: 0;
    align-content: start;
    gap: 16px;
}

    .data-sidebar.active {
        display: grid;
    }

.data-side-card {
    overflow: hidden;
    padding: 19px;
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    background: linear-gradient( 145deg, rgba(8, 23, 37, 0.98), rgba(5, 15, 25, 0.98) );
}

.data-side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #58a8f5;
}

    .data-side-title i {
        font-size: 18px;
    }

    .data-side-title h3 {
        margin: 0;
        font-size: 17px;
    }

.data-summary-status {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 17px 0;
}

.data-summary-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: #49df77;
    background: rgba(73, 223, 119, 0.13);
    font-size: 18px;
}

.data-summary-status > div:last-child {
    display: grid;
    gap: 4px;
}

.data-summary-status strong {
    color: #49df77;
    font-size: 15px;
}

.data-summary-status span {
    color: #91a8b9;
    font-size: 9px;
    line-height: 1.4;
}

.data-summary-list {
    display: grid;
    border-top: 1px solid rgba(34, 54, 74, 0.72);
}

    .data-summary-list > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(34, 54, 74, 0.55);
    }

        .data-summary-list > div:last-child {
            border-bottom: 0;
        }

    .data-summary-list span {
        color: #9faeb9;
        font-size: 10px;
    }

    .data-summary-list strong {
        color: #ffffff;
        font-size: 10px;
    }

        .data-summary-list strong.data-free {
            color: #49df77;
        }

.data-ready-card {
    border-color: rgba(73, 223, 119, 0.36);
}

    .data-ready-card .data-side-title {
        color: #49df77;
    }

.data-ready-information {
    display: grid;
    gap: 5px;
    padding: 16px 0;
}

    .data-ready-information strong {
        color: #ffffff;
        font-size: 13px;
    }

    .data-ready-information span {
        color: #a7b8c5;
        font-size: 10px;
    }

    .data-ready-information small {
        color: #7892a5;
        font-size: 9px;
    }

.data-side-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #168de2;
    border-radius: 5px;
    background: rgba(22, 141, 226, 0.05);
    color: #55abf8;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

    .data-side-button:hover {
        background: #168de2;
        color: #ffffff;
    }

.data-expiration-note {
    margin: 10px 0 0;
    color: #8098aa;
    font-size: 8px;
    font-style: italic;
    text-align: center;
}

    .data-expiration-note i {
        margin-right: 4px;
    }

.data-rights-card {
    border-color: rgba(47, 156, 255, 0.35);
}

.data-rights-list {
    display: grid;
    gap: 11px;
    margin: 15px 0 18px;
    padding: 0;
    list-style: none;
}

    .data-rights-list li {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #b8c8d3;
        font-size: 10px;
    }

    .data-rights-list i {
        color: #49df77;
    }

.data-help-card p {
    margin: 12px 0 15px;
    color: #9fb3c1;
    font-size: 10px;
    line-height: 1.55;
}

.data-help-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 39px;
    gap: 10px;
    padding: 0 10px;
    border-top: 1px solid rgba(34, 54, 74, 0.62);
    color: #bcd0df;
    font-size: 10px;
    text-decoration: none;
}

    .data-help-link span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .data-help-link i {
        color: #4ca9fa;
    }

    .data-help-link:hover {
        color: #ffffff;
    }


/* DATA & EXPORTS RESPONSIVE LAYOUT */

@media (max-width: 1280px) {
    .data-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 980px) {
    .data-sidebar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .data-export-options,
    .data-information-grid {
        grid-template-columns: 1fr;
    }

    .data-export-format {
        grid-template-columns: 1fr;
    }

        .data-export-format > div {
            border-right: 0;
            border-bottom: 1px solid rgba(34, 54, 74, 0.62);
        }

            .data-export-format > div:last-child {
                border-bottom: 0;
            }

    .data-export-history {
        overflow-x: auto;
    }

    .data-history-header,
    .data-history-row {
        min-width: 690px;
    }
}

@media (max-width: 700px) {
    .data-status,
    .delete-account-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .data-free-badge,
    .delete-account-button {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .delete-account-button {
        width: 100%;
    }
}
/* PLAN & ACCESS PRE-ALPHA BADGE */

.settings-section-nav button[data-settings-target="plan"] small {
    position: absolute;
    top: 50%;
    right: 14px;
    grid-column: auto;
    margin: 0;
    padding: 3px 6px;
    border: 1px solid #168de2;
    border-radius: 3px;
    background: rgba(22, 141, 226, 0.14);
    color: #48aaff;
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
    transform: translateY(-50%);
}

.settings-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 260px;
    min-height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 7px;
    background: var(--color-gold, #ffb400);
    color: #06101a;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

    .settings-save-button:hover {
        filter: brightness(1.08);
    }

    .settings-save-button:disabled {
        cursor: not-allowed;
        opacity: 0.65;
    }

.settings-preview-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 240px;
    min-height: 44px;
    margin-left: 12px;
    padding: 0 22px;
    border: 1px solid rgba(255, 180, 0, 0.7);
    border-radius: 7px;
    background: rgba(255, 180, 0, 0.08);
    color: var(--color-gold, #ffb400);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

    .settings-preview-button:hover {
        background: rgba(255, 180, 0, 0.14);
    }

.settings-save-status {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.settings-text-input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    color: #9db3c7;
    background: rgba(120, 163, 198, 0.08);
}

/* =========================================================
   SETTINGS LIVE / PRE-ALPHA HONEST STATES
   ========================================================= */

.settings-runtime-notice {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    max-width: 420px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 189, 25, 0.55);
    border-radius: 8px;
    background: rgba(6, 16, 27, 0.98);
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
    font-size: 13px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

    .settings-runtime-notice.visible {
        opacity: 1;
        transform: translateY(0);
    }

.settings-disabled-honest {
    border-color: rgba(255, 189, 25, 0.45) !important;
}

.client-status-warning {
    border-color: rgba(255, 189, 25, 0.68);
    background: linear-gradient( 90deg, rgba(255, 189, 25, 0.10), rgba(7, 17, 28, 0.65) );
}

    .client-status-warning .client-status-icon {
        background: #ffbd24;
        color: #1a1300;
    }

.client-warning {
    color: #ffbd24 !important;
}

.client-muted {
    color: #8fa2b2 !important;
}

.client-live-indicator.offline,
.client-connected-badge.offline,
.client-game-running.offline {
    color: #ffbd24 !important;
    background: rgba(255, 189, 25, 0.12);
}

    .client-live-indicator.offline i {
        background: #ffbd24;
        box-shadow: 0 0 8px rgba(255, 189, 25, 0.75);
    }

.client-version-current.prealpha {
    color: #bd71ff !important;
    background: rgba(189, 113, 255, 0.14);
}

.connections-summary-list i.fa-google {
    color: #ffffff;
}

.preview-online.offline,
.account-preview-driver small.offline {
    color: #ffbd24;
}

    .preview-online.offline i,
    .account-preview-driver small.offline i {
        background: #ffbd24;
    }
