/**
 * Player Development Intelligence — Admin application design system
 *
 * Scoped to .pdi-shell / .pdi-app. Load AFTER Bootstrap / ISA style.css /
 * admin-dashboard.css / green2.css so chrome wins inside the PDI shell only.
 *
 * This file must not restyle /clubs-video-channel/admin/.
 */

.pdi-shell,
.pdi-app {
    --pdi-navy: #011942;
    --pdi-mid-blue: #0068C8;
    --pdi-blue: #1893FC;
    --pdi-white: #FFFFFF;
    --pdi-bg: #F5F8FC;
    --pdi-surface: #FFFFFF;
    --pdi-surface-soft: #F8FBFF;
    --pdi-blue-soft: #EEF7FF;
    --pdi-text: #011942;
    --pdi-text-secondary: #42526B;
    --pdi-text-muted: #64748B;
    --pdi-border: #E5EDF7;
    --pdi-border-strong: #DFE9F4;
    --pdi-radius-sm: 8px;
    --pdi-radius-md: 12px;
    --pdi-radius-lg: 16px;
    --pdi-radius-xl: 18px;
    --pdi-shadow-sm: 0 4px 14px rgba(1, 25, 66, 0.06);
    --pdi-shadow-md: 0 12px 30px rgba(1, 25, 66, 0.08);
    --pdi-shadow-lg: 0 16px 40px rgba(1, 25, 66, 0.10);
    --pdi-gradient: linear-gradient(135deg, #011942 0%, #0068C8 60%, #1893FC 100%);
    --pdi-sidebar-width: 264px;
    --pdi-header-height: 64px;
    --pdi-content-max: 1180px;
    --pdi-gutter: 32px;
    --pdi-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-family: var(--pdi-font);
    background: var(--pdi-bg);
    color: var(--pdi-text);
}

.pdi-shell,
.pdi-shell body,
.pdi-app {
    font-family: var(--pdi-font);
}

.pdi-shell #wrapper {
    background: var(--pdi-bg);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Neutralise ISA Boss padding-left:300px on #main-content at all widths.
   Desktop offset is applied once via margin-left in the 768px+ block. */
.pdi-shell #main-content,
.pdi-shell .header-side-menu.left + #main-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pdi-shell a {
    color: var(--pdi-mid-blue);
}

.pdi-shell a:hover,
.pdi-shell a:focus {
    color: var(--pdi-blue);
}

/* green2.css sets global ::-webkit-scrollbar-thumb { background-color: #27967a }.
   Viewport scroll is on html; scope with :has(body.pdi-shell) so ISA pages stay green. */
html:has(body.pdi-shell) {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 104, 200, 0.50) #EEF2F7;
}

html:has(body.pdi-shell)::-webkit-scrollbar,
body.pdi-shell::-webkit-scrollbar,
.pdi-shell::-webkit-scrollbar,
.pdi-shell .pdi-nav::-webkit-scrollbar,
.pdi-shell .pdi-sidebar-nav::-webkit-scrollbar {
    width: 12px;
}

html:has(body.pdi-shell)::-webkit-scrollbar-track,
body.pdi-shell::-webkit-scrollbar-track,
.pdi-shell::-webkit-scrollbar-track,
.pdi-shell .pdi-nav::-webkit-scrollbar-track,
.pdi-shell .pdi-sidebar-nav::-webkit-scrollbar-track {
    background: #EEF2F7;
    -webkit-box-shadow: none;
    box-shadow: none;
}

html:has(body.pdi-shell)::-webkit-scrollbar-thumb,
body.pdi-shell::-webkit-scrollbar-thumb,
.pdi-shell::-webkit-scrollbar-thumb,
.pdi-shell .pdi-nav::-webkit-scrollbar-thumb,
.pdi-shell .pdi-sidebar-nav::-webkit-scrollbar-thumb {
    background-color: rgba(0, 104, 200, 0.50);
    -webkit-box-shadow: none;
    box-shadow: none;
}

html:has(body.pdi-shell)::-webkit-scrollbar-thumb:hover,
body.pdi-shell::-webkit-scrollbar-thumb:hover,
.pdi-shell::-webkit-scrollbar-thumb:hover,
.pdi-shell .pdi-nav::-webkit-scrollbar-thumb:hover,
.pdi-shell .pdi-sidebar-nav::-webkit-scrollbar-thumb:hover {
    background-color: #005AA3;
}

/* -------------------------------------------------------------------------- */
/* Sidebar — keep legacy side-menu IDs/classes for ISA main.js                */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-nav.side-menu,
.pdi-shell .pdi-nav.header-side-menu,
.pdi-shell .pdi-nav.navbar-inverse {
    background: var(--pdi-navy) !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pdi-shell .pdi-nav .side-menu-wrapper,
.pdi-shell .pdi-nav #main-navbar-container {
    background: var(--pdi-navy) !important;
    padding: 0 !important; /* override ISA .side-menu-wrapper 25/15/25/25 */
}

.pdi-shell .pdi-nav .logo,
.pdi-shell .pdi-nav h1.logo,
.pdi-shell .pdi-nav.header-side-menu .logo {
    margin: 0 0 24px !important; /* override ISA .logo { margin-bottom: 30px } */
    padding: 16px 14px 0 !important;
    background: transparent !important;
    border: 0 !important;
    line-height: 0 !important;
    flex: 0 0 auto;
}

.pdi-shell .pdi-nav .logo a,
.pdi-shell .pdi-nav .pdi-brand-mark {
    display: block;
    width: 170px;
    max-width: calc(100% - 8px);
    margin: 0 auto;
    padding: 6px 7px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    overflow: hidden;
    line-height: 0;
}

/* Wordmark PNG is 1881×836 with built-in pad (~10% L, ~8% R, ~21% T/B).
   Scale + negative margin optically crops that pad; the file is unchanged. */
.pdi-shell .pdi-nav .logo img {
    width: 121% !important;
    max-width: none !important;
    height: auto !important;
    display: block;
    margin: -18px -10px -18px -16px !important;
}

.pdi-shell .pdi-nav .header-dashboard {
    display: none !important;
}

.pdi-shell .pdi-nav .btn-toggle.side-menu-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: var(--pdi-radius-sm);
    padding: 8px 10px;
    margin: 16px 16px 0 0;
}

.pdi-shell .pdi-nav .btn-toggle .icon-bar {
    background: var(--pdi-white) !important;
    display: block;
    width: 16px;
    height: 2px;
    margin: 3px 0;
}

.pdi-shell .pdi-sidebar-nav {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 0 16px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 104, 200, 0.50) #EEF2F7;
}

.pdi-shell .pdi-nav-section {
    margin: 0;
}

.pdi-shell .pdi-nav-section + .pdi-nav-section {
    margin-top: 22px;
}

.pdi-shell .pdi-nav-section-label {
    margin: 0 10px 8px;
    font-family: var(--pdi-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.42);
}

.pdi-shell .pdi-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pdi-shell .pdi-nav-item {
    margin: 0;
    float: none;
    width: 100%;
}

.pdi-shell .pdi-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 6px;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.70) !important;
    font-family: var(--pdi-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.pdi-shell .pdi-nav-link i {
    width: 16px;
    flex: 0 0 16px;
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.48);
}

.pdi-shell .pdi-nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.94) !important;
}

.pdi-shell .pdi-nav-link:hover i {
    color: rgba(255, 255, 255, 0.80);
}

.pdi-shell .pdi-nav-link:focus {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.94) !important;
    outline: 2px solid rgba(24, 147, 252, 0.70);
    outline-offset: -2px;
}

.pdi-shell .pdi-nav-link--active,
.pdi-shell .pdi-nav-link--active:hover,
.pdi-shell .pdi-nav-link--active:focus {
    background: rgba(255, 255, 255, 0.07);
    color: var(--pdi-white) !important;
    font-weight: 600 !important;
    box-shadow: inset 2px 0 0 #1893FC;
}

.pdi-shell .pdi-nav-link--active i {
    color: #1893FC;
}

@media (min-width: 768px) {
    .pdi-shell .pdi-nav.side-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: var(--pdi-sidebar-width) !important;
        height: 100% !important;
        z-index: 1040 !important;
        overflow: hidden;
    }

    .pdi-shell .pdi-nav .side-menu-wrapper,
    .pdi-shell .pdi-nav #main-navbar-container,
    .pdi-shell .pdi-nav #main-navbar-container.collapse,
    .pdi-shell .pdi-nav #main-navbar-container.collapsing,
    .pdi-shell .pdi-nav #main-navbar-container.collapse.in {
        display: flex !important;
        flex-direction: column;
        height: 100% !important;
        min-height: 100%;
        width: 100% !important;
        padding-bottom: 0;
        overflow: hidden;
        visibility: visible !important;
    }

    .pdi-shell .pdi-nav .btn-toggle {
        display: none !important;
    }

    /* One sidebar offset only. ISA style.css @992px sets
       .header-side-menu.left + #main-content { padding-left: 300px }
       on top of this margin — that is the extra gutter. */
    .pdi-shell #main-content,
    .pdi-shell .header-side-menu.left + #main-content,
    .pdi-shell .pdi-nav.header-side-menu.left + #main-content {
        margin-left: var(--pdi-sidebar-width) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        background: var(--pdi-bg) !important;
        min-height: 100vh;
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .pdi-shell .pdi-nav.side-menu {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        z-index: 1040 !important;
    }

    .pdi-shell #main-content,
    .pdi-shell .header-side-menu.left + #main-content,
    .pdi-shell .pdi-nav.header-side-menu.left + #main-content {
        margin-left: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
        transform: none !important;
    }

    .pdi-shell .pdi-nav-link {
        min-height: 44px;
        padding-top: 11px;
        padding-bottom: 11px;
    }
}

/* -------------------------------------------------------------------------- */
/* Application header — white workspace chrome                                */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-header,
.pdi-shell #header.pdi-header {
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.pdi-shell .pdi-app-header {
    background: var(--pdi-surface);
    border-bottom: 1px solid var(--pdi-border);
    min-height: var(--pdi-header-height);
    display: flex;
    align-items: center;
    padding: 0 var(--pdi-gutter);
}

.pdi-shell .pdi-app-header__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pdi-shell .pdi-app-header__brand {
    margin: 0;
    font-family: var(--pdi-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: var(--pdi-text-secondary);
    white-space: nowrap;
}

.pdi-shell .pdi-account {
    position: relative;
}

.pdi-shell .pdi-account-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--pdi-white);
    border: 1px solid var(--pdi-border);
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    color: var(--pdi-navy) !important;
    text-decoration: none !important;
    font-family: var(--pdi-font);
}

.pdi-shell .pdi-account-toggle:hover,
.pdi-shell .pdi-account-toggle:focus {
    border-color: #C8DCF5;
    background: var(--pdi-surface-soft);
    color: var(--pdi-navy) !important;
}

.pdi-shell .pdi-account-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pdi-gradient);
    color: var(--pdi-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.pdi-shell .pdi-account-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    text-align: left;
}

.pdi-shell .pdi-account-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--pdi-navy);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdi-shell .pdi-account-org {
    font-size: 11px;
    font-weight: 500;
    color: var(--pdi-text-muted);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdi-shell .pdi-account .dropdown-menu {
    right: 0;
    left: auto;
    margin-top: 8px;
    border: 1px solid var(--pdi-border);
    border-radius: var(--pdi-radius-md);
    box-shadow: var(--pdi-shadow-md);
    padding: 8px 0;
    min-width: 220px;
}

.pdi-shell .pdi-account .dropdown-menu > li > a {
    color: var(--pdi-text) !important;
    font-size: 13px;
    padding: 8px 16px;
}

.pdi-shell .pdi-account .dropdown-menu > li > a:hover {
    background: var(--pdi-blue-soft);
    color: var(--pdi-navy) !important;
}

.pdi-shell .navbar,
.pdi-shell .navbar-top,
.pdi-shell .pdi-header .navbar-top {
    background: transparent !important;
    border: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* -------------------------------------------------------------------------- */
/* Workspace                                                                  */
/* -------------------------------------------------------------------------- */

.pdi-shell #main-content,
.pdi-shell #content,
.pdi-shell .pdi-main {
    background: var(--pdi-bg) !important;
}

.pdi-shell #content {
    padding: 0 0 40px !important;
}

.pdi-shell .pdi-workspace,
.pdi-shell .pdi-content-inner {
    width: 100%;
    max-width: var(--pdi-content-max);
    margin-left: 0;
    margin-right: auto;
    padding: 28px var(--pdi-gutter) 8px;
}

.pdi-shell .pdi-page-header {
    margin: 0 0 28px;
}

.pdi-shell .pdi-page-header__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pdi-mid-blue);
}

.pdi-shell .pdi-page-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--pdi-navy);
    line-height: 1.15;
}

.pdi-shell .pdi-page-header__lede {
    margin: 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--pdi-text-secondary);
}

.pdi-shell .pdi-page-header__context {
    margin-top: 10px;
    font-size: 13px;
    color: var(--pdi-text-muted);
}

/* -------------------------------------------------------------------------- */
/* Cards / KPI                                                                */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-card,
.pdi-shell .pdi-kpi-card {
    background: var(--pdi-surface);
    border: 1px solid rgba(1, 25, 66, 0.08);
    border-radius: var(--pdi-radius-lg);
    box-shadow: var(--pdi-shadow-sm);
}

.pdi-shell .pdi-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 28px;
}

.pdi-shell .pdi-kpi-card {
    position: relative;
    padding: 22px 22px 20px;
    overflow: hidden;
    min-height: 168px;
}

.pdi-shell .pdi-kpi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pdi-gradient);
}

.pdi-shell .pdi-kpi-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--pdi-blue-soft);
    color: var(--pdi-mid-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.pdi-shell .pdi-kpi-card__label {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pdi-text-muted);
}

.pdi-shell .pdi-kpi-card__value {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--pdi-navy);
    line-height: 1;
}

.pdi-shell .pdi-kpi-card__hint {
    margin: 8px 0 14px;
    font-size: 13px;
    color: var(--pdi-text-secondary);
}

.pdi-shell .pdi-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--pdi-blue-soft);
    color: var(--pdi-mid-blue);
    font-size: 12px;
    font-weight: 600;
}

.pdi-shell .pdi-alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    margin-bottom: 22px;
    border: 1px solid #F3D2D2;
    background: #FFF7F7;
    border-radius: var(--pdi-radius-md);
    color: var(--pdi-text);
}

.pdi-shell .pdi-alert i {
    color: #C0392B;
    margin-top: 2px;
}

/* -------------------------------------------------------------------------- */
/* Quick actions                                                              */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-section-title {
    margin: 8px 0 14px;
    font-size: 18px;
    font-weight: 650;
    color: var(--pdi-navy);
}

.pdi-shell .pdi-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.pdi-shell .pdi-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 14px 16px;
    background: var(--pdi-surface);
    border: 1px solid rgba(1, 25, 66, 0.08);
    border-radius: var(--pdi-radius-md);
    box-shadow: var(--pdi-shadow-sm);
    text-decoration: none !important;
    color: var(--pdi-navy) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdi-shell .pdi-action-card:hover,
.pdi-shell .pdi-action-card:focus {
    border-color: #C8DCF5;
    box-shadow: var(--pdi-shadow-sm);
    color: var(--pdi-navy) !important;
}

.pdi-shell .pdi-action-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--pdi-blue-soft);
    color: var(--pdi-mid-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
}

.pdi-shell .pdi-action-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.pdi-shell .pdi-action-card__title {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.pdi-shell .pdi-action-card__copy {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--pdi-text-muted);
    font-weight: 400;
}

.pdi-shell .pdi-action-card__chevron {
    color: var(--pdi-blue);
    margin-left: auto;
    flex: 0 0 auto;
}

/* -------------------------------------------------------------------------- */
/* Dashboard — corporate workspace overview                                   */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-dashboard .pdi-dashboard__header {
    padding-bottom: 22px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--pdi-border);
}

.pdi-shell .pdi-dashboard__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 14px 0 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--pdi-text-muted);
}

.pdi-shell .pdi-dashboard__meta span + span {
    position: relative;
    padding-left: 18px;
}

.pdi-shell .pdi-dashboard__meta span + span::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 3px;
    height: 3px;
    margin-top: -2px;
    border-radius: 50%;
    background: var(--pdi-text-muted);
}

.pdi-shell .pdi-dash-section {
    margin: 0 0 32px;
}

.pdi-shell .pdi-dash-kicker {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pdi-text-muted);
}

.pdi-shell .pdi-dashboard .pdi-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.pdi-shell .pdi-dashboard .pdi-kpi-card {
    min-height: 0;
    padding: 20px 20px 0;
    border-radius: var(--pdi-radius-md);
    box-shadow: none;
    border-color: var(--pdi-border-strong);
}

.pdi-shell .pdi-dashboard .pdi-kpi-card::before {
    display: none;
}

.pdi-shell .pdi-dashboard .pdi-kpi-card__value {
    font-size: 32px;
    font-weight: 650;
}

.pdi-shell .pdi-dashboard .pdi-kpi-card__hint {
    margin-bottom: 16px;
}

.pdi-shell .pdi-kpi-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0 -20px;
    padding: 12px 20px;
    border-top: 1px solid var(--pdi-border);
    background: var(--pdi-surface-soft);
}

.pdi-shell .pdi-kpi-split div {
    min-width: 0;
}

.pdi-shell .pdi-kpi-split div + div {
    padding-left: 16px;
    border-left: 1px solid var(--pdi-border);
}

.pdi-shell .pdi-kpi-split dt {
    margin: 0 0 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pdi-text-muted);
}

.pdi-shell .pdi-kpi-split dd {
    margin: 0;
    font-size: 15px;
    font-weight: 650;
    color: var(--pdi-navy);
}

.pdi-shell .pdi-dash-shortcuts {
    background: var(--pdi-surface);
    border: 1px solid var(--pdi-border-strong);
    border-radius: var(--pdi-radius-md);
    overflow: hidden;
}

.pdi-shell .pdi-dash-shortcuts .pdi-action-card {
    min-height: 64px;
    margin: 0;
    padding: 14px 20px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--pdi-border);
}

.pdi-shell .pdi-dash-shortcuts .pdi-action-card:last-child {
    border-bottom: 0;
}

.pdi-shell .pdi-dash-shortcuts .pdi-action-card:hover,
.pdi-shell .pdi-dash-shortcuts .pdi-action-card:focus {
    background: var(--pdi-surface-soft);
    box-shadow: inset 3px 0 0 var(--pdi-mid-blue);
    border-color: var(--pdi-border);
}

.pdi-shell .pdi-action-card__go {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--pdi-mid-blue);
}

.pdi-shell .pdi-dashboard__table-lede {
    margin: 0;
    padding: 6px 18px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--pdi-text-secondary);
}

.pdi-shell .pdi-dashboard .pdi-table-wrap {
    box-shadow: none;
    border-color: var(--pdi-border-strong);
    border-radius: var(--pdi-radius-md);
}

.pdi-shell .pdi-dashboard .pdi-table-wrap h2 {
    font-size: 14px;
    font-weight: 600;
    padding: 16px 18px 8px;
}

/* -------------------------------------------------------------------------- */
/* Buttons / forms / tables / tabs                                            */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-button,
.pdi-shell .pdi-btn-primary,
.pdi-shell .pdi-workspace .btn-primary,
.pdi-shell #content .btn-primary {
    background: var(--pdi-mid-blue);
    border: 1px solid var(--pdi-mid-blue);
    color: var(--pdi-white);
    border-radius: 10px;
    font-family: var(--pdi-font);
    font-weight: 600;
    padding: 8px 14px;
    box-shadow: none;
}

.pdi-shell .pdi-button:hover,
.pdi-shell .pdi-btn-primary:hover,
.pdi-shell .pdi-workspace .btn-primary:hover,
.pdi-shell #content .btn-primary:hover {
    background: #0059AD;
    border-color: #0059AD;
    color: var(--pdi-white);
}

.pdi-shell .pdi-btn-secondary {
    background: var(--pdi-white);
    border: 1px solid var(--pdi-border-strong);
    color: var(--pdi-navy);
    border-radius: 10px;
    font-weight: 600;
    padding: 8px 14px;
}

.pdi-shell .pdi-btn-secondary:hover,
.pdi-shell .pdi-btn-secondary:focus {
    background: var(--pdi-blue-soft);
    border-color: var(--pdi-blue);
    color: var(--pdi-navy);
}

/* Leftover ISA green pagination (green2.css / twbsPagination) → PDI blues */
.pdi-shell .pagination > li > a,
.pdi-shell .pagination > li > span,
.pdi-shell .IMLSpagination > li > a,
.pdi-shell .IMLSpagination > li > span {
    background: var(--pdi-white) !important;
    border-color: var(--pdi-mid-blue) !important;
    color: var(--pdi-text-secondary) !important;
}

.pdi-shell .pagination > li > a:hover,
.pdi-shell .pagination > li > span:hover,
.pdi-shell .pagination > li > a:focus,
.pdi-shell .pagination > li > span:focus,
.pdi-shell .IMLSpagination > li > a:hover,
.pdi-shell .IMLSpagination > li > span:hover,
.pdi-shell .IMLSpagination > li > a:focus,
.pdi-shell .IMLSpagination > li > span:focus {
    background: var(--pdi-blue-soft) !important;
    border-color: var(--pdi-blue) !important;
    color: var(--pdi-navy) !important;
}

.pdi-shell .pagination > .active > a,
.pdi-shell .pagination > .active > span,
.pdi-shell .pagination > .active > a:hover,
.pdi-shell .pagination > .active > span:hover,
.pdi-shell .pagination > .active > a:focus,
.pdi-shell .pagination > .active > span:focus,
.pdi-shell .IMLSpagination > .active > a,
.pdi-shell .IMLSpagination > .active > span,
.pdi-shell .IMLSpagination > .active > a:hover,
.pdi-shell .IMLSpagination > .active > span:hover,
.pdi-shell .IMLSpagination > .active > a:focus,
.pdi-shell .IMLSpagination > .active > span:focus {
    background: var(--pdi-mid-blue) !important;
    border-color: var(--pdi-mid-blue) !important;
    color: var(--pdi-white) !important;
}

.pdi-shell .pagination > .disabled > a,
.pdi-shell .pagination > .disabled > span,
.pdi-shell .pagination > .disabled > a:hover,
.pdi-shell .pagination > .disabled > span:hover,
.pdi-shell .pagination > .disabled > a:focus,
.pdi-shell .pagination > .disabled > span:focus,
.pdi-shell .IMLSpagination > .disabled > a,
.pdi-shell .IMLSpagination > .disabled > span,
.pdi-shell .IMLSpagination > .disabled > a:hover,
.pdi-shell .IMLSpagination > .disabled > span:hover,
.pdi-shell .IMLSpagination > .disabled > a:focus,
.pdi-shell .IMLSpagination > .disabled > span:focus {
    background: var(--pdi-white) !important;
    border-color: var(--pdi-border-strong) !important;
    color: var(--pdi-text-muted) !important;
}

/* Leftover ISA green success buttons → PDI primary */
.pdi-shell .pdi-workspace .btn-success,
.pdi-shell #content .btn-success {
    background: var(--pdi-mid-blue) !important;
    border-color: var(--pdi-mid-blue) !important;
    color: var(--pdi-white) !important;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: none;
}

.pdi-shell .pdi-workspace .btn-success:hover,
.pdi-shell .pdi-workspace .btn-success:focus,
.pdi-shell #content .btn-success:hover,
.pdi-shell #content .btn-success:focus {
    background: #0059AD !important;
    border-color: #0059AD !important;
    color: var(--pdi-white) !important;
}

.pdi-shell .pdi-workspace .btn-success.disabled,
.pdi-shell .pdi-workspace .btn-success[disabled],
.pdi-shell .pdi-btn-primary.disabled,
.pdi-shell .pdi-btn-primary[disabled] {
    background: var(--pdi-mid-blue) !important;
    border-color: var(--pdi-mid-blue) !important;
    color: var(--pdi-white) !important;
    opacity: 0.45;
}

.pdi-shell .pdi-btn-text {
    background: transparent;
    border: 0;
    color: var(--pdi-mid-blue);
    font-weight: 600;
}

.pdi-shell .pdi-workspace input,
.pdi-shell .pdi-workspace select,
.pdi-shell .pdi-workspace textarea,
.pdi-shell .pdi-form input,
.pdi-shell .pdi-form select,
.pdi-shell .pdi-form textarea,
.pdi-shell input.form-control,
.pdi-shell select.form-control,
.pdi-shell textarea.form-control {
    color: #011942 !important;
    -webkit-text-fill-color: #011942 !important;
    background-color: #ffffff !important;
    border: 1px solid var(--pdi-border-strong) !important;
    border-radius: 10px;
    min-height: 40px;
    box-shadow: none !important;
    font-family: var(--pdi-font);
}

.pdi-shell input.form-control:focus,
.pdi-shell select.form-control:focus,
.pdi-shell textarea.form-control:focus {
    border-color: var(--pdi-blue) !important;
    box-shadow: 0 0 0 4px rgba(24, 147, 252, 0.12) !important;
}

.pdi-shell input.form-control::placeholder,
.pdi-shell textarea.form-control::placeholder {
    color: #7B8BA0 !important;
    -webkit-text-fill-color: #7B8BA0 !important;
    opacity: 1;
}

/* Selects must read as controls on white cards, not as page chrome.
   Native <select>, Bootstrap .form-control, input-group addons, and Select2. */
.pdi-shell .pdi-workspace select,
.pdi-shell .pdi-form select,
.pdi-shell select.form-control,
.pdi-shell .pdi-workspace .input-group select,
.pdi-shell .pdi-workspace .form-inline select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: var(--pdi-navy) !important;
    -webkit-text-fill-color: var(--pdi-navy) !important;
    background-color: var(--pdi-blue-soft) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230068C8' d='M1.5 1.2 6 5.7 10.5 1.2 12 2.7 6 8.7 0 2.7z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 8px !important;
    border: 1.5px solid var(--pdi-mid-blue) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    cursor: pointer;
    font-weight: 600;
    padding: 8px 36px 8px 12px !important;
}

.pdi-shell .pdi-workspace select:hover,
.pdi-shell .pdi-form select:hover,
.pdi-shell select.form-control:hover {
    border-color: var(--pdi-blue) !important;
}

.pdi-shell .pdi-workspace select:focus,
.pdi-shell .pdi-form select:focus,
.pdi-shell select.form-control:focus {
    border-color: var(--pdi-blue) !important;
    box-shadow: 0 0 0 4px rgba(24, 147, 252, 0.16) !important;
    outline: 0;
}

.pdi-shell .pdi-workspace select:disabled,
.pdi-shell .pdi-form select:disabled,
.pdi-shell select.form-control:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.pdi-shell .pdi-workspace .input-group {
    border-radius: 10px;
}

.pdi-shell .pdi-workspace .input-group-addon {
    background: var(--pdi-blue-soft) !important;
    border: 1.5px solid var(--pdi-mid-blue) !important;
    color: var(--pdi-mid-blue) !important;
}

.pdi-shell .pdi-workspace .input-group:has(select) {
    padding: 0 !important;
    background: var(--pdi-blue-soft);
    border: 1.5px solid var(--pdi-mid-blue);
    border-radius: 10px;
    overflow: hidden;
}

.pdi-shell .pdi-workspace .input-group:has(select) select,
.pdi-shell .pdi-workspace .input-group:has(select) .form-control {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    padding-right: 12px !important;
}

.pdi-shell .pdi-workspace .input-group:has(select) .input-group-addon {
    border: 0 !important;
    border-left: 1px solid rgba(0, 104, 200, 0.28) !important;
    border-radius: 0 !important;
}

.pdi-shell .select2-container {
    width: 100% !important;
}

.pdi-shell .select2-container--default .select2-selection--single,
.pdi-shell .select2-container--default .select2-selection--multiple {
    min-height: 40px;
    background: var(--pdi-blue-soft) !important;
    border: 1.5px solid var(--pdi-mid-blue) !important;
    border-radius: 10px !important;
}

.pdi-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--pdi-navy) !important;
    font-weight: 600;
    line-height: 38px;
    padding-left: 12px;
}

.pdi-shell .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.pdi-shell .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--pdi-mid-blue) transparent transparent transparent !important;
}

.pdi-shell .select2-container--default.select2-container--focus .select2-selection--single,
.pdi-shell .select2-container--default.select2-container--focus .select2-selection--multiple,
.pdi-shell .select2-container--default.select2-container--open .select2-selection--single,
.pdi-shell .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: var(--pdi-blue) !important;
    box-shadow: 0 0 0 4px rgba(24, 147, 252, 0.16);
}

html:has(body.pdi-shell) .select2-dropdown {
    background: var(--pdi-white);
    border: 1.5px solid var(--pdi-mid-blue) !important;
    border-radius: 10px !important;
    box-shadow: var(--pdi-shadow-md);
    overflow: hidden;
}

html:has(body.pdi-shell) .select2-results__option {
    color: var(--pdi-navy);
}

html:has(body.pdi-shell) .select2-results__option--highlighted[aria-selected],
html:has(body.pdi-shell) .select2-results__option--highlighted[aria-selected="true"] {
    background: var(--pdi-mid-blue) !important;
    color: var(--pdi-white) !important;
}

.pdi-shell .pdi-workspace:not(.pdi-stats) table,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table,
.pdi-shell .pdi-table,
.pdi-shell .pdi-table.table,
.pdi-shell .pdi-card .table {
    background: var(--pdi-surface);
    color: var(--pdi-text);
    border: 1px solid var(--pdi-border);
    border-radius: var(--pdi-radius-md);
    width: 100% !important;
    margin-bottom: 0;
}

.pdi-shell .pdi-workspace:not(.pdi-stats) table > thead > tr > th,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table th,
.pdi-shell .pdi-table > thead > tr > th,
.pdi-shell .pdi-table th,
.pdi-shell .pdi-card .table th {
    background: var(--pdi-surface-soft);
    color: var(--pdi-navy);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--pdi-border) !important;
    padding: 12px 14px !important;
}

.pdi-shell .pdi-workspace:not(.pdi-stats) table td,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table td,
.pdi-shell .pdi-table td,
.pdi-shell .pdi-card .table td {
    border-top: 1px solid var(--pdi-border) !important;
    border-color: var(--pdi-border) !important;
    padding: 12px 14px !important;
    color: var(--pdi-text-secondary);
    background: var(--pdi-white) !important;
}

/* ISA style.css paints .table thead/tbody tr with #27967A row rules.
   Plans & Billing (and other invoice-style tables) inherit those green lines. */
.pdi-shell .pdi-workspace:not(.pdi-stats) .table > thead > tr,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table > tbody > tr,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table > tfoot > tr,
.pdi-shell .pdi-workspace:not(.pdi-stats) table > thead > tr,
.pdi-shell .pdi-workspace:not(.pdi-stats) table > tbody > tr,
.pdi-shell .pdi-workspace:not(.pdi-stats) table > tfoot > tr {
    border-top-color: var(--pdi-border) !important;
    border-bottom-color: var(--pdi-border) !important;
    border-left-color: var(--pdi-border) !important;
    border-right-color: var(--pdi-border) !important;
}

.pdi-shell .pdi-workspace:not(.pdi-stats) .table-bordered,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table-bordered > thead > tr > th,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table-bordered > tbody > tr > th,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table-bordered > tfoot > tr > th,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table-bordered > thead > tr > td,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table-bordered > tbody > tr > td,
.pdi-shell .pdi-workspace:not(.pdi-stats) .table-bordered > tfoot > tr > td {
    border-color: var(--pdi-border) !important;
}

.pdi-shell .pdi-table tbody tr:hover td {
    background: var(--pdi-blue-soft) !important;
}

/* Temporarily hidden Manage Skills Analysis actions; markup kept for restore. */
.pdi-shell .pdi-showcase-action-hide {
    display: none !important;
}

/* Video Tutorials listing */
.pdi-shell .pdi-tutorial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pdi-shell .pdi-workspace article.entry.pdi-tutorial-card,
.pdi-shell .pdi-tutorial-card {
    float: none !important;
    width: 270px !important;
    margin: 0 !important;
    background: var(--pdi-surface) !important;
    border: 1px solid var(--pdi-border-strong) !important;
    border-radius: var(--pdi-radius-lg) !important;
    box-shadow: var(--pdi-shadow-sm);
    overflow: hidden;
}

.pdi-shell .pdi-tutorial-card .entry-content,
.pdi-shell .pdi-tutorial-card .entry-content p,
.pdi-shell .pdi-tutorial-card blockquote,
.pdi-shell .pdi-tutorial-card td {
    font-weight: 400 !important;
}

.pdi-shell .pdi-tutorial-card blockquote {
    margin: 0;
    padding: 0 0 0 12px;
    background: transparent;
    border-left: 3px solid var(--pdi-blue) !important;
}

.pdi-shell .pdi-tutorial-card a {
    color: var(--pdi-mid-blue) !important;
    font-weight: 400 !important;
}

.pdi-shell .pdi-tutorial-card a:hover,
.pdi-shell .pdi-tutorial-card a:focus {
    color: var(--pdi-blue) !important;
}

.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card table,
.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card .table,
.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card table > tbody > tr,
.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card .table > tbody > tr,
.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card table td,
.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card .table td {
    background: transparent !important;
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card table,
.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card .table {
    border-radius: 0;
    width: 100% !important;
    margin-bottom: 0;
    border-collapse: collapse;
}

.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card table td,
.pdi-shell .pdi-workspace:not(.pdi-stats) .pdi-tutorial-card .table td {
    padding: 8px 12px !important;
    color: var(--pdi-text-secondary);
    text-transform: none;
    font-size: 13px;
}

/* View Stats: analysis templates own their table/layout chrome. */
.pdi-shell .pdi-workspace.pdi-stats {
    max-width: min(1280px, 100%);
}

.pdi-shell .pdi-stats .pdi-stats-body {
    background: var(--pdi-surface);
    border: 1px solid var(--pdi-border-strong);
    border-radius: var(--pdi-radius-lg);
    box-shadow: var(--pdi-shadow-sm);
    padding: 18px 20px 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pdi-shell .pdi-stats .pdi-stats-body .entry-content {
    margin: 0;
}

.pdi-shell .pdi-stats #tabcontainer {
    display: none;
}

/* Bootstrap .success on section thead (Skills, etc.) — leftover ISA green.
   Home/away tbody cells that use td.success keep their template colour. */
.pdi-shell .pdi-stats .table > thead > tr.success > th,
.pdi-shell .pdi-stats .table > thead > tr.success > td,
.pdi-shell .pdi-stats .table > thead > tr > th.success,
.pdi-shell .pdi-stats .table > thead > tr > td.success,
.pdi-shell .pdi-stats thead tr.success > th,
.pdi-shell .pdi-stats thead tr.success > td {
    background-color: var(--pdi-blue-soft) !important;
    color: var(--pdi-navy) !important;
    border-color: var(--pdi-border) !important;
}

.pdi-shell .pdi-stats .table-hover > thead > tr.success:hover > th,
.pdi-shell .pdi-stats .table-hover > thead > tr.success:hover > td {
    background-color: #D6EBFC !important;
}

.pdi-shell .pdi-table-wrap {
    background: var(--pdi-surface);
    border: 1px solid rgba(1, 25, 66, 0.08);
    border-radius: var(--pdi-radius-lg);
    box-shadow: var(--pdi-shadow-sm);
    overflow: hidden;
    margin-bottom: 18px;
}

.pdi-shell .pdi-table-wrap--scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.pdi-shell .pdi-table-wrap--scroll .pdi-table,
.pdi-shell .pdi-table-wrap--scroll table {
    width: max-content !important;
    min-width: 100%;
}

.pdi-shell .pdi-table-wrap h2 {
    margin: 0;
    padding: 16px 18px 0;
    font-size: 16px;
    font-weight: 650;
    color: var(--pdi-navy);
}

.pdi-shell .pdi-upload-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.pdi-shell .pdi-upload-steps li {
    flex: 1 1 140px;
    padding: 10px 12px;
    background: var(--pdi-surface);
    border: 1px solid var(--pdi-border-strong);
    border-radius: var(--pdi-radius-md);
    color: var(--pdi-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}

.pdi-shell .pdi-upload-steps li.is-current {
    color: var(--pdi-navy);
    border-color: var(--pdi-blue);
    box-shadow: inset 0 -2px 0 var(--pdi-blue);
}

.pdi-shell .nav-tabs {
    border-bottom: 1px solid var(--pdi-border) !important;
}

.pdi-shell .nav-tabs > li > a {
    color: var(--pdi-text-secondary);
    border: 0 !important;
    background: transparent !important;
    font-weight: 600;
}

.pdi-shell .nav-tabs > li.active > a {
    color: var(--pdi-navy) !important;
    box-shadow: inset 0 -2px 0 var(--pdi-blue);
}

/* Neutralise leftover ISA green chrome inside the PDI shell */
.pdi-shell .greenBG,
.pdi-shell .dashGreen {
    color: var(--pdi-mid-blue) !important;
}

/* Row-action icons (Update User, Reset Password, and the same .interface links site-wide).
   Page-level a.interface { color: #27967A } is leftover ISA; this wins with !important. */
.pdi-shell a.interface,
.pdi-shell a.interface:link,
.pdi-shell a.interface:visited,
.pdi-shell a.interface:active,
.pdi-shell a.interface i,
.pdi-shell a.interface .fa,
.pdi-shell a.interface .glyphicon {
    color: var(--pdi-mid-blue) !important;
}

.pdi-shell a.interface:hover,
.pdi-shell a.interface:focus,
.pdi-shell a.interface:hover i,
.pdi-shell a.interface:focus i,
.pdi-shell a.interface:hover .fa,
.pdi-shell a.interface:focus .fa,
.pdi-shell a.interface:hover .glyphicon,
.pdi-shell a.interface:focus .glyphicon {
    color: var(--pdi-blue) !important;
}

/* jquery-confirm alerts: leftover type:green top bar + default grey OK button */
.pdi-shell .jconfirm,
html:has(body.pdi-shell) .jconfirm {
    font-family: var(--pdi-font);
}

.pdi-shell .jconfirm .jconfirm-bg,
html:has(body.pdi-shell) .jconfirm .jconfirm-bg {
    background: rgba(1, 25, 66, 0.42) !important;
}

.pdi-shell .jconfirm .jconfirm-box,
html:has(body.pdi-shell) .jconfirm .jconfirm-box {
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(1, 25, 66, 0.18) !important;
    padding: 22px 24px 18px !important;
    background: var(--pdi-white) !important;
}

.pdi-shell .jconfirm .jconfirm-box.jconfirm-type-green,
.pdi-shell .jconfirm .jconfirm-box.jconfirm-type-blue,
html:has(body.pdi-shell) .jconfirm .jconfirm-box.jconfirm-type-green,
html:has(body.pdi-shell) .jconfirm .jconfirm-box.jconfirm-type-blue {
    border-top: 4px solid var(--pdi-mid-blue) !important;
}

.pdi-shell .jconfirm .jconfirm-title,
html:has(body.pdi-shell) .jconfirm .jconfirm-title {
    color: var(--pdi-navy) !important;
    font-size: 20px !important;
    font-weight: 650 !important;
    letter-spacing: -0.02em;
}

.pdi-shell .jconfirm .jconfirm-content,
html:has(body.pdi-shell) .jconfirm .jconfirm-content {
    color: var(--pdi-text-secondary) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.pdi-shell .jconfirm .jconfirm-box.jconfirm-type-green .jconfirm-title-c,
html:has(body.pdi-shell) .jconfirm .jconfirm-box.jconfirm-type-green .jconfirm-title-c {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdi-shell .jconfirm .jconfirm-box.jconfirm-type-green .jconfirm-title-c::before,
html:has(body.pdi-shell) .jconfirm .jconfirm-box.jconfirm-type-green .jconfirm-title-c::before {
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 28px;
    width: 28px;
    height: 28px;
    text-align: center;
    color: var(--pdi-white);
    background: var(--pdi-mid-blue);
    border-radius: 50%;
    flex: 0 0 28px;
}

.pdi-shell .jconfirm .jconfirm-buttons,
html:has(body.pdi-shell) .jconfirm .jconfirm-buttons {
    padding-top: 8px !important;
}

.pdi-shell .jconfirm .jconfirm-buttons button,
.pdi-shell .jconfirm .jconfirm-buttons .btn,
html:has(body.pdi-shell) .jconfirm .jconfirm-buttons button,
html:has(body.pdi-shell) .jconfirm .jconfirm-buttons .btn {
    background: var(--pdi-mid-blue) !important;
    border: 1px solid var(--pdi-mid-blue) !important;
    color: var(--pdi-white) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    min-width: 72px;
    box-shadow: none !important;
    text-shadow: none !important;
}

.pdi-shell .jconfirm .jconfirm-buttons button:hover,
.pdi-shell .jconfirm .jconfirm-buttons .btn:hover,
html:has(body.pdi-shell) .jconfirm .jconfirm-buttons button:hover,
html:has(body.pdi-shell) .jconfirm .jconfirm-buttons .btn:hover {
    background: #0059AD !important;
    border-color: #0059AD !important;
    color: var(--pdi-white) !important;
}

.pdi-shell .pdi-workspace article.entry,
.pdi-shell .pdi-workspace .entry-box,
.pdi-shell .pdi-workspace .entry-box-blockquote {
    border-color: var(--pdi-border-strong) !important;
    outline-color: var(--pdi-mid-blue);
}

.pdi-shell .pdi-workspace .entry-box blockquote,
.pdi-shell .pdi-workspace .entry-box-blockquote blockquote,
.pdi-shell .pdi-workspace blockquote {
    border-left-color: var(--pdi-mid-blue) !important;
}

.pdi-shell .pdi-workspace .greenBG,
.pdi-shell .pdi-workspace .shadow,
.pdi-shell .pdi-workspace .table {
    box-shadow: none !important;
}

.pdi-shell .service.wow,
.pdi-shell .service {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Shared ISA surface pages: downloads, showcase upload, manage, tutorials */
.pdi-shell .pdi-workspace #uploader,
.pdi-shell .pdi-workspace .qq-uploader {
    max-width: 100%;
}

.pdi-shell .pdi-workspace iframe,
.pdi-shell .pdi-workspace embed,
.pdi-shell .pdi-workspace video {
    max-width: 100%;
}

.pdi-shell .pdi-workspace .form-inline {
    flex-wrap: wrap;
}

.pdi-shell .pdi-card-body > .form-inline.form-group {
    margin-bottom: 0;
}

.pdi-shell .pdi-workspace .groupresults-badge {
    background: var(--pdi-mid-blue) !important;
    color: var(--pdi-white) !important;
}

.pdi-shell .pdi-workspace .gr-valid {
    background: var(--pdi-blue-soft) !important;
    color: var(--pdi-mid-blue) !important;
}

.pdi-shell .pdi-workspace .gr-type-ssc,
.pdi-shell .pdi-workspace .gr-status-valid {
    color: var(--pdi-mid-blue) !important;
}

.pdi-shell .pdi-workspace .table-responsive,
.pdi-shell .pdi-workspace .bodycontainer {
    overflow-x: auto;
    max-width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Player Profile                                                             */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-card-body {
    padding: 22px;
}

.pdi-shell .pdi-profile .pdi-card {
    box-shadow: none;
    border-color: var(--pdi-border-strong);
    border-radius: var(--pdi-radius-md);
}

.pdi-shell .pdi-profile .pdi-section-title {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
}

.pdi-shell .pdi-profile-select {
    margin: 0 0 18px;
}

.pdi-shell .pdi-profile-select .pdi-form-row {
    margin-top: 4px;
}

.pdi-shell .pdi-profile-select__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pdi-shell .pdi-profile-select__row .form-group {
    margin-bottom: 0;
}

.pdi-shell .pdi-profile #uploader .qq-uploader,
.pdi-shell .pdi-profile #uploader .qq-uploader-selector {
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.pdi-shell .pdi-profile .pic-holder {
    border: 2px solid var(--pdi-border-strong);
    box-shadow: none;
}

.pdi-shell .pdi-profile .toggle-on.btn-success,
.pdi-shell .pdi-profile .toggle.btn-success {
    background: var(--pdi-mid-blue) !important;
    border-color: var(--pdi-mid-blue) !important;
}

.pdi-shell .pdi-profile-grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.pdi-shell .pdi-profile-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pdi-shell .pdi-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pdi-shell .pdi-form-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pdi-shell .pdi-form-span {
    grid-column: 1 / -1;
}

.pdi-shell .pdi-profile-legal {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--pdi-text-secondary);
}

.pdi-shell .pdi-profile-legal p {
    margin: 0 0 10px;
}

.pdi-shell .pdi-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.pdi-shell .pdi-profile-actions .pdi-btn-primary,
.pdi-shell .pdi-profile-actions .btn {
    min-width: 180px;
}

.pdi-shell .pdi-profile-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--pdi-text-muted);
}

/* -------------------------------------------------------------------------- */
/* Manage Players                                                             */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-players .nav-tabs,
.pdi-shell .pdi-legacy-tabs {
    display: none;
}

.pdi-shell .pdi-players .tab-content {
    padding: 0;
    border: 0;
    background: transparent;
}

.pdi-shell .pdi-players .pdi-card {
    box-shadow: none;
    border-color: var(--pdi-border-strong);
    border-radius: var(--pdi-radius-md);
}

.pdi-shell .pdi-players-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pdi-shell .pdi-players-toolbar--stack {
    flex-direction: column;
    align-items: flex-start;
}

.pdi-shell .pdi-players-toolbar--equal .btn {
    width: calc(36ch + 28px);
    min-width: calc(36ch + 28px);
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.pdi-shell .pdi-players-credits {
    padding: 0 !important;
}

.pdi-shell .pdi-players-credits .pdi-kpi-split {
    margin: 0;
    border-top: 0;
    border-radius: var(--pdi-radius-md);
}

.pdi-shell .pdi-players #pgm-bulk-btn {
    margin: 0 0 12px;
}

.pdi-shell .pdi-players-empty {
    padding: 28px 16px !important;
    color: var(--pdi-text-secondary);
    font-size: 14px;
}

.pdi-shell .pdi-players .modal-header {
    background: var(--pdi-navy);
    color: var(--pdi-white);
    border: 0;
}

.pdi-shell .pdi-players .modal-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pdi-white);
}

.pdi-shell .pdi-players .modal-header .close {
    color: var(--pdi-white);
    opacity: 0.7;
    text-shadow: none;
}

.pdi-shell .pdi-players .tab-pane > form,
.pdi-shell .pdi-players .tab-pane > p + form {
    background: var(--pdi-surface);
    border: 1px solid var(--pdi-border-strong);
    border-radius: var(--pdi-radius-md);
    padding: 22px;
}

.pdi-shell .pdi-players .row + .row > .col-md-12 > .service {
    background: var(--pdi-surface) !important;
    border: 1px solid var(--pdi-border-strong) !important;
    border-radius: var(--pdi-radius-md) !important;
    padding: 22px !important;
    margin-top: 8px !important;
}

.pdi-shell .pdi-players .help-block {
    color: var(--pdi-text-secondary);
    font-size: 13px;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.pdi-shell .pdi-footer,
.pdi-shell #footer.pdi-footer {
    background: transparent;
    color: var(--pdi-text-muted);
    padding: 8px var(--pdi-gutter) 28px;
    margin: 4px 0 0;
    border: 0;
}

.pdi-shell .pdi-footer__inner {
    width: 100%;
    max-width: var(--pdi-content-max);
    margin-left: 0;
    margin-right: auto;
    padding-top: 16px;
    border-top: 1px solid var(--pdi-border);
}

.pdi-shell .pdi-footer__brand {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pdi-navy);
}

.pdi-shell .pdi-footer__tag {
    margin: 0;
    font-size: 12px;
    color: var(--pdi-text-muted);
}

#scroll-top {
    background: var(--pdi-navy);
    color: var(--pdi-white);
}

@media (max-width: 1024px) {
    .pdi-shell .pdi-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pdi-shell .pdi-profile-grid,
    .pdi-shell .pdi-profile-select__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .pdi-shell .pdi-workspace,
    .pdi-shell .pdi-content-inner {
        padding: 20px 16px 8px;
    }

    .pdi-shell .pdi-app-header,
    .pdi-shell .pdi-footer,
    .pdi-shell #footer.pdi-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pdi-shell .pdi-nav .logo a,
    .pdi-shell .pdi-nav .pdi-brand-mark {
        width: 158px;
        padding: 6px 7px;
    }

    .pdi-shell .pdi-page-header h1 {
        font-size: 26px;
    }

    .pdi-shell .pdi-kpi-grid,
    .pdi-shell .pdi-action-grid,
    .pdi-shell .pdi-form-row,
    .pdi-shell .pdi-form-row--3 {
        grid-template-columns: 1fr;
    }

    .pdi-shell .pdi-account-org {
        display: none;
    }
}

@media (max-width: 480px) {
    .pdi-shell .pdi-app-header__brand {
        display: none;
    }
}
