/* FONT FUTURIST */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    font-family: 'Orbitron', sans-serif !important;
    margin: 0;
    padding: 0;
}

/* DISCORD-STYLE DARK BACKGROUND */
body.layout-dark:before,
.layout-dark {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a, #0f0f0f);
    z-index: -1;
    overflow: hidden;
}

/* AMBIENT RED GLOW OVERLAY */
body.layout-dark:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(220, 20, 60, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* HEADER WITH RED GLOW */
body.layout-dark .header-container {
    background: rgba(18, 18, 18, 0.98) !important;
    backdrop-filter: blur(12px);
    border-bottom: 2px solid #dc143c;
    box-shadow: 0 3px 20px rgba(220, 20, 60, 0.4);
}

/* SIDEBAR - DISCORD STYLE */
.sidebar-theme {
    background: #1e1e1e !important;
    border-right: 2px solid #dc143c;
    box-shadow: 2px 0 15px rgba(220, 20, 60, 0.3);
    overflow-y: auto;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 250px;
    z-index: 1000;
}

.theme-brand {
    background: rgba(25, 25, 25, 0.95) !important;
    border-bottom: 2px solid #dc143c;
    padding: 20px 0;
}

/* PROFILE CARD - SUBTLE GLOW */
.user-profile,
.profile-info,
.user-info,
.sidebar-theme .user-box {
    background: linear-gradient(135deg, #1a0000, #2d0a0a) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
    padding: 12px !important;
    margin: 15px !important;
    position: relative;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.4);
    overflow: visible;
    animation: subtleGlow 4s ease-in-out infinite;
}

/* SUBTLE BREATHING GLOW EFFECT */
@keyframes subtleGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(220, 20, 60, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(220, 20, 60, 0.5);
    }
}

/* REMOVE INNER/NESTED BOXES */
.user-profile > div,
.profile-info > div,
.user-info > div,
.sidebar-theme .user-box > div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* PROFILE TEXT STYLING */
.user-profile .user-name,
.profile-info .user-name,
.user-info h5,
.sidebar-theme .user-box h5,
.user-profile strong,
.profile-info strong {
    color: #ff1744 !important;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.8);
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px !important;
}

.user-profile .user-role,
.profile-info .user-role,
.user-info p,
.sidebar-theme .user-box p,
.user-profile small,
.profile-info small {
    color: #ff6b81 !important;
    text-shadow: 0 0 8px rgba(255, 107, 129, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px !important;
    display: inline-block;
    background: rgba(220, 20, 60, 0.2);
    padding: 3px 8px;
    margin-top: 5px;
    border-left: 3px solid #dc143c;
}

/* PROFILE LINK ICON - RED/WHITE */
table a[href*="profile"],
table a[target="_blank"],
.table a.profile-link,
a.btn-icon,
.external-link-icon {
    color: #ff1744 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

table a[href*="profile"]:hover,
table a[target="_blank"]:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.6);
    transform: scale(1.1);
}

/* PROFILE ICON SVG/FONT AWESOME */
table a[href*="profile"] svg,
table a[href*="profile"] i,
.profile-link svg,
.profile-link i {
    color: #ff1744 !important;
    fill: #ff1744 !important;
}

table a[href*="profile"]:hover svg,
table a[href*="profile"]:hover i {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* LAST SEEN - COMPACT REDESIGN */
.last-seen,
.player-last-seen,
table td small,
table td .text-muted {
    display: block !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0px !important;
    padding: 0 !important;
    margin-top: 4px !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    color: #888888 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* TIME VALUE IN LAST SEEN */
.last-seen strong,
.player-last-seen strong,
table td small strong {
    display: inline-block !important;
    background: rgba(220, 20, 60, 0.15) !important;
    border: 1px solid rgba(220, 20, 60, 0.3) !important;
    border-radius: 0px !important;
    padding: 2px 6px !important;
    margin-left: 4px !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    color: #ff6b81 !important;
    box-shadow: 0 0 5px rgba(220, 20, 60, 0.15);
}

/* PLAYER COUNT BADGE - REDESIGN */
.badge,
.player-count,
.badge-info,
.badge-primary,
span[class*="badge"] {
    background: linear-gradient(135deg, #1a0000, #2d0a0a) !important;
    border: 1px solid #dc143c !important;
    border-radius: 0px !important;
    padding: 4px 10px !important;
    margin-left: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ff1744 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.4);
    display: inline-block;
    vertical-align: middle;
}

.server-selector:hover,
.form-select:hover,
select[name*="server"]:hover {
    border-color: #dc143c !important;
    box-shadow: 0 0 12px rgba(220, 20, 60, 0.4);
}

.server-selector:focus,
.form-select:focus,
select[name*="server"]:focus {
    outline: none !important;
    border-color: #ff1744 !important;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.5) !important;
}

/* SELECT SERVER LABEL - COMPACT */
.server-selector-label,
label[for*="server"],
.form-label {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #b0b0b0 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: middle !important;
}

/* CARDS - DISCORD-STYLE WITH RED GLOW */
.card {
    background: rgba(30, 30, 30, 0.95) !important;
    border: 1.5px solid #dc143c;
    border-radius: 0px;
    color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3), 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 20px;
}

.card:hover {
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.6), 0 6px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
    border-color: #ff1744;
}

/* TABLE HEADER - TOTAL REDESIGN */
table thead,
.table thead,
.datatable thead {
    background: linear-gradient(135deg, #1a0000, #2d0a0a, #1a0000) !important;
    border: none !important;
    border-bottom: 3px solid #dc143c !important;
    border-radius: 0px !important;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6), inset 0 -3px 10px rgba(220, 20, 60, 0.3);
}

table thead th,
.table thead th,
.datatable thead th {
    background: transparent !important;
    color: #ff1744 !important;
    text-transform: uppercase;
    font-weight: 700 !important;
    letter-spacing: 2px;
    padding: 15px 10px !important;
    border: none !important;
    border-radius: 0px !important;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.7);
    position: relative;
}

/* TABLE HEADER SEPARATOR LINES */
table thead th::after,
.table thead th::after,
.datatable thead th::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #dc143c, transparent);
}

table thead th:last-child::after,
.table thead th:last-child::after,
.datatable thead th:last-child::after {
    display: none;
}

/* TABLE HEADER GLOW ANIMATION */
table thead,
.table thead,
.datatable thead {
    animation: headerPulse 3s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(220, 20, 60, 0.5), inset 0 -3px 10px rgba(220, 20, 60, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(220, 20, 60, 0.8), inset 0 -3px 15px rgba(220, 20, 60, 0.4);
    }
}

/* STAT BOXES - RED GLOW */
.card-body,
.stat-box,
.info-box,
.widget {
    background: rgba(24, 24, 27, 0.95) !important;
    border: 1px solid rgba(220, 20, 60, 0.6);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.2);
}

/* ACTIVE MENU - RED GLOW */
#sidebar ul.menu-categories li.menu>.dropdown-toggle[aria-expanded=true],
body.layout-dark #sidebar ul.menu-categories li.menu.active>.dropdown-toggle {
    background: linear-gradient(90deg, #dc143c, #c41230) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6), inset 0 0 20px rgba(220, 20, 60, 0.1);
    border-left: 3px solid #ff1744;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SIDEBAR MENU ITEMS - SMOOTH HOVER */
#sidebar ul.menu-categories li.menu a {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 15px;
    display: block;
    color: #b0b0b0 !important;
}

#sidebar ul.menu-categories li.menu a:hover {
    background: rgba(220, 20, 60, 0.15) !important;
    border-left: 3px solid #dc143c;
    padding-left: 18px;
    color: #ff1744 !important;
}

/* SUBMENU ACTIVE STATE */
body.layout-dark #sidebar ul.menu-categories li.menu ul.submenu>li.active a {
    color: #ff1744 !important;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.6);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* TEXT STYLING */
body,
.header-container,
.card-header {
    color: #e0e0e0 !important;
}

a {
    color: #ff4757 !important;
    text-decoration: none;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #ff1744 !important;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.5);
}

/* BUTTONS - SHARP WITH GLOW */
button,
.btn {
    background: linear-gradient(135deg, #dc143c, #b01028) !important;
    border: none;
    border-radius: 0px;
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

button:hover,
.btn:hover {
    background: linear-gradient(135deg, #ff1744, #dc143c) !important;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.6);
    transform: translateY(-2px);
    cursor: pointer;
}

/* LOGO WITH RED GRADIENT */
.logo-animated {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff1744, #dc143c, #ff6b81);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 15px 0;
    filter: drop-shadow(0 0 12px rgba(220, 20, 60, 0.7));
    animation: shineText 3s ease-in-out infinite;
}

/* SMOOTH ANIMATIONS */
@keyframes shineText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes redGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(220, 20, 60, 0.3), 0 0 10px rgba(220, 20, 60, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(220, 20, 60, 0.5), 0 0 25px rgba(220, 20, 60, 0.3);
    }
}

/* SCROLLBAR STYLING */
html,
body {
    height: 100%;
    overflow-x: hidden;
}

.main-content {
    margin-left: 250px;
    overflow-y: auto;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    background: transparent !important;
}

.sidebar-theme::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
    width: 8px;
}

.sidebar-theme::-webkit-scrollbar-thumb,
.main-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #dc143c, #b01028);
    border-radius: 0px;
}

.sidebar-theme::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track {
    background: #0f0f0f;
}

/* CARD HEADER - DISCORD STYLE */
.card-header {
    background: rgba(32, 34, 37, 0.98) !important;
    border-bottom: 1px solid rgba(220, 20, 60, 0.4);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* TABLE STYLING - DISCORD DARK */
table {
    background: rgba(32, 34, 37, 0.95) !important;
    border-radius: 0px;
    overflow: hidden;
    border: 1px solid rgba(220, 20, 60, 0.3);
}

table tbody tr {
    background: rgba(32, 34, 37, 0.95) !important;
    border-bottom: 1px solid rgba(220, 20, 60, 0.15);
    transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

table tbody tr:hover {
    background: rgba(40, 43, 48, 0.95) !important;
    box-shadow: inset 3px 0 0 #dc143c;
}

/* INPUT FIELDS - DISCORD STYLE */
input,
textarea,
select {
    background: rgba(32, 34, 37, 0.95) !important;
    border: 1px solid rgba(220, 20, 60, 0.5);
    border-radius: 0px;
    color: #dcddde;
    padding: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #dc143c;
    box-shadow: 0 0 0 2px rgba(220, 20, 60, 0.3);
    background: rgba(40, 43, 48, 0.98) !important;
}

/* STAT CARDS - GLOW EFFECT */
.stat-card,
.info-card,
.widget-card {
    background: rgba(32, 34, 37, 0.95) !important;
    border: 1px solid rgba(220, 20, 60, 0.6);
    border-radius: 0px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(220, 20, 60, 0.25);
}

.stat-card:hover,
.info-card:hover,
.widget-card:hover {
    border-color: #dc143c;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.5), 0 0 25px rgba(220, 20, 60, 0.2);
    transform: translateY(-2px);
}

/* DROPDOWN MENUS - DISCORD */
.dropdown-menu {
    background: rgba(32, 34, 37, 0.98) !important;
    border: 1px solid rgba(220, 20, 60, 0.6);
    border-radius: 0px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
    color: #dcddde !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover {
    background: rgba(220, 20, 60, 0.2) !important;
    color: #ff1744 !important;
}

/* PANELS AND SECTIONS - DISCORD ATMOSPHERE */
.panel,
.section,
.container-fluid,
.row {
    background: transparent !important;
}

.layout-dark .panel,
.layout-dark .section {
    background: rgba(32, 34, 37, 0.95) !important;
    border: 1px solid rgba(220, 20, 60, 0.4);
}

/* FIX TEXT JITTER ON HOVER */
#sidebar ul.menu-categories li.menu {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* REMOVE ALL BLUE/GREEN OUTLINES GLOBALLY */
body.layout-dark *:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(220, 20, 60, 0.4) !important;
}

/* ACCENT LINES AND DIVIDERS */
hr,
.divider {
    border-color: rgba(220, 20, 60, 0.4) !important;
    box-shadow: 0 0 5px rgba(220, 20, 60, 0.2);
}

/* TOP STATS GLOW */
.stat-box,
.info-box {
    animation: redGlow 3s ease-in-out infinite;
}

/* DASH ACTIVE STAT - MULTIPLE POSITION OPTIONS */
.dash-active-stat {
    position: absolute !important;
    background: linear-gradient(135deg, #1a0000, #2d0a0a) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
    padding: 4px 10px !important;
    margin: 0 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #ff1744 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.7) !important;
    z-index: 10 !important;
    white-space: nowrap !important;
    top: -1px !important;
    left: -8px !important;
}

.card {
    position: relative !important;
    overflow: visible !important;
}

.card-body {
    position: relative !important;
}



/* ============================================
   WEAPONS PAGE - CLEAN NAVIGATION FIX ONLY
   ============================================ */

/* TARGET ONLY THE NAVIGATION TABS */
.weapons-tab,
ul.nav.nav-tabs[role="tablist"] {
    background: transparent !important;
    border: none !important;
    padding: 15px 0 !important;
    margin-bottom: 30px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

/* INDIVIDUAL TAB BUTTONS */
.weapons-tab > li > a,
.nav-tabs > li > a,
.nav-tabs .nav-link {
    /* Remove rainbow background */
    background: rgba(30, 30, 30, 0.95) !important;
    
    /* Red borders */
    border: 1.5px solid rgba(220, 20, 60, 0.3) !important;
    border-radius: 0px !important;
    
    /* Sizing */
    min-width: 100px !important;
    min-height: 100px !important;
    padding: 15px !important;
    margin: 0 !important;
    
    /* Layout */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    
    /* Text */
    color: #b0b0b0 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    
    /* Animation */
    transition: all 0.3s ease !important;
}

/* HOVER STATE */
.weapons-tab > li > a:hover,
.nav-tabs > li > a:hover,
.nav-tabs .nav-link:hover {
    background: rgba(40, 40, 40, 0.98) !important;
    border-color: #dc143c !important;
    color: #ff1744 !important;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.5) !important;
    transform: translateY(-5px) !important;
}

/* ACTIVE TAB */
.weapons-tab > li.active > a,
.nav-tabs > li.active > a,
.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #dc143c, #b01028) !important;
    border: 2px solid #ff1744 !important;
    color: #ffffff !important;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.8) !important;
    transform: translateY(-5px) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
}

/* ICONS IN TABS */
.weapons-tab img,
.nav-tabs img {
    width: 45px !important;
    height: 45px !important;
    object-fit: contain !important;
    filter: grayscale(70%) brightness(0.6) !important;
    transition: all 0.3s ease !important;
}

.weapons-tab > li > a:hover img,
.nav-tabs > li > a:hover img,
.nav-tabs .nav-link:hover img {
    filter: grayscale(30%) brightness(0.9) drop-shadow(0 0 8px rgba(220, 20, 60, 0.5)) !important;
    transform: scale(1.15) !important;
}

.weapons-tab > li.active > a img,
.nav-tabs > li.active > a img,
.nav-tabs .nav-link.active img {
    filter: grayscale(0%) brightness(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.9)) !important;
    transform: scale(1.2) !important;
}

/* ============================================
   KEEP CARDS WORKING - DON'T TOUCH LAYOUT
   ============================================ */

/* Just style the cards, don't change layout */
.tab-content .card {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f) !important;
    border: 1.5px solid rgba(220, 20, 60, 0.3) !important;
    border-radius: 0px !important;
    transition: all 0.35s ease !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

.tab-content .card:hover {
    border-color: #dc143c !important;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.7) !important;
    transform: translateY(-8px) !important;
}

/* Card images */
.tab-content .card img {
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.8)) !important;
    transition: transform 0.35s ease !important;
}

.tab-content .card:hover img {
    transform: scale(1.08) !important;
}

/* Card text */
.tab-content .card h5,
.tab-content .card .card-title {
    color: #ff1744 !important;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.5) !important;
}

/* Apply buttons */
.tab-content .btn-primary,
.tab-content .btn-danger {
    background: linear-gradient(135deg, #dc143c, #b01028) !important;
    border: none !important;
    border-radius: 0px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.5) !important;
    transition: all 0.3s ease !important;
}

.tab-content .btn-primary:hover,
.tab-content .btn-danger:hover {
    background: linear-gradient(135deg, #ff1744, #dc143c) !important;
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.8) !important;
    transform: translateY(-2px) !important;
}

/* HIDE CT/T BADGES ON ALL TABS EXCEPT AGENTS */
.tab-pane .badge:not(.agents-tab .badge),
span[class*="badge-"]:not(.agents-tab span[class*="badge-"]) {
    display: none !important;
}

/* SHOW CT/T BADGES ONLY IN AGENTS TAB */
#agents-tab .badge,
.agents-tab .badge,
[data-tab="agents"] .badge {
    display: inline-block !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: linear-gradient(135deg, #1a0000, #2d0a0a) !important;
    border: 1px solid #dc143c !important;
    border-radius: 0px !important;
    padding: 4px 10px !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    color: #ff1744 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 12px rgba(220, 20, 60, 0.6) !important;
}

/* CT BADGE - BLUE ACCENT */
.agents-tab .badge-primary,
.agents-tab .badge-ct {
    border-left: 3px solid #4dabf7 !important;
}

/* T BADGE - ORANGE ACCENT */
.agents-tab .badge-warning,
.agents-tab .badge-t {
    border-left: 3px solid #ff922b !important;
}

/* ============================================
   APPLY SKIN MODAL - PREMIUM DESIGN
   90% OF USERS USE THIS - MAKE IT PERFECT!
   ============================================ */

/* Modal Backdrop - Darker blur */
.modal-backdrop.show {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px) !important;
}

/* Modal Container */
.modal-dialog {
    max-width: 600px !important;
    margin: 1.75rem auto !important;
}

.modal-content {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
    box-shadow: 0 0 60px rgba(220, 20, 60, 0.9), 0 20px 80px rgba(0, 0, 0, 0.95) !important;
    overflow: hidden !important;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   MODAL HEADER - CLEAN & MINIMAL
   ============================================ */
.modal-header {
    background: linear-gradient(135deg, #1a0000, #2d0a0a, #1a0000) !important;
    border-bottom: 2px solid #dc143c !important;
    padding: 20px 30px !important;
    position: relative !important;
}

.modal-header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dc143c, transparent);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.8);
}

.modal-title {
    color: #ff1744 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    text-shadow: 0 0 15px rgba(255, 23, 68, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.modal-title i,
.modal-title svg {
    font-size: 22px !important;
    color: #ff1744 !important;
    filter: drop-shadow(0 0 8px rgba(255, 23, 68, 0.8));
}

/* Close Button - Modern Style */
.btn-close {
    background: transparent !important;
    width: 35px !important;
    height: 35px !important;
    border: 1px solid rgba(220, 20, 60, 0.4) !important;
    border-radius: 0px !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    filter: invert(1) brightness(2) !important;
}

.btn-close::before,
.btn-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #ff1744;
    transform-origin: center;
}

.btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-close:hover {
    border-color: #dc143c !important;
    background: rgba(220, 20, 60, 0.15) !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6) !important;
    transform: rotate(90deg) !important;
}

/* ============================================
   MODAL BODY - SMOOTH LAYOUT
   ============================================ */
.modal-body {
    background: rgba(15, 15, 15, 0.98) !important;
    padding: 30px !important;
    color: #e0e0e0 !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
}

/* Custom scrollbar for modal body */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.5);
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #dc143c, #b01028);
    border-radius: 0px;
}

/* ============================================
   SKIN PREVIEW SECTION - HERO IMAGE
   ============================================ */
.modal-skin-preview,
.skin-preview-container {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a) !important;
    border: 1px solid rgba(220, 20, 60, 0.3) !important;
    border-radius: 0px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.modal-skin-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(220, 20, 60, 0.08), transparent 70%);
    pointer-events: none;
}

.modal-skin-preview img {
    max-width: 100% !important;
    max-height: 250px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.9)) !important;
    transition: transform 0.3s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.modal-skin-preview img:hover {
    transform: scale(1.05) !important;
}

.modal-skin-preview h3 {
    color: #ff1744 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-top: 20px !important;
    text-shadow: 0 0 12px rgba(255, 23, 68, 0.7) !important;
}

/* ============================================
   FORM ELEMENTS - CLEAN & MODERN
   ============================================ */
.modal-body .form-group,
.modal-body .mb-3 {
    margin-bottom: 20px !important;
}

.modal-body label {
    color: #ff6b81 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.modal-body label i {
    color: #dc143c !important;
    font-size: 12px !important;
}

/* Input Fields */
.modal-body input[type="text"],
.modal-body input[type="number"],
.modal-body select,
.modal-body textarea {
    width: 100% !important;
    background: rgba(25, 25, 25, 0.98) !important;
    border: 1px solid rgba(220, 20, 60, 0.4) !important;
    border-left: 3px solid rgba(220, 20, 60, 0.6) !important;
    border-radius: 0px !important;
    color: #e0e0e0 !important;
    padding: 12px 15px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.modal-body input::placeholder {
    color: #666 !important;
    font-style: italic !important;
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
    outline: none !important;
    background: rgba(30, 30, 30, 0.98) !important;
    border-color: #dc143c !important;
    border-left-color: #ff1744 !important;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.2), 0 0 15px rgba(220, 20, 60, 0.4) !important;
}

/* Select Dropdown */
.modal-body select {
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23dc143c' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 35px !important;
}

/* Checkbox - Custom Style */
.modal-body .form-check {
    background: rgba(25, 25, 25, 0.5) !important;
    border: 1px solid rgba(220, 20, 60, 0.3) !important;
    border-radius: 0px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease !important;
}

.modal-body .form-check:hover {
    background: rgba(30, 30, 30, 0.7) !important;
    border-color: rgba(220, 20, 60, 0.5) !important;
}

.modal-body .form-check-input {
    width: 20px !important;
    height: 20px !important;
    background-color: rgba(40, 40, 40, 0.9) !important;
    border: 2px solid rgba(220, 20, 60, 0.5) !important;
    border-radius: 0px !important;
    cursor: pointer !important;
}

.modal-body .form-check-input:checked {
    background-color: #dc143c !important;
    border-color: #ff1744 !important;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6) !important;
}

.modal-body .form-check-label {
    color: #e0e0e0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    margin-left: 10px !important;
}

/* ============================================
   MODAL FOOTER - ACTION BUTTONS
   ============================================ */
.modal-footer {
    background: rgba(15, 15, 15, 0.98) !important;
    border-top: 1px solid rgba(220, 20, 60, 0.3) !important;
    padding: 20px 30px !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 15px !important;
}

/* Cancel Button */
.modal-footer .btn-secondary,
.btn-modal-cancel {
    background: rgba(60, 60, 60, 0.9) !important;
    border: 1px solid rgba(120, 120, 120, 0.5) !important;
    border-radius: 0px !important;
    color: #b0b0b0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 12px 25px !important;
    transition: all 0.3s ease !important;
}

.modal-footer .btn-secondary:hover,
.btn-modal-cancel:hover {
    background: rgba(80, 80, 80, 0.95) !important;
    border-color: rgba(150, 150, 150, 0.7) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(120, 120, 120, 0.4) !important;
}

/* Apply Button - HERO STYLE */
.modal-footer .btn-primary,
.modal-footer .btn-success,
.btn-modal-apply {
    background: linear-gradient(135deg, #dc143c, #b01028) !important;
    border: none !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 12px 35px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Ripple effect */
.modal-footer .btn-primary::before,
.btn-modal-apply::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.modal-footer .btn-primary:hover::before,
.btn-modal-apply:hover::before {
    width: 350px;
    height: 350px;
}

.modal-footer .btn-primary:hover,
.btn-modal-apply:hover {
    background: linear-gradient(135deg, #ff1744, #dc143c) !important;
    box-shadow: 0 0 35px rgba(255, 23, 68, 0.9), 0 5px 25px rgba(220, 20, 60, 0.5) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

.modal-footer .btn-primary:active,
.btn-modal-apply:active {
    transform: translateY(0px) scale(0.98) !important;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6) !important;
}

/* Button icon */
.modal-footer .btn i {
    margin-right: 10px !important;
    font-size: 14px !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

/* ============================================
   LOADING STATE (WHEN APPLYING)
   ============================================ */
.btn-modal-apply.loading {
    pointer-events: none !important;
    opacity: 0.7 !important;
}

.btn-modal-apply.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: buttonSpinner 0.8s linear infinite;
}

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

/* CLOSE BUTTON - NO BLUE, PURE RED */
.btn-close {
    background: transparent !important;
    width: 35px !important;
    height: 35px !important;
    border: 1px solid rgba(220, 20, 60, 0.4) !important;
    border-radius: 0px !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    /* REMOVE BLUE FILTER */
    filter: none !important;
    background-image: none !important;
}

/* CUSTOM X ICON - RED */
.btn-close::before,
.btn-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #ff1744 !important;
    transform-origin: center;
}

.btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-close:hover {
    border-color: #dc143c !important;
    background: rgba(220, 20, 60, 0.15) !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6) !important;
    transform: rotate(90deg) !important;
}

.btn-close:hover::before,
.btn-close:hover::after {
    background: #ffffff !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8) !important;
}

/* ============================================
   SIDEBAR LOGO - SMALLER TO FIT
   ============================================ */
.theme-brand,
.sidebar-header,
.logo-animated,
.brand-logo {
    padding: 12px 15px !important;
}

.theme-brand h1,
.logo-animated,
.brand-logo h1,
.sidebar-header h1 {
    font-size: 18px !important;
    letter-spacing: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* ============================================
   PROFILE CARD - COMPACT SPACING
   ============================================ */
.user-profile,
.profile-info,
.user-info,
.sidebar-theme .user-box {
    background: linear-gradient(135deg, #1a0000, #2d0a0a) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
    padding: 18px 15px !important; /* Намален padding от 20px на 18px */
    margin: 15px !important;
    position: relative;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.5), inset 0 0 30px rgba(220, 20, 60, 0.1) !important;
    overflow: visible;
    animation: subtleGlow 4s ease-in-out infinite;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important; /* Намален gap от 12px на 8px */
}

/* PROFILE AVATAR - CENTERED WITH SPACING */
.user-profile img,
.profile-info img,
.user-info img,
.sidebar-theme .user-box img {
    display: block !important;
    margin: 0 auto !important;
    border-radius: 50% !important;
    border: 2px solid #dc143c !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6) !important;
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
}

/* REMOVE INNER/NESTED BOXES */
.user-profile > div,
.profile-info > div,
.user-info > div,
.sidebar-theme .user-box > div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important; /* Намален gap от 10px на 6px */
}

/* PROFILE NAME - COMPACT SPACING */
.user-profile .user-name,
.profile-info .user-name,
.user-info h5,
.sidebar-theme .user-box h5,
.user-profile strong,
.profile-info strong {
    color: #ff1744 !important;
    text-shadow: 0 0 12px rgba(255, 23, 68, 0.9) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 14px !important;
    margin: 4px 0 0 0 !important; /* Намален margin от 8px на 4px */
    padding: 0 !important;
    text-align: center !important;
    line-height: 1.2 !important; /* Намален line-height от 1.3 на 1.2 */
}

/* PROFILE ROLE - COMPACT SPACING */
.user-profile .user-role,
.profile-info .user-role,
.user-info p,
.sidebar-theme .user-box p,
.user-profile small,
.profile-info small {
    color: #ff6b81 !important;
    text-shadow: 0 0 8px rgba(255, 107, 129, 0.7) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 9px !important;
    display: inline-block !important;
    background: rgba(220, 20, 60, 0.25) !important;
    padding: 5px 12px !important;
    margin-top: 6px !important; /* Намален margin от 12px на 6px */
    border-left: 3px solid #dc143c !important;
    text-align: center !important;
    line-height: 1.1 !important; /* Намален line-height от 1.2 на 1.1 */
}

/* FIX TEXT OVERFLOW */
.user-profile *,
.profile-info *,
.user-info *,
.sidebar-theme .user-box * {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* ============================================
   KILL BLUE BACKGROUND - FORCE BLACK/RED
   ============================================ */
.dropdown-menu,
.dropdown-menu *,
.user-dropdown,
.user-dropdown *,
[class*="user-menu"],
[class*="profile-menu"] {
    background-color: transparent !important;
    background-image: none !important;
    background: none !important;
}

.dropdown-menu {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.8), 0 15px 50px rgba(0, 0, 0, 0.95) !important;
    padding: 0 !important;
    min-width: 280px !important;
    overflow: hidden !important;
}

/* User Header Section */
.dropdown-menu .dropdown-header,
.user-dropdown-header {
    background: linear-gradient(135deg, #1a0000, #2d0a0a) !important;
    border-bottom: 2px solid rgba(220, 20, 60, 0.5) !important;
    padding: 18px 15px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Avatar */
.dropdown-header img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 2px solid #dc143c !important;
    box-shadow: 0 0 12px rgba(220, 20, 60, 0.6) !important;
}

/* Username + ID Container */
.dropdown-header .user-details {
    flex: 1 !important;
}

.dropdown-header .username {
    color: #ff1744 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.8) !important;
    margin: 0 0 4px 0 !important;
}

.dropdown-header .user-id {
    color: #888 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}

/* Menu Items Container */
.dropdown-menu .dropdown-body {
    padding: 12px !important;
}

/* Individual Menu Item */
.dropdown-item {
    background: rgba(25, 25, 25, 0.8) !important;
    border: 1px solid rgba(220, 20, 60, 0.3) !important;
    border-left: 3px solid rgba(220, 20, 60, 0.5) !important;
    border-radius: 0px !important;
    color: #e0e0e0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 15px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.3s ease !important;
}

.dropdown-item:last-child {
    margin-bottom: 0 !important;
}

.dropdown-item:hover {
    background: rgba(35, 35, 35, 0.95) !important;
    border-color: #dc143c !important;
    border-left-color: #ff1744 !important;
    color: #ff1744 !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4) !important;
    transform: translateX(3px) !important;
}

/* Icons */
.dropdown-item i {
    font-size: 14px !important;
    color: #dc143c !important;
    min-width: 18px !important;
}

/* Logout Button - Danger Style */
.dropdown-item.logout {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(176, 16, 40, 0.2)) !important;
    border-color: rgba(220, 20, 60, 0.6) !important;
    color: #ff6b81 !important;
    margin-top: 8px !important;
    border-top: 2px solid rgba(220, 20, 60, 0.4) !important;
}

.dropdown-item.logout:hover {
    background: linear-gradient(135deg, #dc143c, #b01028) !important;
    border-color: #ff1744 !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.7) !important;
}

/* ============================================
   DASHBOARD - CLEAN BALKANCS REDESIGN
   Remove nested boxes, white outlines, green shadows
   ============================================ */

/* SECTION TITLES - Simple Red Text */
.dashboard h2,
.dashboard h3,
.section-title,
.leaderboard-title {
    color: #ff1744 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    text-shadow: 0 0 15px rgba(255, 23, 68, 0.8) !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* REMOVE ALL NESTED CONTAINER BOXES */
.dashboard-section,
.leaderboard-section,
.server-section,
.stats-section {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 40px !important;
}

/* ============================================
   TOP PLAYERS TABLE - CLEAN SINGLE BOX
   ============================================ */

/* Remove outer container boxes */
.top-players-container,
.leaderboard-wrapper {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Main Table Container - ONLY ONE BOX */
.top-players-table,
.leaderboard-table,
table {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.6) !important;
    overflow: hidden !important;
    width: 100% !important;
}

/* Table Header */
.top-players-table thead,
table thead {
    background: linear-gradient(135deg, #1a0000, #2d0a0a) !important;
    border-bottom: 2px solid #dc143c !important;
}

.top-players-table th,
table th {
    color: #ff1744 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 15px 12px !important;
    text-align: left !important;
    border: none !important;
    text-shadow: 0 0 8px rgba(255, 23, 68, 0.6) !important;
}

/* Remove green shadows and white outlines */
.top-players-table th,
.top-players-table td,
table th,
table td {
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
}

/* Table Body Rows */
.top-players-table tbody tr,
table tbody tr {
    background: rgba(20, 20, 20, 0.6) !important;
    border-bottom: 1px solid rgba(220, 20, 60, 0.2) !important;
    transition: all 0.3s ease !important;
}

.top-players-table tbody tr:hover,
table tbody tr:hover {
    background: rgba(30, 30, 30, 0.8) !important;
    border-left: 3px solid #dc143c !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3) !important;
}

/* Table Cells */
.top-players-table td,
table td {
    color: #e0e0e0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 15px 12px !important;
    border: none !important;
}

/* Position Number */
.top-players-table td:first-child,
table td:first-child {
    color: #888 !important;
    font-weight: 700 !important;
}

/* Player Names */
.top-players-table .player-name,
table .player-name {
    color: #ff1744 !important;
    font-weight: 600 !important;
}

/* Stats Numbers */
.top-players-table .stat-value,
table .stat-value {
    color: #ff6b81 !important;
    font-weight: 600 !important;
}

/* Avatar Images */
.top-players-table img,
table img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid #dc143c !important;
    box-shadow: 0 0 8px rgba(220, 20, 60, 0.4) !important;
}

/* ============================================
   SERVERS SECTION - CLEAN SINGLE BOX
   ============================================ */

/* Remove nested boxes */
.servers-container,
.server-list-wrapper {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Server Card - ONLY ONE BOX */
.server-card,
.server-item {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.5) !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.3s ease !important;
}

.server-card:hover {
    border-color: #ff1744 !important;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.8) !important;
    transform: translateX(5px) !important;
}

/* Server Info */
.server-name {
    color: #ff1744 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 5px !important;
}

.server-map {
    color: #888 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
}

.server-players {
    color: #ff6b81 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.server-ip {
    color: #b0b0b0 !important;
    font-size: 11px !important;
    font-family: 'Courier New', monospace !important;
}

/* Connect Button */
.server-connect-btn,
.btn-connect {
    background: linear-gradient(135deg, #dc143c, #b01028) !important;
    border: none !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 12px 25px !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.5) !important;
    transition: all 0.3s ease !important;
}

.server-connect-btn:hover {
    background: linear-gradient(135deg, #ff1744, #dc143c) !important;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.8) !important;
    transform: translateY(-2px) !important;
}

/* ============================================
   REMOVE ALL WHITE OUTLINES & GREEN SHADOWS
   ============================================ */

/* Kill white borders */
.dashboard *,
.leaderboard *,
.servers * {
    outline: none !important;
}

*[style*="border: 1px solid white"],
*[style*="border: 2px solid white"],
*[style*="border-color: white"] {
    border-color: rgba(220, 20, 60, 0.3) !important;
}

/* Kill green shadows */
*[style*="box-shadow"][style*="green"],
*[style*="text-shadow"][style*="green"],
.green-glow,
.success-glow {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Replace with red glow if needed */
.glow-effect {
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.5) !important;
}

/* ============================================
   RANK BADGES - CLEAN STYLE
   ============================================ */

.rank-badge,
.player-rank {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(176, 16, 40, 0.2)) !important;
    border: 1px solid #dc143c !important;
    border-radius: 0px !important;
    padding: 4px 10px !important;
    color: #ff6b81 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* ============================================
   ICONS - RED ACCENT
   ============================================ */

.dashboard i,
.dashboard svg,
.leaderboard i,
.servers i {
    color: #dc143c !important;
    filter: drop-shadow(0 0 5px rgba(220, 20, 60, 0.5)) !important;
}

/* ============================================
   FIX RATING & RANK ICONS - REMOVE PINK BORDERS
   ============================================ */

/* Rating & Rank icon containers */
.cs-rating-icon,
.rank-icon,
.rating-badge,
.rank-badge,
td img[src*="rank"],
td img[src*="rating"] {
    border: none !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    max-width: 50px !important;
    max-height: 50px !important;
}

/* If icons are wrapped in divs */
.cs-rating-icon > div,
.rank-icon > div,
.rating-badge > div,
.rank-badge > div {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove any pink/red circle borders around icons */
.top-players-table td > div,
table td > div {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    display: inline-block !important;
}

/* ============================================
   REMOVE GREEN SHADOW UNDER CONNECT BUTTON
   ============================================ */

/* Kill all green shadows */
.server-connect-btn,
.btn-connect,
button[class*="connect"] {
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.5) !important;
}

.server-connect-btn:hover,
.btn-connect:hover,
button[class*="connect"]:hover {
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.8) !important;
}

/* Remove green shadow from any element */
*[style*="box-shadow"][style*="green"],
*[style*="box-shadow"][style*="#0f0"],
*[style*="box-shadow"][style*="lime"],
*[style*="box-shadow"][style*="rgb(0, 255, 0)"] {
    box-shadow: none !important;
}

/* Force red shadow on buttons */
button,
.btn,
[class*="button"] {
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.5) !important;
}

button:hover,
.btn:hover,
[class*="button"]:hover {
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.8) !important;
}

/* ============================================
   FIX TABLE CELL ALIGNMENT
   ============================================ */

/* Make sure icons are properly aligned */
.top-players-table td,
table td {
    vertical-align: middle !important;
}

/* Rating/Rank cells - center content */
.top-players-table td:nth-child(3),
.top-players-table td:nth-child(4) {
    text-align: center !important;
}

/* Remove any wrapper backgrounds */
.top-players-table td *,
table td * {
    background: transparent !important;
}

/* ============================================
   FIX SCROLLING ISSUE - RATING & LINK ICONS
   ============================================ */

/* External Link Icon - Remove Fixed Position */
.rank-profile,
.fas.fa-external-link-alt {
    position: static !important;
    position: relative !important;
    transform: none !important;
}

/* CS Rating Images - Remove Sticky/Fixed */
.table tbody td img,
.table tbody td img[src*="rank"],
.table tbody td img[src*="rating"] {
    position: static !important;
    position: relative !important;
    transform: none !important;
}

/* Rating Image Container */
.table tbody td:nth-child(3),
.table tbody td:nth-child(4) {
    position: static !important;
    position: relative !important;
}

/* Force All Table Cells to Static Position */
.table tbody td,
.table tbody td * {
    position: static !important;
}

/* Player Row Container */
.dashboard-rank,
.d-flex.align-items-center {
    position: static !important;
    position: relative !important;
}

/* Remove any transforms on scroll */
.table tbody tr,
.table tbody td,
.table tbody td * {
    transform: none !important;
    will-change: auto !important;
}

/* Fix table layout */
.table {
    table-layout: auto !important;
    position: relative !important;
}

.table tbody {
    position: relative !important;
}

/* ============================================
   CS RATING - TEXT OVERLAY ON IMAGE
   ============================================ */

/* Rating Cell - Position Relative Container */
.table tbody td:nth-child(3) {
    position: relative !important;
    text-align: center !important;
    padding: 15px 12px !important;
}

/* Rating Image - Background */
.table tbody td:nth-child(3) img {
    display: block !important;
    margin: 0 auto !important;
    position: relative !important;
    max-width: 60px !important;
    max-height: 60px !important;
    border: none !important;
    box-shadow: none !important;
}

/* Rating Text - Overlay on Image */
.table tbody td:nth-child(3)::after {
    content: attr(data-rating) !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

/* If rating is in a separate element (not ::after) */
.table tbody td:nth-child(3) .rating-text,
.table tbody td:nth-child(3) span,
.table tbody td:nth-child(3) strong {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Progress Bar - Overlay at Bottom */
.table tbody td:nth-child(3) .progress,
.table tbody td:nth-child(3) .rating-progress {
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80% !important;
    height: 4px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    z-index: 10 !important;
}

.table tbody td:nth-child(3) .progress-bar {
    background: linear-gradient(90deg, #dc143c, #ff1744) !important;
    height: 100% !important;
    box-shadow: 0 0 8px rgba(220, 20, 60, 0.8) !important;
}

/* ============================================
   CS RATING COLUMN - PERFECT CENTER ALIGNMENT
   ============================================ */

/* Rating Header - Centered */
.table thead th:nth-child(3) {
    text-align: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Rating Cell - Centered */
.table tbody td:nth-child(3) {
    text-align: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    position: relative !important;
}

/* Rating Container - Center in Cell */
.rating-container,
.table tbody td:nth-child(3) > div {
    display: inline-block !important;
    position: relative !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Rating Image - Centered */
.table tbody td:nth-child(3) img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 60px !important;
    max-height: 60px !important;
}

/* Rating Text - Centered Overlay */
.table tbody td:nth-child(3) .rating-text,
.table tbody td:nth-child(3) span,
.table tbody td:nth-child(3) strong {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9) !important;
}

/* ============================================
   RANK COLUMN - ALSO CENTER FOR CONSISTENCY
   ============================================ */

/* Rank Header - Centered */
.table thead th:nth-child(4) {
    text-align: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Rank Cell - Centered */
.table tbody td:nth-child(4) {
    text-align: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.table tbody td:nth-child(4) img {
    display: block !important;
    margin: 0 auto !important;
}

/* ============================================
   ADD BAN FORM - BALKANCS BRUTAL RED DESIGN
   ============================================ */

/* Page Container */
.ban-form-container {
    max-width: 800px;
    margin: 40px auto;
}

/* Form Card - Single Red Border */
.ban-form-card {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    border: 2px solid #dc143c;
    border-radius: 0px;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.7);
    padding: 0;
    overflow: hidden;
}

/* Form Title */
.ban-form-title {
    background: linear-gradient(135deg, #1a0000, #2d0a0a);
    border-bottom: 2px solid #dc143c;
    padding: 25px;
    margin: 0;
    text-align: center;
}

.ban-form-title h5 {
    color: #ff1744;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 0 15px rgba(255, 23, 68, 0.8);
    margin: 0;
}

/* Form Body */
.ban-form-body {
    padding: 30px;
}

/* Alert Note - Red Gradient */
.alert-gradient {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3), rgba(176, 16, 40, 0.3));
    border: 1px solid #dc143c;
    border-left: 4px solid #ff1744;
    border-radius: 0px;
    color: #ff6b81;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.alert-gradient strong {
    color: #ff1744;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Labels */
.form-label {
    color: #ff1744 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Form Inputs */
.form-control,
.form-select {
    background: rgba(25, 25, 25, 0.9) !important;
    border: 1px solid rgba(220, 20, 60, 0.4) !important;
    border-left: 3px solid rgba(220, 20, 60, 0.6) !important;
    border-radius: 0px !important;
    color: #e0e0e0 !important;
    font-size: 13px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease !important;
}

.form-control:focus,
.form-select:focus {
    background: rgba(30, 30, 30, 0.95) !important;
    border-color: #dc143c !important;
    border-left-color: #ff1744 !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4) !important;
    color: #ffffff !important;
    outline: none !important;
}

.form-control::placeholder {
    color: #666 !important;
}

/* Textarea */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Checkbox */
.form-check {
    padding: 15px;
    background: rgba(25, 25, 25, 0.6);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 0px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    background-color: rgba(25, 25, 25, 0.9);
    border: 2px solid rgba(220, 20, 60, 0.6);
    border-radius: 0px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #dc143c;
    border-color: #ff1744;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6);
}

.form-check-label {
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    margin-left: 10px;
    cursor: pointer;
}

/* Select2 Custom Styling */
.select2-container--default .select2-selection--multiple {
    background: rgba(25, 25, 25, 0.9) !important;
    border: 1px solid rgba(220, 20, 60, 0.4) !important;
    border-left: 3px solid rgba(220, 20, 60, 0.6) !important;
    border-radius: 0px !important;
    min-height: 45px !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #dc143c !important;
    border-left-color: #ff1744 !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3), rgba(176, 16, 40, 0.3)) !important;
    border: 1px solid #dc143c !important;
    border-radius: 0px !important;
    color: #ff6b81 !important;
    padding: 5px 10px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ff1744 !important;
    font-weight: 700 !important;
    margin-right: 8px !important;
}

/* Select2 Dropdown */
.select2-dropdown {
    background: rgba(20, 20, 20, 0.98) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
}

.select2-results__option {
    background: rgba(25, 25, 25, 0.9) !important;
    color: #e0e0e0 !important;
    padding: 10px 15px !important;
}

.select2-results__option--highlighted {
    background: rgba(220, 20, 60, 0.3) !important;
    color: #ff1744 !important;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(135deg, #dc143c, #b01028) !important;
    border: none !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 15px 40px !important;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff1744, #dc143c) !important;
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.9) !important;
    transform: translateY(-2px) !important;
}

/* Error Alert */
.alert-danger {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25), rgba(176, 16, 40, 0.25)) !important;
    border: 1px solid #dc143c !important;
    border-left: 4px solid #ff1744 !important;
    border-radius: 0px !important;
    color: #ff6b81 !important;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

/* Success Alert */
.alert-success {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(176, 16, 40, 0.2)) !important;
    border: 1px solid #dc143c !important;
    border-left: 4px solid #ff1744 !important;
    border-radius: 0px !important;
    color: #ff6b81 !important;
}

/* Form Spacing */
.form-outline {
    margin-bottom: 20px;
}

/* Remove Default Card Styles on Ban Page */
.ban-form-container .card {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.ban-form-container .card-body {
    padding: 0 !important;
}

/* ============================================
   UPDATED - ORANGE NOTE + INLINE PERMANENT
   ============================================ */

/* Alert Note - ORANGE THEME (no rainbow) */
.alert-gradient {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 100, 0, 0.25)) !important;
    border: 1px solid #ff8c00 !important;
    border-left: 4px solid #ff6600 !important;
    border-radius: 0px !important;
    color: #ffb366 !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
}

.alert-gradient strong {
    color: #ff8c00 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Duration + Permanent ROW - Side by Side */
.duration-permanent-row {
    display: flex !important;
    gap: 20px !important;
    align-items: flex-end !important;
}

.duration-field {
    flex: 1 !important;
}

.permanent-checkbox {
    flex: 0 0 auto !important;
    min-width: 200px !important;
}

/* Inline Checkbox - Clean Style */
.form-check-inline {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    background: rgba(25, 25, 25, 0.6) !important;
    border: 1px solid rgba(220, 20, 60, 0.3) !important;
    border-radius: 0px !important;
    margin: 0 !important;
    height: 45px !important;
}

/* Checkbox - Square with Red Checkmark */
.form-check-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    background-color: rgba(25, 25, 25, 0.9) !important;
    border: 2px solid rgba(220, 20, 60, 0.6) !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.form-check-input:focus {
    outline: none !important;
    box-shadow: 0 0 8px rgba(220, 20, 60, 0.5) !important;
}

/* Red Checkmark when checked */
.form-check-input:checked {
    background-color: #dc143c !important;
    border-color: #ff1744 !important;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6) !important;
}

.form-check-input:checked::after {
    content: "✓" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

/* Checkbox Label */
.form-check-label {
    color: #e0e0e0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-left: 12px !important;
    cursor: pointer !important;
    user-select: none !important;
}

/* Remove old full-width checkbox container */
.form-check:not(.form-check-inline) {
    display: none !important;
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
    .duration-permanent-row {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .permanent-checkbox {
        min-width: 100% !important;
    }
    
    .permanent-checkbox label:first-child {
        display: none !important;
    }
}

/* ============================================
   FINAL FIXES - CENTER CHECKBOX + SELECT2 + RED CALENDAR
   ============================================ */

/* Permanent Checkbox - Vertically Centered with Checkbox */
.form-check-inline {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 20px !important;
    background: rgba(25, 25, 25, 0.6) !important;
    border: 1px solid rgba(220, 20, 60, 0.3) !important;
    border-radius: 0px !important;
    margin: 0 !important;
    height: 45px !important;
}

.form-check-label {
    color: #e0e0e0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-left: 12px !important;
    cursor: pointer !important;
    user-select: none !important;
    line-height: 20px !important;
    display: flex !important;
    align-items: center !important;
}

/* Checkbox itself - centered */
.form-check-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    background-color: rgba(25, 25, 25, 0.9) !important;
    border: 2px solid rgba(220, 20, 60, 0.6) !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Select2 - Fix Selected Items Alignment */
.select2-container--default .select2-selection--multiple {
    background: rgba(25, 25, 25, 0.9) !important;
    border: 1px solid rgba(220, 20, 60, 0.4) !important;
    border-left: 3px solid rgba(220, 20, 60, 0.6) !important;
    border-radius: 0px !important;
    min-height: 45px !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
}

/* Selected Server Tags - Aligned */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3), rgba(176, 16, 40, 0.3)) !important;
    border: 1px solid #dc143c !important;
    border-radius: 0px !important;
    color: #ff6b81 !important;
    padding: 6px 12px !important;
    margin: 3px 5px 3px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    height: auto !important;
}

/* Remove X Button - Aligned */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ff1744 !important;
    font-weight: 700 !important;
    margin-right: 8px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ffffff !important;
}

/* Search Input Inside Select2 */
.select2-search--inline .select2-search__field {
    color: #e0e0e0 !important;
    margin: 3px 5px !important;
}

/* Dropdown Items */
.select2-dropdown {
    background: rgba(20, 20, 20, 0.98) !important;
    border: 2px solid #dc143c !important;
    border-radius: 0px !important;
}

.select2-results__option {
    background: rgba(25, 25, 25, 0.9) !important;
    color: #e0e0e0 !important;
    padding: 12px 15px !important;
    line-height: 1.4 !important;
}

.select2-results__option--highlighted {
    background: rgba(220, 20, 60, 0.3) !important;
    color: #ff1744 !important;
}

.select2-results__option--selected {
    background: rgba(220, 20, 60, 0.2) !important;
    color: #ff6b81 !important;
}

/* ============================================
   RED CALENDAR ICON - datetime-local input
   ============================================ */

/* Calendar Icon Red Color */
input[type="datetime-local"] {
    color-scheme: dark !important;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(29%) sepia(89%) saturate(6500%) hue-rotate(342deg) brightness(95%) contrast(98%) !important;
    cursor: pointer !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease !important;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1 !important;
}

/* Firefox */
input[type="datetime-local"]::-moz-calendar-picker-indicator {
    filter: invert(29%) sepia(89%) saturate(6500%) hue-rotate(342deg) brightness(95%) contrast(98%) !important;
    cursor: pointer !important;
}

/* Calendar popup styling (webkit) */
input[type="datetime-local"]::-webkit-datetime-edit-text,
input[type="datetime-local"]::-webkit-datetime-edit-month-field,
input[type="datetime-local"]::-webkit-datetime-edit-day-field,
input[type="datetime-local"]::-webkit-datetime-edit-year-field,
input[type="datetime-local"]::-webkit-datetime-edit-hour-field,
input[type="datetime-local"]::-webkit-datetime-edit-minute-field {
    color: #e0e0e0 !important;
}


/* Banner Section Styles */
.banner-container {
    margin: 30px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-link {
    flex: 1;
    min-width: 300px;
    max-width: 48%;
    text-decoration: none;
    display: block;
}

.banner {
    border: 2px solid #dc143c;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.banner:hover::before {
    left: 100%;
}

.banner-discord {
    background: linear-gradient(135deg, #5865F2 0%, #404eed 100%);
}

.banner-promo {
    background: linear-gradient(135deg, #191e3a 0%, #0d1028 100%);
}

.banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
    border-color: #ff0000;
}

.banner h3 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: bold;
}

.banner-promo h3 {
    color: #dc143c;
}

.banner p {
    color: #ddd;
    margin: 0;
    font-size: 16px;
}

@media (max-width: 768px) {
    .banner-link {
        max-width: 100%;
        min-width: 100%;
    }
    
    .banner h3 {
        font-size: 20px;
    }
    
    .banner p {
        font-size: 14px;
    }
}
