/* ==========================================================================
   TEAMS V2 (CYBER / SCI-FI THEME) STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800;900&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --tv2-cyan: #00d8f6;
    --tv2-cyan-btn: #2ed3f8;
    --tv2-cyan-active: #40e1fe;
    --tv2-cyan-glow: rgba(0, 216, 246, 0.4);
    --tv2-bg-panel: rgba(10, 19, 32, 0.8);
    --tv2-bg-card: rgba(14, 25, 44, 0.85);
    --tv2-border-card: rgba(0, 180, 216, 0.35);
    --tv2-text-primary: #ffffff;
    --tv2-text-secondary: #8b9cb3;
    --tv2-text-muted: #64748b;
    --tv2-font-orbitron: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
    --tv2-font-rajdhani: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    --tv2-font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Page Container */
.teams-v2-container {
    background: transparent !important;
    min-height: calc(100vh - 80px);
    color: var(--tv2-text-primary);
    font-family: var(--tv2-font-body);
    padding-top: 1.25rem;
    padding-bottom: 4rem;
}

/* ==========================================================================
   PAGE HEADER & SEARCH
   ========================================================================== */
.tv2-header-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.tv2-title-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tv2-page-title {
    font-family: var(--tv2-font-orbitron);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--tv2-cyan);
    text-shadow: 0 0 15px rgba(0, 216, 246, 0.45);
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.tv2-page-subtitle {
    font-size: 0.95rem;
    color: var(--tv2-text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Search Bar (Top Right) */
.tv2-search-form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
}

.tv2-search-input-wrap {
    position: relative;
    flex: 1;
}

.tv2-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tv2-text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

.tv2-search-input {
    width: 100%;
    background: rgba(14, 25, 44, 0.9) !important;
    border: 1px solid rgba(0, 180, 216, 0.4) !important;
    border-radius: 4px;
    color: #ffffff !important;
    padding: 0.45rem 2rem 0.45rem 2.1rem;
    font-size: 0.88rem;
    outline: none !important;
    transition: all 0.2s ease;
}

.tv2-search-input:focus {
    border-color: var(--tv2-cyan) !important;
    box-shadow: 0 0 10px var(--tv2-cyan-glow) !important;
}

.tv2-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--tv2-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    display: none;
}

.tv2-search-clear:hover {
    color: #ffffff;
}

.tv2-search-btn {
    background: var(--tv2-cyan-btn) !important;
    color: #0a1320 !important;
    font-family: var(--tv2-font-orbitron);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none !important;
    border-radius: 4px;
    padding: 0.55rem 1.4rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.tv2-search-btn:hover {
    background: var(--tv2-cyan-active) !important;
    box-shadow: 0 0 14px var(--tv2-cyan-glow);
    transform: translateY(-1px);
}

/* ==========================================================================
   NAVIGATION SUBTABS (MATCHING PLAYERS V2 DOG-EAR TABS)
   ========================================================================== */
.tv2-subtabs-bar {
    display: flex !important;
    align-items: stretch !important;
    height: 38px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(64, 225, 254, 0.35) rgba(14, 28, 43, 0.4);
}

.tv2-subtabs-bar::-webkit-scrollbar {
    height: 3px;
}

.tv2-subtabs-bar::-webkit-scrollbar-track {
    background: rgba(14, 28, 43, 0.4);
}

.tv2-subtabs-bar::-webkit-scrollbar-thumb {
    background: rgba(64, 225, 254, 0.35);
    border-radius: 3px;
}

.tv2-subtabs-bar .tv2-subtab-btn {
    flex: 1 1 33.333% !important;
    width: 33.333% !important;
    min-width: 0;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    position: relative;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0 16px !important;
    background: #26333f !important;
    color: #ffffff !important;
    white-space: nowrap;
    text-transform: uppercase !important;
    flex-shrink: 0;
}

.tv2-subtabs-bar .tv2-subtab-btn:hover:not(.active) {
    background: #314252 !important;
    color: #ffffff !important;
}

/* Tablet & Mobile responsive styles for subtabs bar */
@media (max-width: 991px) {
    .tv2-subtabs-bar .tv2-subtab-btn {
        font-size: 12px !important;
        padding: 0 12px !important;
        letter-spacing: 0.3px !important;
    }
}

@media (max-width: 576px) {
    .tv2-subtabs-bar {
        height: 34px !important;
    }

    .tv2-subtabs-bar .tv2-subtab-btn {
        flex: 1 0 auto !important;
        width: auto !important;
        min-width: max-content !important;
        height: 34px !important;
        font-size: 11px !important;
        letter-spacing: 0.2px !important;
        padding: 0 10px !important;
    }

    .tv2-subtabs-bar .tv2-subtab-first {
        padding-left: 14px !important;
    }

    .tv2-subtabs-bar .tv2-subtab-last {
        padding-right: 15px !important;
    }
}

@media (max-width: 380px) {
    .tv2-subtabs-bar .tv2-subtab-btn {
        font-size: 10px !important;
        letter-spacing: 0px !important;
        padding: 0 8px !important;
    }

    .tv2-subtabs-bar .tv2-subtab-first {
        padding-left: 12px !important;
    }

    .tv2-subtabs-bar .tv2-subtab-last {
        padding-right: 14px !important;
    }
}

/* Left tab: TEAMS with Top-Left Dog-Ear Fold */
.tv2-subtabs-bar .tv2-subtab-first {
    clip-path: polygon(11px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 11px);
    -webkit-clip-path: polygon(11px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 11px);
}

.tv2-subtabs-bar .tv2-subtab-first::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-right: 1.5px solid #000000;
    border-bottom: 1.5px solid #000000;
    pointer-events: none;
    z-index: 5;
}

/* Middle tab: TEAM STATS */
.tv2-subtabs-bar .tv2-subtab-mid {
    border-left: 1px solid rgba(0, 0, 0, 0.4) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.4) !important;
}

/* Right tab: TEAM PLAYER POOL with Bottom-Right Dog-Ear Fold */
.tv2-subtabs-bar .tv2-subtab-last {
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0% 100%);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0% 100%);
}

.tv2-subtabs-bar .tv2-subtab-last::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-top: 1.5px solid #000000;
    border-left: 1.5px solid #000000;
    pointer-events: none;
    z-index: 5;
}

/* Active State: Solid Vibrant Cyan (#40e1fe) with Black Text (#000000) */
.tv2-subtabs-bar .tv2-subtab-btn.active {
    background: #40e1fe !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: none !important;
}

.tv2-subtabs-bar .tv2-subtab-btn.active .pv2-subtab-label,
.tv2-subtabs-bar .tv2-subtab-btn.active span {
    color: #000000 !important;
}

/* ==========================================================================
   DESKTOP FILTERS SIDEBAR
   ========================================================================== */
.tv2-sidebar-card {
    background: var(--tv2-bg-panel);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--tv2-border-card);
    border-radius: 8px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.tv2-sidebar-title {
    font-family: var(--tv2-font-orbitron);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--tv2-cyan);
    text-shadow: 0 0 10px rgba(0, 216, 246, 0.4);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

/* Accordion Sections */
.tv2-accordion-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.85rem;
}

.tv2-accordion-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.tv2-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding-bottom: 0.6rem;
}

.tv2-accordion-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--tv2-font-orbitron);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--tv2-cyan);
    text-transform: uppercase;
    margin: 0;
}

.tv2-accordion-icon {
    font-size: 0.75rem;
    color: var(--tv2-cyan);
    transition: transform 0.25s ease;
}

.tv2-accordion-item.collapsed .tv2-accordion-icon {
    transform: rotate(-90deg);
}

.tv2-accordion-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.tv2-accordion-item.collapsed .tv2-accordion-content {
    display: none;
}

/* Section Filter Search */
.tv2-filter-subsearch {
    background: rgba(16, 28, 48, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    color: #ffffff;
    outline: none;
    width: 100%;
    margin-bottom: 0.35rem;
    transition: border-color 0.2s;
}

.tv2-filter-subsearch:focus {
    border-color: var(--tv2-cyan);
}

/* Checkbox Scrollable List */
.tv2-checkbox-list {
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-right: 0.25rem;
}

.tv2-checkbox-list::-webkit-scrollbar {
    width: 4px;
}

.tv2-checkbox-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.tv2-checkbox-list::-webkit-scrollbar-thumb {
    background: rgba(0, 216, 246, 0.4);
    border-radius: 2px;
}

.tv2-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.82rem;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.25;
}

.tv2-checkbox-item:hover {
    color: #ffffff;
}

.tv2-checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    min-width: 15px;
    border: 1px solid rgba(0, 180, 216, 0.6);
    border-radius: 2px;
    background: rgba(14, 25, 44, 0.8);
    cursor: pointer;
    position: relative;
    outline: none;
    transition: all 0.15s ease;
}

.tv2-checkbox-input:checked {
    background: var(--tv2-cyan);
    border-color: var(--tv2-cyan);
}

.tv2-checkbox-input:checked::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 1.5px;
    width: 4px;
    height: 8px;
    border: solid #0a1320;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Mini Calendar Date Picker */
.tv2-calendar-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.tv2-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.tv2-cal-btn {
    background: transparent;
    border: none;
    color: var(--tv2-text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 2px;
    transition: color 0.2s;
}

.tv2-cal-btn:hover {
    color: var(--tv2-cyan);
}

.tv2-cal-month-title {
    font-family: var(--tv2-font-orbitron);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}

.tv2-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--tv2-text-muted);
    margin-bottom: 0.25rem;
}

.tv2-calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    text-align: center;
}

.tv2-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #cbd5e1;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    padding: 0;
}

.tv2-cal-day:hover:not(.empty):not(.active) {
    background: rgba(0, 216, 246, 0.2);
    color: var(--tv2-cyan);
}

.tv2-cal-day.other-month {
    color: #475569;
}

.tv2-cal-day.active {
    background: var(--tv2-cyan-active) !important;
    color: #0a1320 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 10px rgba(64, 225, 254, 0.7) !important;
}

.tv2-cal-day.empty {
    cursor: default;
}

.tv2-cal-clear-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.tv2-cal-clear-btn {
    background: transparent;
    border: none;
    color: var(--tv2-text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.tv2-cal-clear-btn:hover {
    color: var(--tv2-cyan);
}

/* ==========================================================================
   TEAMS GRID LAYOUT (DESKTOP)
   ========================================================================== */
.tv2-teams-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

/* Mobile Landscape (>= 576px) */
@media (min-width: 576px) {
    .tv2-teams-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Tablet (>= 768px) */
@media (min-width: 768px) {
    .tv2-teams-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Desktop LG (>= 992px) */
@media (min-width: 992px) {
    .tv2-teams-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Desktop XL (>= 1200px) */
@media (min-width: 1200px) {
    .tv2-teams-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Cyber Team Card */
.tv2-team-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    outline: none;
}

.tv2-team-card {
    background: var(--color-dark-grey, #1e2730);
    border: 1px solid var(--color-light-grey, #374653);
    border-radius: 10px;
    position: relative;
    padding: 10px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 122px;
    transition: background 300ms ease, border-color 200ms ease, transform 200ms ease;
    overflow: hidden;
}

.light .tv2-team-card {
    border-color: #e0ecf5;
}

.tv2-team-card:hover {
    background: linear-gradient(to top, rgba(64, 225, 254, 0.35) 0%, rgba(0, 0, 0, 0) 100%),
        var(--color-dark-grey, #1e2730);
    border-color: rgba(64, 225, 254, 0.6);
}

.tv2-card-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    max-height: 48px;
}

.tv2-card-logo {
    max-width: 52px;
    max-height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    transition: transform 0.25s ease;
}

.tv2-team-card:hover .tv2-card-logo {
    transform: scale(1.05);
}

.tv2-card-name {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: 0.4px;
}

.tv2-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    margin-top: 0;
    line-height: 1;
}

.tv2-flag-img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.tv2-flag-globe {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--tv2-text-secondary);
    font-size: 15px;
    line-height: 1;
}

.td-v2-team-stat-flag.tv2-flag-globe {
    font-size: 14px;
}

.tv2-dh-flag.tv2-flag-globe {
    font-size: 17px;
}

.tv2-card-region-code {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tv2-text-secondary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1;
}


/* ==========================================================================
   MOBILE FILTERS & LIST VIEW (< 992px)
   ========================================================================== */
.tv2-mobile-filter-panel {
    display: none;
    background: rgba(10, 19, 32, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--tv2-border-card);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.tv2-mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.tv2-mobile-filter-title {
    font-family: var(--tv2-font-orbitron);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--tv2-cyan);
    margin: 0;
}

.tv2-mobile-filter-toggle-btn {
    background: transparent;
    border: none;
    color: var(--tv2-cyan);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tv2-mobile-filter-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tv2-mobile-filter-select {
    width: 100%;
    background: rgba(14, 25, 44, 0.95);
    border: 1px solid rgba(0, 180, 216, 0.4);
    border-radius: 4px;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    outline: none;
}

.tv2-mobile-filter-select:focus {
    border-color: var(--tv2-cyan);
}

.tv2-mobile-filter-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.tv2-mobile-actions-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.tv2-mobile-btn-reset {
    background: transparent;
    border: 1px solid var(--tv2-cyan);
    color: var(--tv2-cyan);
    border-radius: 4px;
    font-family: var(--tv2-font-orbitron);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.tv2-mobile-btn-apply {
    background: var(--tv2-cyan-btn);
    border: 1px solid var(--tv2-cyan-btn);
    color: #0a1320;
    border-radius: 4px;
    font-family: var(--tv2-font-orbitron);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

/* Mobile Collapse Bottom Bar Arrow */
.tv2-mobile-collapse-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tv2-mobile-collapse-arrow-btn {
    background: transparent;
    border: none;
    color: var(--tv2-cyan);
    font-size: 1.1rem;
    cursor: pointer;
}

/* Mobile Team List Rows */
.tv2-mobile-teams-list {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
}

.tv2-team-row-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    outline: none;
}

.tv2-team-row {
    background: linear-gradient(90deg, rgba(16, 28, 48, 0.9) 0%, rgba(8, 14, 26, 0.95) 100%);
    border: 1px solid var(--tv2-border-card);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.tv2-team-row:hover,
.tv2-team-row:active {
    border-color: var(--tv2-cyan);
    background: linear-gradient(90deg, rgba(20, 36, 62, 0.95) 0%, rgba(10, 18, 34, 0.98) 100%);
    box-shadow: 0 0 12px rgba(0, 216, 246, 0.3);
}

.tv2-row-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.tv2-row-logo-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv2-row-logo {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.tv2-row-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.tv2-row-name {
    font-family: var(--tv2-font-rajdhani);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.tv2-row-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.tv2-row-chevron {
    color: var(--tv2-cyan);
    font-size: 1rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.tv2-team-row:hover .tv2-row-chevron {
    transform: translateX(3px);
}

/* Responsive Switch between Desktop Grid & Mobile Rows */
@media (max-width: 991px) {
    .tv2-header-section {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .tv2-search-form {
        max-width: 100%;
        margin-left: 0;
    }

    .tv2-desktop-sidebar {
        display: none !important;
    }

    .tv2-mobile-filter-panel {
        display: block !important;
    }

    .tv2-teams-grid {
        display: grid !important;
    }

    .tv2-mobile-teams-list {
        display: none !important;
    }

    .tv2-team-card {
        height: 112px;
        padding: 8px 6px 6px;
        gap: 4px;
    }

    .tv2-card-logo-wrap {
        height: 42px;
        max-height: 42px;
    }

    .tv2-card-logo {
        max-width: 44px;
        max-height: 40px;
    }

    .tv2-card-name {
        font-size: 0.84rem;
        margin: 0;
    }

    .tv2-card-region-code {
        font-size: 0.72rem;
    }

    .tv2-subtabs-row {
        gap: 0.5rem;
    }

    .tv2-subtab-btn {
        flex: 1 1 auto;
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   EMPTY STATE & LOADING SENTINEL
   ========================================================================== */
.tv2-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem;
    background: rgba(14, 25, 44, 0.6);
    border: 1px dashed rgba(0, 180, 216, 0.4);
    border-radius: 8px;
    text-align: center;
    width: 100%;
    margin: 1.5rem 0;
}

.tv2-empty-icon {
    font-size: 2.5rem;
    color: var(--tv2-cyan);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.tv2-empty-title {
    font-family: var(--tv2-font-orbitron);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.tv2-empty-desc {
    color: var(--tv2-text-secondary);
    font-size: 0.9rem;
    max-width: 400px;
    margin-bottom: 1.25rem;
}

.tv2-empty-reset-btn {
    background: transparent;
    border: 1px solid var(--tv2-cyan);
    color: var(--tv2-cyan);
    padding: 0.45rem 1.25rem;
    border-radius: 4px;
    font-family: var(--tv2-font-orbitron);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tv2-empty-reset-btn:hover {
    background: var(--tv2-cyan);
    color: #0a1320;
}

/* Light mode for empty state */
body.light .tv2-empty-state,
.light .tv2-empty-state {
    background: #ffffff !important;
    border: 1px dashed #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

body.light .tv2-empty-title,
.light .tv2-empty-title {
    color: #0f172a !important;
}

body.light .tv2-empty-desc,
.light .tv2-empty-desc {
    color: #64748b !important;
}


.tv2-loading-spinner-wrap {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    width: 100%;
}

.tv2-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(0, 216, 246, 0.2);
    border-top-color: var(--tv2-cyan);
    border-radius: 50%;
    animation: tv2Spin 0.8s linear infinite;
}

@keyframes tv2Spin {
    to { transform: rotate(360deg); }
}

.tv2-loading-text {
    font-family: var(--tv2-font-orbitron);
    font-size: 0.85rem;
    color: var(--tv2-text-secondary);
    letter-spacing: 1px;
}

/* ==========================================================================
   TAB PANES (TEAMS, TEAM STATS, TEAM PLAYER POOL)
   ========================================================================== */
.tv2-tab-pane {
    display: none;
    width: 100%;
}

.tv2-tab-pane.active {
    display: block;
}

/* ==========================================================================
   TEAM STATISTICS TABLE STYLING (MATCHING EVENT DETAIL V2)
   ========================================================================== */
.td-v2-teams-table-card {
    background: #0d1722;
    border: 1px solid rgba(48, 75, 102, 0.4);
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.td-v2-teams-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.td-v2-teams-table-wrap::-webkit-scrollbar {
    height: 6px;
}

.td-v2-teams-table-wrap::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.td-v2-teams-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(47, 224, 252, 0.35);
    border-radius: 3px;
}

.td-v2-teams-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
}

.td-v2-teams-table thead tr {
    background: #2D3032 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38) !important;
}

.td-v2-teams-table th {
    background: #2D3032 !important;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.2px;
    border: none !important;
    border-right: none !important;
    position: relative;
    user-select: none;
}

.td-v2-teams-table th.td-v2-th-team {
    text-align: left;
    padding-left: 20px;
}

.td-v2-th-inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.td-v2-th-title {
    cursor: pointer;
    transition: color 0.15s ease;
}

.td-v2-th-title:hover,
.tv2-sortable-th:hover .td-v2-th-title,
.tv2-sortable-th.active-sort .td-v2-th-title {
    color: #2fe0fc;
}

.td-v2-sort-arrow {
    font-size: 11px;
    color: #64748b;
    vertical-align: middle;
}

.tv2-sortable-th.active-sort .td-v2-sort-arrow {
    color: #2fe0fc;
}

/* Team Stats Ranked Table Specifics */
.td-v2-team-stats-ranked-table thead th {
    background: #2D3032 !important;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38) !important;
    padding: 12px 14px;
    white-space: nowrap;
}

.td-v2-team-stats-ranked-table thead th.td-v2-th-rank {
    width: 50px;
    min-width: 44px;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
}

.td-v2-team-stats-ranked-table td.td-v2-td-rank {
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13.5px;
    font-weight: 500;
    color: #cbd5e1;
}

.td-v2-rank-badge {
    display: inline-block;
    width: auto;
    height: auto;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: inherit !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    line-height: inherit !important;
}

.td-v2-team-stats-ranked-table tbody tr {
    background: #0d1723;
    border-bottom: 1px solid rgba(48, 75, 102, 0.25) !important;
    height: 48px;
    transition: background 0.15s ease;
}

.td-v2-team-stats-ranked-table tbody tr.d-none {
    display: none !important;
}

.td-v2-team-stats-ranked-table tbody tr:hover {
    background: rgba(0, 210, 247, 0.05) !important;
}

.td-v2-team-stats-ranked-table td {
    display: table-cell !important;
    padding: 8px 12px;
    vertical-align: middle;
    font-size: 13.5px;
    color: #cbd5e1;
    text-align: center;
    white-space: nowrap;
    border: none;
}

.td-v2-team-stats-ranked-table td.td-v2-td-team {
    text-align: left;
    padding-left: 20px;
    min-width: 200px;
}

.td-v2-team-stat-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    vertical-align: middle;
}

.td-v2-team-stat-flag {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
}

.td-v2-team-stat-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.td-v2-team-stat-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.hover-cyan:hover {
    color: #00d2f7 !important;
}

.td-v2-table-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, #00d2f7 0%, rgba(0, 210, 247, 0.2) 100%);
    width: 100%;
}

.td-v2-empty-table-cell {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Light mode support */
body.light .td-v2-teams-table-card,
.light .td-v2-teams-table-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light .td-v2-team-stats-ranked-table thead tr,
.light .td-v2-team-stats-ranked-table thead tr,
body.light .td-v2-team-stats-ranked-table thead th,
.light .td-v2-team-stats-ranked-table thead th {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-bottom: 1px solid #cbd5e1 !important;
}

body.light .td-v2-rank-badge,
.light .td-v2-rank-badge,
body.light .td-v2-team-stats-ranked-table td.td-v2-td-rank,
.light .td-v2-team-stats-ranked-table td.td-v2-td-rank {
    color: #334155 !important;
}

body.light .td-v2-team-stats-ranked-table tbody tr,
.light .td-v2-team-stats-ranked-table tbody tr {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.light .td-v2-team-stats-ranked-table tbody tr:hover,
.light .td-v2-team-stats-ranked-table tbody tr:hover {
    background: #f1f5f9 !important;
}

body.light .td-v2-team-stats-ranked-table td,
.light .td-v2-team-stats-ranked-table td {
    color: #334155;
}

body.light .td-v2-team-stat-name,
.light .td-v2-team-stat-name {
    color: #0f172a;
}

/* ==========================================================================
   TEAM PLAYER POOL STYLES (MATCHING EVENT DETAILS V2 TEAM PLAYER POOL)
   ========================================================================== */
.tv2-pool-container {
    width: 100%;
}

.tv2-pool-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    align-items: start;
}

@media (max-width: 1400px) {
    .tv2-pool-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 1200px) {
    .tv2-pool-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .tv2-pool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .tv2-pool-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Participant Section Header & Global Toggle (Detail Events V2 PARTICIPANT style) */
.td-v2-participants-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.td-v2-participants-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3fdcf9;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.td-v2-participants-toggle:hover {
    color: #ffffff;
}

.td-v2-toggle-chevron {
    font-size: 11px;
    transition: transform 0.25s ease;
    transform: rotate(180deg);
}

.td-v2-participants-toggle.collapsed .td-v2-toggle-chevron {
    transform: rotate(0deg);
}

body.light .td-v2-participants-toggle,
.light .td-v2-participants-toggle {
    color: #0284c7;
}

body.light .td-v2-participants-toggle:hover,
.light .td-v2-participants-toggle:hover {
    color: #0369a1;
}

/* Cyber Team Card (Style Versi Sebelumnya) */
.td-v2-cyber-team-card {
    background: #0c1724;
    border: 1px solid rgba(64, 225, 254, 0.22);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.td-v2-cyber-team-card:hover {
    border-color: rgba(64, 225, 254, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(64, 225, 254, 0.1);
}

.td-v2-ctc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(48, 75, 102, 0.35);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.td-v2-ctc-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.td-v2-ctc-logo-wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.td-v2-ctc-logo-wrap a:hover .td-v2-ctc-logo {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(0, 210, 247, 0.45));
}

.td-v2-ctc-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.td-v2-ctc-vdivider {
    width: 2px;
    height: 24px;
    background: #00d2f7;
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(0, 210, 247, 0.5);
    flex-shrink: 0;
}

.td-v2-ctc-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
    flex: 1;
    min-width: 0;
}

.td-v2-ctc-name a {
    color: inherit;
    text-decoration: none;
}

.td-v2-ctc-name a:hover {
    color: #00d2f7 !important;
}

/* Accordion Toggle Chevron (Style Event Details V2) */
.td-v2-ctc-chevron {
    color: #3fdcf9;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    margin-left: auto;
    transform: rotate(180deg);
}

.td-v2-ctc-header:hover .td-v2-ctc-chevron {
    color: #ffffff;
}

.td-v2-cyber-team-card.collapsed .td-v2-ctc-chevron {
    transform: rotate(0deg);
}

.td-v2-cyber-team-card.collapsed .td-v2-ctc-header {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.td-v2-cyber-team-card.collapsed .td-v2-ctc-body {
    display: none !important;
}

.td-v2-cyber-team-card.is-empty-roster .td-v2-ctc-header {
    cursor: default;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.td-v2-cyber-team-card.is-empty-roster .td-v2-ctc-chevron {
    display: none;
}

.td-v2-ctc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Max-Height & Scrollbar on Players List */
.td-v2-ctc-players {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 290px;
    overflow-y: auto;
    padding-right: 4px;
}

.td-v2-ctc-players::-webkit-scrollbar {
    width: 4px;
}

.td-v2-ctc-players::-webkit-scrollbar-track {
    background: rgba(13, 23, 37, 0.35);
    border-radius: 4px;
}

.td-v2-ctc-players::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 247, 0.35);
    border-radius: 4px;
}

.td-v2-ctc-players::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 210, 247, 0.7);
}

.td-v2-ctc-player-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(13, 23, 37, 0.85);
    border: 1px solid rgba(48, 75, 102, 0.3);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.td-v2-ctc-player-row:hover {
    background: rgba(0, 210, 247, 0.1);
    border-color: rgba(0, 210, 247, 0.4);
    transform: translateX(3px);
}

.td-v2-ctc-icon-frame {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(0, 210, 247, 0.35);
    background: rgba(0, 210, 247, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.td-v2-ctc-role-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.td-v2-ctc-icon-frame.is-empty {
    visibility: hidden;
}

.td-v2-ctc-player-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
    flex: 1;
    min-width: 0;
}

.td-v2-ctc-player-name a {
    color: inherit;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.td-v2-ctc-player-row:hover .td-v2-ctc-player-name,
.td-v2-ctc-player-row:hover .td-v2-ctc-player-name a {
    color: #00d2f7 !important;
}

/* Light mode for Cyber Team Card */
body.light .td-v2-cyber-team-card,
.light .td-v2-cyber-team-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

body.light .td-v2-cyber-team-card:hover,
.light .td-v2-cyber-team-card:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15) !important;
}

body.light .td-v2-ctc-header,
.light .td-v2-ctc-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

body.light .td-v2-cyber-team-card.collapsed .td-v2-ctc-header,
.light .td-v2-cyber-team-card.collapsed .td-v2-ctc-header {
    border-bottom: none !important;
}

body.light .td-v2-ctc-name,
.light .td-v2-ctc-name {
    color: #0f172a !important;
}

body.light .td-v2-ctc-chevron,
.light .td-v2-ctc-chevron {
    color: #0284c7 !important;
}

body.light .td-v2-ctc-header:hover .td-v2-ctc-chevron,
.light .td-v2-ctc-header:hover .td-v2-ctc-chevron {
    color: #0369a1 !important;
}

body.light .td-v2-ctc-player-row,
.light .td-v2-ctc-player-row {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.light .td-v2-ctc-player-row:hover,
.light .td-v2-ctc-player-row:hover {
    background: #f0f9ff !important;
    border-color: #0284c7 !important;
}

body.light .td-v2-ctc-player-name,
.light .td-v2-ctc-player-name {
    color: #1e293b !important;
}

body.light .td-v2-ctc-player-row:hover .td-v2-ctc-player-name a,
.light .td-v2-ctc-player-row:hover .td-v2-ctc-player-name a {
    color: #0284c7 !important;
}

body.light .td-v2-ctc-icon-frame,
.light .td-v2-ctc-icon-frame {
    background: #e0f2fe !important;
    border: 1px solid #7dd3fc !important;
}

body.light .td-v2-ctc-role-icon,
.light .td-v2-ctc-role-icon {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15)) !important;
}

/* Fallback role icon in light mode turned crisp dark */
body.light .td-v2-ctc-role-icon.is-fallback,
.light .td-v2-ctc-role-icon.is-fallback,
body.light .td-v2-ctc-role-icon:not([src*="-1.png"]),
.light .td-v2-ctc-role-icon:not([src*="-1.png"]) {
    filter: brightness(0) opacity(0.82) !important;
}

body.light .td-v2-ctc-players::-webkit-scrollbar-track,
.light .td-v2-ctc-players::-webkit-scrollbar-track {
    background: #f1f5f9;
}

body.light .td-v2-ctc-players::-webkit-scrollbar-thumb,
.light .td-v2-ctc-players::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

body.light .td-v2-ctc-players::-webkit-scrollbar-thumb:hover,
.light .td-v2-ctc-players::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}



/* ==========================================================================
   TEAMS INNER PAGE / DETAILS V2 STYLING (MATCHING MOCKUP)
   ========================================================================== */

.tv2-detail-container {
    color: #e0e6ed;
    position: relative;
    padding-bottom: 80px;
    background: url("../images/bgs/1080p-bg-dark.webp") center top / cover fixed no-repeat;
    min-height: 100vh;
}

/* Remove all drop-shadows & box-shadows on images, logos, flags, avatars in Team Details V2 */
.tv2-detail-container img,
.tv2-detail-container .tv2-pc-photo,
.tv2-detail-container .tv2-pcm-photo,
.tv2-detail-container .tv2-oc-photo,
.tv2-detail-container .tv2-ocm-photo,
.tv2-detail-container .tv2-dh-logo,
.tv2-detail-container .tv2-dh-logo-box,
.tv2-detail-container .tv2-dh-flag,
.tv2-detail-container .tv2-pc-team-logo,
.tv2-detail-container .tv2-oc-team-logo,
.tv2-detail-container .tv2-pcm-team-logo,
.tv2-detail-container .tv2-ocm-team-logo,
.tv2-detail-container .tv2-pc-role-icon,
.tv2-detail-container .tv2-pcm-role-icon,
.tv2-detail-container .tv2-dh-social-img,
.tv2-detail-container .td-v2-title-ornament,
.tv2-detail-container .tv2-sec-heading-icon,
.tv2-detail-container .tv2-sec-icon-cyan {
    filter: none !important;
    box-shadow: none !important;
}

/* Header & Overview Card */
.tv2-detail-header-card {
    background: linear-gradient(135deg, rgba(8, 20, 36, 0.92) 0%, rgba(5, 12, 22, 0.96) 100%);
    border: 1px solid rgba(0, 216, 246, 0.25);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.tv2-dh-top-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.tv2-dh-team-info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.75rem;
    flex: 1;
    min-width: 320px;
}

.tv2-dh-logo-box {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 12, 22, 0.6);
    border: 1px solid rgba(0, 216, 246, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: none;
}

.tv2-dh-logo {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    filter: none;
}

.tv2-dh-title-col {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
    min-width: 260px;
}

.tv2-dh-name-rank-wrap {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.tv2-dh-team-name {
    font-family: var(--tv2-font-orbitron);
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 0 16px rgba(0, 216, 246, 0.4);
}

.tv2-dh-rank-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.tv2-dh-rank-num {
    font-family: var(--tv2-font-orbitron);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--tv2-cyan);
    text-shadow: 0 0 12px rgba(0, 216, 246, 0.6);
}

.tv2-dh-rank-lbl {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--tv2-text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.tv2-dh-region-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.tv2-dh-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: none;
}

.tv2-dh-region-text {
    font-family: var(--tv2-font-rajdhani);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
}

.tv2-dh-bio {
    font-size: 0.88rem;
    color: #9db2c6;
    line-height: 1.6;
    max-width: 680px;
    margin-top: 0.35rem;
}

/* Controls Column: Socials */
.tv2-dh-controls-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.25rem;
}

.tv2-dh-socials-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.tv2-dh-socials-title {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tv2-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tv2-dh-social-icons {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tv2-dh-social-link {
    color: #9db2c6;
    font-size: 1.15rem;
    text-decoration: none !important;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.tv2-dh-social-link:hover {
    color: var(--tv2-cyan);
    text-shadow: 0 0 8px rgba(0, 216, 246, 0.7);
}

.tv2-dh-social-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Filters Box in Header (1 Row below description) */
/* Filters Box in Header (1 Row below description - Full Width) */
.tv2-dh-filters-box {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    margin-top: 0.85rem;
}

.tv2-dh-filter-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.tv2-dh-dropdown-wrap {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.tv2-dh-dropdown-wrap.is-open {
    z-index: 110;
}

.tv2-dh-dropdown-btn {
    width: 100%;
    height: 36px;
    background: rgba(8, 18, 30, 0.85);
    border: 1px solid rgba(0, 216, 246, 0.3);
    border-radius: 6px;
    color: #ffffff;
    padding: 0 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tv2-dh-dropdown-btn:hover,
.tv2-dh-dropdown-wrap.is-open .tv2-dh-dropdown-btn,
.tv2-dh-dropdown-btn[aria-expanded="true"] {
    border-color: var(--tv2-cyan);
    box-shadow: 0 0 10px rgba(0, 216, 246, 0.35);
}

.tv2-dh-btn-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.tv2-dh-chevron {
    font-size: 0.75rem;
    color: var(--tv2-cyan);
    transition: transform 0.25s ease, color 0.25s ease;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.tv2-dh-dropdown-wrap.is-open .tv2-dh-chevron,
.tv2-dh-dropdown-btn[aria-expanded="true"] .tv2-dh-chevron {
    transform: rotate(180deg);
    color: #5dedff;
}

.tv2-dh-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    min-width: 200px;
    background: #07121e;
    border: 1px solid var(--tv2-cyan);
    border-radius: 4px;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.tv2-dh-menu-item {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    color: #c0d1e1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.tv2-dh-menu-item:hover {
    background: rgba(0, 216, 246, 0.15);
    color: #ffffff;
}

.tv2-dh-menu-item.active {
    background: rgba(0, 216, 246, 0.25);
    color: var(--tv2-cyan);
    font-weight: 600;
}

/* Multi-select Tournament Menu */
.tv2-dh-multi-menu {
    padding: 0.5rem;
}

.tv2-dh-search-wrap {
    margin-bottom: 0.5rem;
}

.tv2-dh-search-input {
    width: 100%;
    background: rgba(4, 12, 20, 0.9);
    border: 1px solid rgba(0, 216, 246, 0.3);
    border-radius: 3px;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
}

.tv2-dh-search-input:focus {
    outline: none;
    border-color: var(--tv2-cyan);
}

.tv2-dh-tourn-list {
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tv2-dh-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #c0d1e1;
    cursor: pointer;
    padding: 0.3rem 0.4rem;
    border-radius: 3px;
    transition: background 0.15s ease;
    margin-bottom: 0;
}

.tv2-dh-checkbox-item:hover {
    background: rgba(0, 216, 246, 0.12);
    color: #ffffff;
}

.tv2-dh-cb-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.tv2-dh-empty-menu-text {
    font-size: 0.78rem;
    color: var(--tv2-text-muted);
    text-align: center;
    padding: 0.5rem;
}

/* Clear & Apply Buttons */
.tv2-dh-btn-clear {
    background: transparent;
    border: 1px solid rgba(0, 216, 246, 0.35);
    border-radius: 4px;
    color: #ffffff;
    font-family: var(--tv2-font-rajdhani);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.42rem 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tv2-dh-btn-clear:hover {
    background: rgba(0, 216, 246, 0.15);
    border-color: var(--tv2-cyan);
}

.tv2-dh-btn-apply {
    background: var(--tv2-cyan, #00d8f6);
    color: #000000;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 0 20px;
    height: 36px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.tv2-dh-btn-apply:hover {
    background: #5dedff;
    box-shadow: 0 0 12px rgba(64, 225, 254, 0.6);
}

.tv2-dh-btn-apply.loading {
    opacity: 0.6;
    pointer-events: none;
}

.tv2-dh-filter-error {
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 0.25rem;
    line-height: 1.4;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* ==========================================================================
   TEAM PERFORMANCE STATS CARDS (11 CARDS)
   ========================================================================== */
.tv2-stats-container {
    position: relative;
    margin: 1.5rem 0 2rem;
    min-height: 120px;
    transition: opacity 0.25s ease;
}

.tv2-stats-container.is-loading .tv2-stats-row {
    opacity: 0.35;
    pointer-events: none;
    filter: blur(1.5px);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.tv2-stats-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background: rgba(10, 14, 23, 0.45);
    backdrop-filter: blur(2px);
    border-radius: 12px;
}

.dt-dots-loading {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dt-dots-loading span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00f2fe;
    animation: tv2DotBounce 1.4s ease-in-out infinite both;
}

.dt-dots-loading span:nth-child(1) {
    animation-delay: -0.32s;
}

.dt-dots-loading span:nth-child(2) {
    animation-delay: -0.16s;
}

.dt-dots-loading span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes tv2DotBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.tv2-stats-container .tv2-stats-row,
div.tv2-stats-row {
    display: grid;
    gap: 0.75rem;
}

.tv2-stats-row-6 {
    grid-template-columns: repeat(6, 1fr);
}

.tv2-stats-row-5 {
    grid-template-columns: repeat(5, 1fr);
    margin-top: 0.75rem;
}

.tv2-stat-card {
    background: rgba(8, 20, 34, 0.85);
    border: 1px solid rgba(0, 216, 246, 0.25);
    border-radius: 6px;
    padding: 1.1rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tv2-stat-val {
    font-family: var(--tv2-font-orbitron);
    font-size: 1.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.tv2-stat-lbl {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tv2-cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.35rem;
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
.tv2-section-wrap {
    margin-bottom: 2rem;
}

.tv2-sec-heading-wrap {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.tv2-sec-title {
    font-family: var(--tv2-font-orbitron);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--tv2-cyan);
    text-shadow: 0 0 12px rgba(0, 216, 246, 0.5);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.tv2-sec-icon-cyan {
    color: var(--tv2-cyan);
    font-size: 1.4rem;
    filter: none;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   PLAYERS SECTION
   ========================================================================== */
.tv2-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.tv2-player-card {
    background: linear-gradient(180deg, rgba(10, 25, 42, 0.95) 0%, rgba(6, 14, 24, 0.98) 100%);
    border: 1px solid rgba(0, 216, 246, 0.28);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tv2-player-card:hover {
    transform: translateY(-4px);
    border-color: var(--tv2-cyan);
    box-shadow: 0 0 20px rgba(0, 216, 246, 0.4);
}

.tv2-pc-photo-wrap {
    width: 100%;
    height: 180px;
    background: radial-gradient(circle at center, rgba(0, 216, 246, 0.15) 0%, rgba(4, 12, 22, 0.8) 75%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-top: 6px;
}

.tv2-pc-photo {
    max-height: 93%;
    width: auto;
    object-fit: contain;
    filter: none;
}

.tv2-pc-photo.tv2-is-mockup,
.tv2-pc-photo[src*="mockup"],
.tv2-pc-photo[src*="player-front"] {
    max-height: 94%;
    transform: scale(1.04);
    transform-origin: bottom center;
}

.tv2-pc-info {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.tv2-pc-ign {
    font-family: var(--tv2-font-orbitron);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.tv2-pc-meta-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.tv2-pc-team-logo-wrap {
    display: flex;
    align-items: center;
}

.tv2-pc-team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.tv2-pc-connector {
    display: none !important;
}

.tv2-pc-role-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tv2-pc-role-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.tv2-pc-role-text {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tv2-text-secondary);
}

/* Mobile Player Cards */
.tv2-players-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tv2-player-card-mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(90deg, rgba(10, 25, 42, 0.9) 0%, rgba(6, 14, 24, 0.95) 100%);
    border: 1px solid rgba(0, 216, 246, 0.28);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tv2-player-card-mobile:hover {
    border-color: var(--tv2-cyan);
    box-shadow: 0 0 15px rgba(0, 216, 246, 0.35);
}

.tv2-pcm-photo-wrap {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 216, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv2-pcm-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv2-pcm-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tv2-pcm-ign {
    font-family: var(--tv2-font-orbitron);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.tv2-pcm-team-role {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.tv2-pcm-team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.tv2-pcm-divider {
    display: none !important;
}

.tv2-pcm-line {
    height: 1px;
    flex: 1;
    background: rgba(0, 216, 246, 0.3);
}

.tv2-pcm-diamond {
    width: 5px;
    height: 5px;
    background: var(--tv2-cyan);
    transform: rotate(45deg);
}

.tv2-pcm-role {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.tv2-pcm-role-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ==========================================================================
   ORGANIZATION SECTION
   ========================================================================== */
.tv2-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.tv2-org-card {
    background: linear-gradient(180deg, rgba(10, 25, 42, 0.95) 0%, rgba(6, 14, 24, 0.98) 100%);
    border: 1px solid rgba(0, 216, 246, 0.28);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tv2-org-card:hover {
    transform: translateY(-4px);
    border-color: var(--tv2-cyan);
    box-shadow: 0 0 20px rgba(0, 216, 246, 0.4);
}

.tv2-oc-photo-wrap {
    width: 100%;
    height: 180px;
    background: radial-gradient(circle at center, rgba(0, 216, 246, 0.12) 0%, rgba(4, 12, 22, 0.8) 75%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-top: 6px;
}

.tv2-oc-photo {
    max-height: 93%;
    width: auto;
    object-fit: contain;
    filter: none;
}

.tv2-oc-photo.tv2-is-mockup,
.tv2-oc-photo[src*="mockup"],
.tv2-oc-photo[src*="player-front"] {
    max-height: 94%;
    transform: scale(1.04);
    transform-origin: bottom center;
}

.tv2-oc-info {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.tv2-oc-name {
    font-family: var(--tv2-font-orbitron);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.tv2-oc-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tv2-oc-team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.tv2-oc-connector {
    display: none !important;
}

.tv2-oc-line {
    height: 1px;
    flex: 1;
    background: rgba(0, 216, 246, 0.3);
}

.tv2-oc-diamond {
    width: 4px;
    height: 4px;
    background: var(--tv2-cyan);
    transform: rotate(45deg);
}

.tv2-oc-role-text {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tv2-text-secondary);
}

/* Mobile Organization Cards */
.tv2-org-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tv2-org-card-mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(90deg, rgba(10, 25, 42, 0.9) 0%, rgba(6, 14, 24, 0.95) 100%);
    border: 1px solid rgba(0, 216, 246, 0.28);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.tv2-ocm-photo-wrap {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 216, 246, 0.1);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.tv2-ocm-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tv2-pcm-photo.tv2-is-mockup,
.tv2-pcm-photo[src*="mockup"],
.tv2-pcm-photo[src*="player-front"],
.tv2-ocm-photo.tv2-is-mockup,
.tv2-ocm-photo[src*="mockup"],
.tv2-ocm-photo[src*="player-front"] {
    transform: scale(1.05);
    transform-origin: bottom center;
}

.tv2-ocm-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tv2-ocm-name {
    font-family: var(--tv2-font-orbitron);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.tv2-ocm-team-role {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.tv2-ocm-team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.tv2-ocm-divider {
    display: none !important;
}

.tv2-ocm-line {
    height: 1px;
    flex: 1;
    background: rgba(0, 216, 246, 0.3);
}

.tv2-ocm-diamond {
    width: 5px;
    height: 5px;
    background: var(--tv2-cyan);
    transform: rotate(45deg);
}

.tv2-ocm-role {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

/* ==========================================================================
   ACHIEVEMENTS & MATCHES TABLES
   ========================================================================== */
.tv2-cyber-table-card {
    background: rgba(8, 20, 34, 0.88);
    border: 1px solid rgba(0, 216, 246, 0.25);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.tv2-cyber-table {
    width: 100%;
    margin-bottom: 0;
    color: #c8d8e8;
    border-collapse: separate;
    border-spacing: 0;
}

.tv2-cyber-table thead th {
    font-family: var(--tv2-font-rajdhani);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tv2-cyan);
    letter-spacing: 1px;
    padding: 0.85rem 1.25rem;
    background: rgba(6, 16, 28, 0.95);
    border-bottom: 1px solid rgba(0, 216, 246, 0.3);
    text-transform: uppercase;
}

.tv2-cyber-table tbody td {
    font-size: 0.9rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(0, 216, 246, 0.1);
    vertical-align: middle;
    background: transparent;
}

.tv2-cyber-table tbody tr:hover td {
    background: rgba(0, 216, 246, 0.05);
}

.tv2-th-sortable {
    cursor: pointer;
    user-select: none;
}

.tv2-th-sortable:hover {
    color: #ffffff;
}

.tv2-th-caret {
    font-size: 0.75rem;
    margin-left: 0.35rem;
}

/* Table headers: Capitalize only first letter of each word (Title Case) */
#tv2AchievementsTable thead th,
#tv2MatchesTable thead th,
#tv2AchievementsTable .td-v2-th-title,
#tv2MatchesTable .td-v2-th-title {
    text-transform: capitalize !important;
}

/* Achievements Table Compact Columns & Height */
#tv2AchievementsTable {
    table-layout: auto;
    width: 100%;
}

#tv2AchievementsTable thead tr {
    height: 36px !important;
}

#tv2AchievementsTable tbody tr {
    height: 40px !important;
}

#tv2AchievementsTable th {
    padding: 7px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

#tv2AchievementsTable td {
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

#tv2AchievementsTable th.tv2-ach-th-no,
#tv2AchievementsTable td.tv2-ach-td-no {
    width: 56px !important;
    min-width: 50px !important;
    text-align: center;
    font-size: 12px !important;
    color: #e2e8f0;
}

#tv2AchievementsTable th.tv2-ach-th-date,
#tv2AchievementsTable td.tv2-ach-td-date {
    min-width: 150px !important;
    white-space: nowrap !important;
    padding-right: 16px !important;
    font-size: 12px !important;
    color: #e2e8f0;
}

#tv2AchievementsTable th.tv2-ach-th-place,
#tv2AchievementsTable td.tv2-ach-td-place {
    min-width: 85px !important;
    white-space: nowrap !important;
    text-align: center;
    padding-left: 8px !important;
    padding-right: 12px !important;
}

#tv2AchievementsTable th.tv2-ach-th-tier,
#tv2AchievementsTable td.tv2-ach-td-tier {
    min-width: 72px !important;
    text-align: center;
    font-size: 12px !important;
    color: #e2e8f0;
}

#tv2AchievementsTable th.tv2-ach-th-tourn,
#tv2AchievementsTable td.tv2-ach-td-tourn {
    min-width: 220px !important;
    font-size: 12px !important;
}

#tv2AchievementsTable th.tv2-ach-th-result,
#tv2AchievementsTable td.tv2-ach-td-result {
    min-width: 90px !important;
    text-align: center;
    font-size: 12px !important;
}

#tv2AchievementsTable th.tv2-ach-th-prize,
#tv2AchievementsTable td.tv2-ach-td-prize {
    min-width: 110px !important;
    text-align: center;
    white-space: nowrap !important;
    font-size: 12px !important;
    color: #e2e8f0;
}

@media (max-width: 767px) {
    #tv2AchievementsTable thead tr {
        height: 32px !important;
    }

    #tv2AchievementsTable tbody tr {
        height: 36px !important;
    }

    #tv2AchievementsTable th {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }

    #tv2AchievementsTable td {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }

    #tv2AchievementsTable th.tv2-ach-th-date,
    #tv2AchievementsTable td.tv2-ach-td-date {
        width: 125px !important;
        min-width: 120px !important;
        white-space: nowrap !important;
        padding-left: 6px !important;
        padding-right: 12px !important;
        font-size: 11px !important;
    }

    #tv2AchievementsTable th.tv2-ach-th-place,
    #tv2AchievementsTable td.tv2-ach-td-place {
        width: 65px !important;
        min-width: 60px !important;
        white-space: nowrap !important;
        padding-left: 4px !important;
        padding-right: 10px !important;
    }

    #tv2AchievementsTable th.tv2-ach-th-tourn,
    #tv2AchievementsTable td.tv2-ach-td-tourn {
        width: auto !important;
        min-width: 90px;
        padding-left: 5px !important;
        padding-right: 6px !important;
        font-size: 11px !important;
    }
}

.tv2-place-badge,
.tv2-place-badge.place-1st,
.tv2-place-badge.place-2nd,
.tv2-place-badge.place-3rd {
    font-family: inherit !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    padding: 1.5px 6px !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    display: inline-block;
}

.tv2-tourn-link {
    color: #e2e8f0;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.tv2-tourn-link:hover {
    color: var(--tv2-cyan);
}

/* Pagination Footer inside Table Card (matches Player V2) */
.td-v2-teams-table-card .pv2-pagination-footer,
.pv2-table-card .pv2-pagination-footer,
.pv2-pagination-footer,
.tv2-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.38);
    background: #0d1722;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 14px;
}

.pv2-pagination-summary {
    display: flex;
    flex-direction: column;
}

.pv2-showing-text {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.pv2-pagination-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.pv2-page-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-default-text, #ffffff);
    background-color: transparent !important;
    border: none !important;
    border-radius: 2px !important;
    text-decoration: none;
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    user-select: none;
}

.pv2-page-btn:hover:not(:disabled):not(.disabled) {
    opacity: 1;
    background-color: rgba(46, 211, 248, 0.15) !important;
    color: #ffffff !important;
}

/* Active page square: matching View Tournament / Events V2 button (#2ed3f8 background, #10161c navy text) */
.pv2-page-btn.active {
    background: #2ed3f8 !important;
    color: #10161c !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    box-shadow: 0 0 12px rgba(46, 211, 248, 0.35);
}

.pv2-page-btn.active:hover {
    background: #5ce0ff !important;
    color: #10161c !important;
}

.pv2-page-btn:disabled,
.pv2-page-btn.disabled {
    opacity: 0.35 !important;
    cursor: not-allowed;
    background-color: transparent !important;
}

/* Arrow icons (Previous & Next): Blue/Cyan crystal matching Events V2 */
.pv2-page-btn .ui-icon-circle-triangle-w,
.pv2-page-btn .ui-icon-circle-triangle-e {
    background: url("../images/orns/arrow-blue.png") !important;
    background-image: url("../images/orns/arrow-blue.png") !important;
    background-size: 100% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: opacity 0.2s ease, filter 0.2s ease;
    width: 14px;
    height: 14px;
    display: inline-block;
}

.pv2-page-btn .ui-prev.ui-icon-circle-triangle-e {
    transform: rotate(180deg);
}

.pv2-page-btn:not(.disabled):not(:disabled):hover .ui-icon-circle-triangle-w,
.pv2-page-btn:not(.disabled):not(:disabled):hover .ui-icon-circle-triangle-e {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(46, 211, 248, 0.6));
}

.pv2-page-dots {
    color: rgba(255, 255, 255, 0.6);
    padding: 0 4px;
    font-size: 13px;
    user-select: none;
}

/* Compact Pagination Footer for Achievements & Matches Tables */
#tv2AchievementsPagination,
#tv2MatchesPagination {
    padding: 6px 14px !important;
}

#tv2AchievementsPagination .pv2-showing-text,
#tv2MatchesPagination .pv2-showing-text {
    font-size: 11px !important;
}

#tv2AchievementsPagination .pv2-page-btn,
#tv2MatchesPagination .pv2-page-btn {
    min-width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
    padding: 0 4px !important;
}

@media (max-width: 767px) {
    #tv2AchievementsPagination,
    #tv2MatchesPagination {
        padding: 5px 8px !important;
        gap: 6px !important;
    }

    #tv2AchievementsPagination .pv2-showing-text,
    #tv2MatchesPagination .pv2-showing-text {
        font-size: 10px !important;
    }

    #tv2AchievementsPagination .pv2-page-btn,
    #tv2MatchesPagination .pv2-page-btn {
        min-width: 22px !important;
        height: 22px !important;
        font-size: 10px !important;
    }
}

/* Matches Table Specifics, Compact Height & Column Sizing */
#tv2MatchesTable {
    table-layout: auto;
    width: 100%;
}

#tv2MatchesTable thead tr {
    height: 36px !important;
}

#tv2MatchesTable tbody tr {
    height: 44px !important;
}

#tv2MatchesTable th {
    padding: 7px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

#tv2MatchesTable td {
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

/* Date column: Increased width for clear spacing */
#tv2MatchesTable th.tv2-match-th-date,
#tv2MatchesTable td.tv2-match-td-date {
    width: 160px !important;
    min-width: 150px !important;
    white-space: nowrap !important;
    padding-right: 20px !important;
}

#tv2MatchesTable th.tv2-match-th-event,
#tv2MatchesTable td.tv2-match-td-event {
    min-width: 190px !important;
    font-size: 12px !important;
}

.tv2-match-row.tv2-row-clickable {
    cursor: pointer;
}

.tv2-match-row.tv2-row-clickable:hover {
    background: rgba(0, 210, 247, 0.08) !important;
}

.tv2-match-date-val {
    font-weight: 600;
    color: #ffffff;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: nowrap;
}

.tv2-match-time-val {
    font-size: 10px !important;
    color: var(--tv2-text-muted);
    line-height: 1.15 !important;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.tv2-match-event-text {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

#tv2MatchesTable th.tv2-match-th-result,
#tv2MatchesTable td.tv2-match-td-result {
    min-width: 340px !important;
}

#tv2MatchesTable th.tv2-match-th-actions,
#tv2MatchesTable td.tv2-match-td-actions {
    width: 80px !important;
    min-width: 72px !important;
    white-space: nowrap !important;
}

.tv2-match-result-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
}

.tv2-match-result-team {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 150px;
    min-width: 110px;
}

.tv2-match-result-team.tv2-mrt-left {
    justify-content: flex-end;
}

.tv2-match-result-team.tv2-mrt-right {
    justify-content: flex-start;
}

.tv2-match-result-team .td-v2-team-stat-name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 108px;
}

.tv2-match-result-wrap .td-v2-match-score {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    #tv2MatchesTable thead tr {
        height: 32px !important;
    }

    #tv2MatchesTable tbody tr {
        height: 40px !important;
    }

    #tv2MatchesTable th {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }

    #tv2MatchesTable td {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }

    #tv2MatchesTable th.tv2-match-th-date,
    #tv2MatchesTable td.tv2-match-td-date {
        width: 120px !important;
        min-width: 115px !important;
        white-space: nowrap !important;
        padding-left: 6px !important;
        padding-right: 12px !important;
        font-size: 11px !important;
    }

    #tv2MatchesTable th.tv2-match-th-event,
    #tv2MatchesTable td.tv2-match-td-event {
        width: auto !important;
        min-width: 110px;
        padding-left: 5px !important;
        padding-right: 6px !important;
    }

    .tv2-match-date-val {
        font-size: 11px !important;
        line-height: 1.15 !important;
    }

    .tv2-match-time-val {
        font-size: 9.5px !important;
        line-height: 1.1 !important;
        max-width: 85px;
    }

    .tv2-match-event-text {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 991px) {
    .td-v2-teams-table-wrap.tv2-matches-wrap,
    .td-v2-teams-table-wrap.tv2-ach-wrap {
        overflow-x: visible !important;
    }
    #tv2MatchesTable,
    #tv2AchievementsTable {
        min-width: 0 !important;
        width: 100% !important;
    }
    #tv2AchievementsTable td.tv2-ach-td-tourn {
        white-space: normal;
        word-break: break-word;
    }
}

@media (max-width: 991px) {
    .td-v2-teams-table-wrap.tv2-matches-wrap,
    .td-v2-teams-table-wrap.tv2-ach-wrap {
        overflow-x: auto !important;
    }

    #tv2MatchesTable {
        min-width: 680px !important;
        width: 100% !important;
    }

    #tv2AchievementsTable {
        min-width: 720px !important;
        width: 100% !important;
    }

    #tv2MatchesTable .tv2-match-event-text {
        white-space: nowrap;
    }

    #tv2AchievementsTable td.tv2-ach-td-tourn {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    #tv2MatchesTable th.tv2-match-th-result,
    #tv2MatchesTable td.tv2-match-td-result {
        min-width: 300px !important;
    }

    .tv2-match-result-team {
        width: 120px;
        min-width: 96px;
    }

    .tv2-match-result-team .td-v2-team-stat-name {
        max-width: 80px;
        font-size: 11px !important;
    }
}

.tv2-empty-state-text,
.tv2-empty-td {
    color: var(--tv2-text-muted);
    font-size: 0.88rem;
    padding: 1.5rem 0;
}

/* Light mode for Achievements & Matches Tables */
body.light .tv2-table-footer,
.light .tv2-table-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

body.light .tv2-tf-count,
.light .tv2-tf-count {
    color: #64748b;
}

body.light .tv2-tf-page-btn,
.light .tv2-tf-page-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

body.light .tv2-tf-page-btn:hover:not(:disabled),
.light .tv2-tf-page-btn:hover:not(:disabled) {
    background: #f1f5f9;
    color: #0284c7;
    border-color: #0284c7;
}

body.light .tv2-match-date-val,
.light .tv2-match-date-val {
    color: #0f172a;
}

body.light .tv2-match-time-val,
.light .tv2-match-time-val {
    color: #64748b;
}

body.light .tv2-match-event-text,
.light .tv2-match-event-text {
    color: #1e293b;
}

body.light .tv2-tourn-link,
.light .tv2-tourn-link {
    color: #0f172a;
}

body.light .tv2-tourn-link:hover,
.light .tv2-tourn-link:hover {
    color: #0284c7;
}

body.light .tv2-th-sortable:hover .td-v2-th-title,
.light .tv2-th-sortable:hover .td-v2-th-title,
body.light .tv2-th-sortable:hover .tv2-th-caret,
.light .tv2-th-sortable:hover .tv2-th-caret {
    color: #0284c7 !important;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .tv2-stats-row-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .tv2-stats-row-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .tv2-detail-header-card {
        padding: 1.25rem;
    }
    .tv2-dh-top-row {
        flex-direction: column;
    }
    .tv2-dh-controls-col {
        align-items: flex-start;
        width: 100%;
    }
    .tv2-dh-socials-wrap {
        align-items: flex-start;
    }
    .tv2-dh-filters-box {
        max-width: 100%;
    }
    .tv2-stats-row-6,
    .tv2-stats-row-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Mobile Sidebar "TEAMS" Title Padding */
    .tv2-detail-container .td-v2-nav-header-title,
    .td-v2-sidebar-wrapper .td-v2-nav-header-title {
        padding: 14px 14px 8px 14px;
        margin-bottom: 6px;
        box-sizing: border-box;
    }

    /* Mobile Sidebar Drawer Toggle Follows Drawer */
    .td-v2-mobile-sidebar-toggle.drawer-open {
        left: min(275px, 82vw) !important;
    }
}

@media (max-width: 767px) {
    .tv2-dh-filter-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tv2-dh-dropdown-wrap {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        width: auto;
    }

    #tv2TournDropdownWrap .tv2-dh-dropdown-menu {
        left: auto;
        right: 0;
    }

    .tv2-dh-dropdown-menu {
        max-width: calc(100vw - 2.5rem);
    }

    .tv2-dh-btn-apply {
        width: 100%;
        flex: 0 0 100%;
        height: 38px;
        margin-top: 0.15rem;
    }
}

@media (max-width: 575px) {
    .tv2-dh-team-name {
        font-size: 1.85rem;
    }
    .tv2-stat-val {
        font-size: 1.6rem;
    }
    .tv2-stats-row-6,
    .tv2-stats-row-5 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 360px) {
    .tv2-dh-dropdown-wrap {
        flex: 0 0 100%;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .tv2-stats-container {
        margin: 0.75rem 0 1rem;
    }
    .tv2-stats-container .tv2-stats-row {
        gap: 0.5rem;
    }
    .tv2-stats-row-5 {
        margin-top: 0.5rem;
    }
    .tv2-stat-card {
        padding: 0.6rem 0.5rem;
    }
}

/* Overrides for #team-filter-block & #hero-filter-block matching Players V2 structure */
#team-filter-block .form-check-input:checked,
#hero-filter-block .form-check-input:checked {
    background-color: var(--tv2-cyan, #00d8f6) !important;
    border-color: var(--tv2-cyan, #00d8f6) !important;
}

#team-filter-block .tf-item-header,
#hero-filter-block .tf-item-header {
    user-select: none;
}

#team-filter-block .tf-item-btn-clear:hover,
#hero-filter-block .tf-item-btn-clear:hover {
    color: var(--tv2-cyan, #00d8f6) !important;
}

#team-filter-block .tf-btn-clear,
#hero-filter-block .tf-btn-clear {
    color: var(--tv2-cyan, #00d8f6) !important;
}

#team-filter-block .tf-btn-clear:hover,
#hero-filter-block .tf-btn-clear:hover {
    text-shadow: 0 0 6px rgba(0, 216, 246, 0.6);
}

/* MATCH DATE Calendar Blue Arrow Ornaments */
.teams-v2-container .filters-section .calendar-filter-block .ui-datepicker .ui-datepicker-header .ui-datepicker-next span,
.teams-v2-container .filters-section .calendar-filter-block .ui-datepicker .ui-datepicker-header .ui-datepicker-prev span,
.teams-v2-container .filters-section .calendar-filter-block .ui-icon-circle-triangle-e,
.teams-v2-container .filters-section .calendar-filter-block .ui-icon-circle-triangle-w,
.teams-section .filters-section .calendar-filter-block .ui-datepicker .ui-datepicker-header .ui-datepicker-next span,
.teams-section .filters-section .calendar-filter-block .ui-datepicker .ui-datepicker-header .ui-datepicker-prev span,
.teams-section .filters-section .calendar-filter-block .ui-icon-circle-triangle-e,
.teams-section .filters-section .calendar-filter-block .ui-icon-circle-triangle-w,
.teams-v2-container .calendar-filter-block .ui-datepicker .ui-datepicker-header .ui-datepicker-next span,
.teams-v2-container .calendar-filter-block .ui-datepicker .ui-datepicker-header .ui-datepicker-prev span,
.teams-v2-container .calendar-filter-block .ui-icon-circle-triangle-e,
.teams-v2-container .calendar-filter-block .ui-icon-circle-triangle-w,
.calendar-filter-block .ui-datepicker .ui-datepicker-header .ui-datepicker-next span,
.calendar-filter-block .ui-datepicker .ui-datepicker-header .ui-datepicker-prev span,
.calendar-filter-block .ui-icon-circle-triangle-e,
.calendar-filter-block .ui-icon-circle-triangle-w {
    background-image: url("../images/orns/arrow-blue.png") !important;
    background-size: 100% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ==========================================================================
   LIGHT MODE: TEAMS DETAIL V2 COMPREHENSIVE OVERRIDES
   ========================================================================== */

/* 1. Header Overview Card */
body.light .tv2-detail-header-card,
.light .tv2-detail-header-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

body.light .tv2-dh-logo-box,
.light .tv2-dh-logo-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

body.light .tv2-dh-team-name,
.light .tv2-dh-team-name {
    color: #0f172a !important;
    text-shadow: none !important;
}

body.light .tv2-dh-rank-num,
.light .tv2-dh-rank-num {
    color: #0284c7 !important;
    text-shadow: none !important;
}

body.light .tv2-dh-rank-lbl,
.light .tv2-dh-rank-lbl {
    color: #64748b !important;
}

body.light .tv2-dh-region-text,
.light .tv2-dh-region-text {
    color: #334155 !important;
}

body.light .tv2-dh-bio,
.light .tv2-dh-bio {
    color: #64748b !important;
}

body.light .tv2-dh-socials-title,
.light .tv2-dh-socials-title {
    color: #0284c7 !important;
}

body.light .tv2-dh-social-link,
.light .tv2-dh-social-link {
    color: #64748b !important;
}

body.light .tv2-dh-social-link:hover,
.light .tv2-dh-social-link:hover {
    color: #0284c7 !important;
    text-shadow: none !important;
}

/* 2. Filter Dropdowns & Apply Button */
body.light .tv2-dh-dropdown-btn,
.light .tv2-dh-dropdown-btn {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.light .tv2-dh-dropdown-btn:hover,
body.light .tv2-dh-dropdown-wrap.is-open .tv2-dh-dropdown-btn,
body.light .tv2-dh-dropdown-btn[aria-expanded="true"],
.light .tv2-dh-dropdown-btn:hover,
.light .tv2-dh-dropdown-wrap.is-open .tv2-dh-dropdown-btn,
.light .tv2-dh-dropdown-btn[aria-expanded="true"] {
    border-color: #0284c7 !important;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.2) !important;
}

body.light .tv2-dh-chevron,
.light .tv2-dh-chevron {
    color: #0284c7 !important;
}

body.light .tv2-dh-dropdown-wrap.is-open .tv2-dh-chevron,
body.light .tv2-dh-dropdown-btn[aria-expanded="true"] .tv2-dh-chevron,
.light .tv2-dh-dropdown-wrap.is-open .tv2-dh-chevron,
.light .tv2-dh-dropdown-btn[aria-expanded="true"] .tv2-dh-chevron {
    color: #0369a1 !important;
}

body.light .tv2-dh-dropdown-menu,
.light .tv2-dh-dropdown-menu {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

body.light .tv2-dh-menu-item,
.light .tv2-dh-menu-item {
    color: #334155 !important;
}

body.light .tv2-dh-menu-item:hover,
.light .tv2-dh-menu-item:hover {
    background: #f1f5f9 !important;
    color: #0284c7 !important;
}

body.light .tv2-dh-menu-item.active,
.light .tv2-dh-menu-item.active {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    font-weight: 600 !important;
}

body.light .tv2-dh-search-input,
.light .tv2-dh-search-input {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.light .tv2-dh-search-input:focus,
.light .tv2-dh-search-input:focus {
    border-color: #0284c7 !important;
}

body.light .tv2-dh-checkbox-item,
.light .tv2-dh-checkbox-item {
    color: #334155 !important;
}

body.light .tv2-dh-checkbox-item:hover,
.light .tv2-dh-checkbox-item:hover {
    background: #f1f5f9 !important;
    color: #0284c7 !important;
}

body.light .tv2-dh-btn-apply,
.light .tv2-dh-btn-apply {
    background: #00d8f6 !important;
    color: #000000 !important;
}

body.light .tv2-dh-btn-apply:hover,
.light .tv2-dh-btn-apply:hover {
    background: #5dedff !important;
    box-shadow: 0 0 12px rgba(64, 225, 254, 0.6) !important;
}

/* 3. Performance Stats Cards */
body.light .tv2-stat-card,
.light .tv2-stat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light .tv2-stat-card:hover,
.light .tv2-stat-card:hover {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15) !important;
}

body.light .tv2-stat-val,
.light .tv2-stat-val {
    color: #0f172a !important;
    text-shadow: none !important;
}

body.light .tv2-stat-lbl,
.light .tv2-stat-lbl {
    color: #64748b !important;
}

/* 4. Section Titles (solid black) */
body.light .td-v2-section-title,
.light .td-v2-section-title {
    color: #000000 !important;
}

/* 5. Player Cards (Desktop & Mobile) */
body.light .tv2-player-card,
.light .tv2-player-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light .tv2-player-card:hover,
.light .tv2-player-card:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.2) !important;
}

body.light .tv2-pc-photo-wrap,
.light .tv2-pc-photo-wrap {
    background: radial-gradient(circle at center, rgba(2, 132, 199, 0.08) 0%, rgba(241, 245, 249, 0.85) 75%) !important;
}

body.light .tv2-pc-ign,
.light .tv2-pc-ign {
    color: #0f172a !important;
}

body.light .tv2-pc-role-text,
.light .tv2-pc-role-text {
    color: #64748b !important;
}

body.light .tv2-player-card-mobile,
.light .tv2-player-card-mobile {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.light .tv2-player-card-mobile:hover,
.light .tv2-player-card-mobile:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15) !important;
}

body.light .tv2-pcm-photo-wrap,
.light .tv2-pcm-photo-wrap {
    background: #f1f5f9 !important;
}

body.light .tv2-pcm-ign,
.light .tv2-pcm-ign {
    color: #0f172a !important;
}

body.light .tv2-pcm-role,
.light .tv2-pcm-role {
    color: #64748b !important;
}

/* 6. Organization Staff Cards (Desktop & Mobile) */
body.light .tv2-org-card,
.light .tv2-org-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light .tv2-org-card:hover,
.light .tv2-org-card:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.2) !important;
}

body.light .tv2-oc-photo-wrap,
.light .tv2-oc-photo-wrap {
    background: radial-gradient(circle at center, rgba(2, 132, 199, 0.06) 0%, rgba(241, 245, 249, 0.85) 75%) !important;
}

body.light .tv2-oc-name,
.light .tv2-oc-name {
    color: #0f172a !important;
}

body.light .tv2-oc-role-text,
.light .tv2-oc-role-text {
    color: #64748b !important;
}

body.light .tv2-org-card-mobile,
.light .tv2-org-card-mobile {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.light .tv2-org-card-mobile:hover,
.light .tv2-org-card-mobile:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15) !important;
}

body.light .tv2-ocm-photo-wrap,
.light .tv2-ocm-photo-wrap {
    background: #f1f5f9 !important;
}

body.light .tv2-ocm-name,
.light .tv2-ocm-name {
    color: #0f172a !important;
}

/* 7. Achievements & Matches Table Overrides */
body.light .td-v2-teams-table-card,
.light .td-v2-teams-table-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light .td-v2-team-stats-ranked-table thead tr,
.light .td-v2-team-stats-ranked-table thead tr {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.light .td-v2-team-stats-ranked-table thead th,
.light .td-v2-team-stats-ranked-table thead th {
    color: #475569 !important;
}

body.light .td-v2-team-stats-ranked-table tbody tr,
.light .td-v2-team-stats-ranked-table tbody tr {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.light .td-v2-team-stats-ranked-table tbody tr:hover,
.light .td-v2-team-stats-ranked-table tbody tr:hover {
    background: #f8fafc !important;
}

body.light .td-v2-team-stats-ranked-table td,
.light .td-v2-team-stats-ranked-table td {
    color: #334155 !important;
}

body.light .tv2-ach-td-date,
.light .tv2-ach-td-date {
    color: #0f172a !important;
    font-weight: 600 !important;
}

body.light .tv2-place-badge,
.light .tv2-place-badge,
body.light .tv2-place-badge.place-1st,
.light .tv2-place-badge.place-1st,
body.light .tv2-place-badge.place-2nd,
.light .tv2-place-badge.place-2nd,
body.light .tv2-place-badge.place-3rd,
.light .tv2-place-badge.place-3rd {
    font-family: inherit !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    padding: 1.5px 6px !important;
    line-height: 1.1 !important;
    color: #334155 !important;
    text-shadow: none !important;
}

body.light .tv2-tourn-link,
.light .tv2-tourn-link {
    color: #0284c7 !important;
}

body.light .tv2-tourn-link:hover,
.light .tv2-tourn-link:hover {
    color: #0369a1 !important;
    text-decoration: underline !important;
}

body.light .td-v2-teams-table-card .pv2-pagination-footer,
body.light .pv2-table-card .pv2-pagination-footer,
.light .td-v2-teams-table-card .pv2-pagination-footer,
.light .pv2-table-card .pv2-pagination-footer,
body.light .pv2-pagination-footer,
.light .pv2-pagination-footer,
body.light .tv2-table-footer,
.light .tv2-table-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
}

body.light .pv2-showing-text,
.light .pv2-showing-text,
body.light .tv2-tf-count,
.light .tv2-tf-count {
    color: #64748b !important;
}

body.light .pv2-page-btn,
.light .pv2-page-btn {
    color: #334155 !important;
}

body.light .pv2-page-btn:hover:not(:disabled):not(.disabled),
.light .pv2-page-btn:hover:not(:disabled):not(.disabled) {
    background-color: rgba(2, 132, 199, 0.12) !important;
    color: #0284c7 !important;
}

body.light .pv2-page-btn.active,
.light .pv2-page-btn.active {
    background: #2ed3f8 !important;
    color: #08101a !important;
    box-shadow: 0 0 10px rgba(46, 211, 248, 0.35) !important;
}

body.light .pv2-page-dots,
.light .pv2-page-dots {
    color: rgba(0, 0, 0, 0.5) !important;
}

body.light .tv2-match-row.tv2-row-clickable:hover,
.light .tv2-match-row.tv2-row-clickable:hover {
    background: #f1f5f9 !important;
}

body.light .tv2-match-date-val,
.light .tv2-match-date-val {
    color: #0f172a !important;
}

body.light .tv2-match-time-val,
.light .tv2-match-time-val {
    color: #64748b !important;
}

body.light .tv2-match-event-text,
.light .tv2-match-event-text {
    color: #0f172a !important;
}

body.light .tv2-empty-state-text,
body.light .tv2-empty-td,
.light .tv2-empty-state-text,
.light .tv2-empty-td {
    color: #64748b !important;
}

/* ==========================================================================
   LIGHT MODE: TEAMS V2 INDEX OVERRIDES
   ========================================================================== */

/* 1. Header & Title */
body.light .teams-v2-container .ev2-page-title,
.light .teams-v2-container .ev2-page-title {
    color: #0f172a !important;
}

body.light #tv2-search-input,
.light #tv2-search-input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.light #tv2-search-input::placeholder,
.light #tv2-search-input::placeholder {
    color: #94a3b8 !important;
}

/* 2. Subtabs Navigation */
body.light .tv2-subtab-btn,
.light .tv2-subtab-btn {
    background: #e2e8f0 !important;
    color: #475569 !important;
}

body.light .tv2-subtab-btn:hover:not(.active),
.light .tv2-subtab-btn:hover:not(.active) {
    background: #cbd5e1 !important;
    color: #0f172a !important;
}

body.light .tv2-subtab-btn.active,
.light .tv2-subtab-btn.active {
    background: #40e1fe !important;
    color: #000000 !important;
}

body.light .tv2-subtabs-bar::-webkit-scrollbar-thumb,
.light .tv2-subtabs-bar::-webkit-scrollbar-thumb {
    background: rgba(2, 132, 199, 0.35) !important;
}

body.light .tv2-subtabs-bar::-webkit-scrollbar-track,
.light .tv2-subtabs-bar::-webkit-scrollbar-track {
    background: #e2e8f0 !important;
}

/* 3. Left Sidebar Filter Block (#team-filter-block) */
body.light #team-filter-block.tournament-filter-block .tf-wrapper,
.light #team-filter-block.tournament-filter-block .tf-wrapper {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.light #team-filter-block .tf-header span,
.light #team-filter-block .tf-header span,
body.light .tournament-filter-block .tf-header span,
.light .tournament-filter-block .tf-header span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.light #team-filter-block .tf-btn-clear,
.light #team-filter-block .tf-btn-clear {
    color: var(--color-red-theme, #e93b3b) !important;
}

body.light #team-filter-block .tf-item-header,
.light #team-filter-block .tf-item-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

body.light #team-filter-block .tf-item i,
body.light #team-filter-block .tf-item .tf-item-title,
.light #team-filter-block .tf-item i,
.light #team-filter-block .tf-item .tf-item-title {
    color: #1e293b !important;
}

body.light #team-filter-block .tf-item-btn-clear,
.light #team-filter-block .tf-item-btn-clear {
    color: #64748b !important;
}

body.light #team-filter-block .filter-search,
.light #team-filter-block .filter-search {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.light #team-filter-block .filter-search:focus,
.light #team-filter-block .filter-search:focus {
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2) !important;
    border-color: #0284c7 !important;
}

body.light #team-filter-block .form-check label,
.light #team-filter-block .form-check label {
    color: #334155 !important;
}

body.light #team-filter-block .form-check-input,
.light #team-filter-block .form-check-input {
    border-color: #94a3b8 !important;
    background-color: #ffffff !important;
}

/* 4. Calendar Filter Block & MATCH DATE Header */
body.light .calendar-filter-block .cf-header span,
.light .calendar-filter-block .cf-header span,
body.light .cf-header span,
.light .cf-header span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.light .calendar-filter-block .cfb-popup,
.light .calendar-filter-block .cfb-popup {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.light .calendar-filter-block .ui-datepicker .ui-datepicker-header,
.light .calendar-filter-block .ui-datepicker .ui-datepicker-header {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

body.light .calendar-filter-block .ui-datepicker .ui-datepicker-title,
.light .calendar-filter-block .ui-datepicker .ui-datepicker-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.light .calendar-filter-block .ui-datepicker table,
.light .calendar-filter-block .ui-datepicker table {
    background: #ffffff !important;
    color: #0f172a !important;
}

body.light .calendar-filter-block .ui-datepicker tr th,
.light .calendar-filter-block .ui-datepicker tr th,
body.light .calendar-filter-block .ui-datepicker th span,
.light .calendar-filter-block .ui-datepicker th span {
    color: #64748b !important;
}

body.light .calendar-filter-block .ui-datepicker .ui-state-default,
.light .calendar-filter-block .ui-datepicker .ui-state-default,
body.light .calendar-filter-block .cfb-day-val,
.light .calendar-filter-block .cfb-day-val {
    color: #1e293b !important;
}

body.light .calendar-filter-block .cfb-popup .cf-today,
.light .calendar-filter-block .cfb-popup .cf-today {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-top: 1px solid #e2e8f0 !important;
}

/* 5. Team Cards Grid */
body.light .tv2-team-card,
.light .tv2-team-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light .tv2-team-card:hover,
.light .tv2-team-card:hover {
    background: #f0f9ff !important;
    border-color: #00d8f6 !important;
    box-shadow: 0 4px 14px rgba(0, 216, 246, 0.15) !important;
}

body.light .tv2-card-name,
.light .tv2-card-name {
    color: #0f172a !important;
}

body.light .tv2-card-region-code,
.light .tv2-card-region-code {
    color: #64748b !important;
}

/* ==========================================================================
   HEADER FILTERS BAR & TOAST NOTIFICATION (MATCHING PLAYERS V2)
   ========================================================================== */
.pv2-header-filters-bar {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 10px;
    margin-top: 0.85rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.pv2-select-wrap,
.pv2-date-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    width: 100%;
}

.pv2-input-dropdown,
.pv2-select-dropdown,
.pv2-daterange-picker {
    background: rgba(10, 22, 40, 0.9);
    border: 1px solid rgba(64, 225, 254, 0.35);
    color: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    height: 36px;
    padding: 0 14px;
    outline: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
}

.pv2-input-dropdown::placeholder,
.pv2-select-dropdown::placeholder,
.pv2-daterange-picker::placeholder,
.pv2-date-wrap input::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
}

.pv2-select-wrap .pv2-select-dropdown {
    padding-right: 32px;
    width: 100%;
}

.pv2-date-wrap .pv2-input-dropdown,
.pv2-date-wrap .pv2-daterange-picker {
    padding-right: 34px !important;
    width: 100%;
}

.pv2-select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #2fe0fc;
    font-size: 11px;
    pointer-events: none;
    transition: transform 0.25s ease, color 0.25s ease;
}

.pv2-date-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #2fe0fc;
    font-size: 13px;
    pointer-events: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.pv2-date-wrap:hover .pv2-date-icon,
.pv2-date-wrap:focus-within .pv2-date-icon {
    color: #5dedff;
    transform: translateY(-50%) scale(1.1);
}

.pv2-select-wrap.is-open .pv2-select-icon,
.pv2-select-wrap:focus-within .pv2-select-icon {
    transform: translateY(-50%) rotate(180deg);
    color: #5dedff;
}

.pv2-date-wrap:hover .pv2-input-dropdown,
.pv2-date-wrap:hover .pv2-daterange-picker,
.pv2-select-wrap:hover .pv2-select-dropdown {
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
}

.pv2-input-dropdown:focus,
.pv2-select-dropdown:focus,
.pv2-daterange-picker:focus,
.pv2-date-wrap:focus-within .pv2-daterange-picker {
    border-color: #2fe0fc;
    box-shadow: 0 0 10px rgba(64, 225, 254, 0.35);
    background: #0d1a2d;
}

.pv2-btn-apply {
    background: #2fe0fc;
    color: #000000;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 0 20px;
    height: 36px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.pv2-btn-apply:hover {
    background: #5dedff;
    box-shadow: 0 0 12px rgba(64, 225, 254, 0.6);
}

@media (max-width: 767px) {
    .pv2-header-filters-bar {
        flex-wrap: wrap;
    }
    .pv2-date-wrap,
    .pv2-select-wrap {
        flex: 1 1 calc(50% - 5px);
    }
    .pv2-btn-apply {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* Toast Alert */
.pv2-toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #08101e;
    border: 1px solid #2fe0fc;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(64, 225, 254, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 99999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv2-toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.pv2-toast-notification i {
    color: #2fe0fc;
    font-size: 16px;
}

.pv2-toast-notification.is-error {
    border-color: #ff5c6c;
    box-shadow: 0 0 20px rgba(255, 92, 108, 0.4);
}

.pv2-toast-notification.is-error i {
    color: #ff5c6c;
}

/* Light Mode Overrides for Header Filters and Toast */
body.light .pv2-input-dropdown,
body.light .pv2-select-dropdown,
body.light .pv2-daterange-picker,
.light .pv2-input-dropdown,
.light .pv2-select-dropdown,
.light .pv2-daterange-picker {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.light .pv2-input-dropdown::placeholder,
body.light .pv2-select-dropdown::placeholder,
body.light .pv2-daterange-picker::placeholder,
body.light .pv2-date-wrap input::placeholder,
.light .pv2-input-dropdown::placeholder,
.light .pv2-select-dropdown::placeholder,
.light .pv2-daterange-picker::placeholder,
.light .pv2-date-wrap input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

body.light .pv2-select-dropdown option,
.light .pv2-select-dropdown option {
    background: #ffffff !important;
    color: #0f172a !important;
}

body.light .pv2-date-icon,
body.light .pv2-select-icon,
.light .pv2-date-icon,
.light .pv2-select-icon {
    color: #64748b !important;
}

body.light .pv2-toast-notification,
.light .pv2-toast-notification {
    background: #ffffff !important;
    border: 1px solid #0284c7 !important;
    color: #0f172a !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

body.light .pv2-toast-notification.is-error,
.light .pv2-toast-notification.is-error {
    border-color: #ef4444 !important;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.2) !important;
}
