
/* ============================================
   Modern Dark Theme - osu! Server List
   Primary Color: #5755d9
   ============================================ */

:root {
    /* Primary Color Palette */
    --primary: #5755d9;
    --primary-light: #6c6ae0;
    --primary-dark: #4642c4;
    --primary-rgb: 87, 85, 217;
    
    /* Background Colors */
    --bg-primary: #0a0b0f;
    --bg-secondary: #12141a;
    --bg-tertiary: #1a1d29;
    --bg-elevated: #1f2333;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a8adb9;
    --text-muted: #6c7080;
    
    /* Accent Colors */
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-info: #06b6d4;
    
    /* Border & Shadow */
    --border-color: #2a2d3a;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(87, 85, 217, 0.3);
}

/* ============================================
   Base Styles
   ============================================ */

.border-1 {
    border-width: 1px !important;
    border-color: var(--border-color) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background: rgba(10, 11, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand i {
    color: var(--primary);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary) !important;
    background: rgba(87, 85, 217, 0.1);
}

.nav-link.active {
    color: var(--primary) !important;
    background: rgba(87, 85, 217, 0.15);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(87, 85, 217, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-50px, 50px);
    }
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(87, 85, 217, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

.stats-row .stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    font-weight: 600;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(87, 85, 217, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(87, 85, 217, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 20px rgba(87, 85, 217, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary.active, .btn-outline-primary:active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Discord Button */
.btn-discord {
    background: transparent;
    color: #5865F2 !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(88, 101, 242, 0.3);
    text-decoration: none;
}

.btn-discord:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: #5865F2;
    transform: translateY(-1px);
    color: #7289DA !important;
}

.btn-discord:active {
    transform: translateY(0);
}

.btn-discord i {
    font-size: 1rem;
}

/* ============================================
   Search Section
   ============================================ */

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(87, 85, 217, 0.1);
}

.input-group-text {
    background: transparent !important;
    border: none !important;
    padding: 1rem 1.25rem;
}

.form-control {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    padding: 1rem;
    font-size: 1.1rem;
}

.form-control:focus {
    box-shadow: none !important;
    background: transparent !important;
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Form Select Styling */
.form-select {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    color: var(--text-primary) !important;
    padding: 0.75rem 2.5rem 0.75rem 1rem !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: auto !important;
    min-width: fit-content;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a8adb9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

.form-select:hover {
    border-color: var(--primary) !important;
    background: var(--bg-elevated) !important;
}

.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(87, 85, 217, 0.1) !important;
    background: var(--bg-elevated) !important;
    outline: none !important;
}

.form-select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
    padding: 0.75rem;
}

.form-select.bg-secondary {
    background: var(--bg-secondary) !important;
}

.form-select.bg-secondary:hover,
.form-select.bg-secondary:focus {
    background: var(--bg-tertiary) !important;
}

/* ============================================
   Cards
   ============================================ */

.card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-nohover {
    box-shadow: none;
    border-color: var(--border-color);
}

.card-nohover:hover {
    box-shadow: none;
    border-color: var(--border-color);
}

.card-body {
    padding: 1.5rem;
}

.card-header {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    font-weight: 600;
}

/* Server Card Specific */
.server-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-offline {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.server-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.server-info-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    background: var(--bg-secondary);
    position: relative;
}

.feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.feature-card h5 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.footer h5 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    padding-left: 0;
}

/* ============================================
   Badges
   ============================================ */

.badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-primary {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ============================================
   Utilities
   ============================================ */

.text-primary {
    color: var(--primary) !important;
}

.bg-dark {
    background: var(--bg-primary) !important;
}

.border-0 {
    border: 0 !important;
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .btn-lg {
        width: 100%;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   Language Dropdown Styling
   ============================================ */

.nav-item.dropdown .nav-link.dropdown-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem !important;
    color: var(--text-secondary) !important;
}

.nav-item.dropdown .nav-link.dropdown-toggle:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
    color: var(--primary) !important;
}

.nav-item.dropdown .nav-link.dropdown-toggle::after {
    border-top-color: var(--text-muted);
    margin-left: 0.5rem;
}

.nav-item.dropdown .nav-link.dropdown-toggle:hover::after {
    border-top-color: var(--primary);
}

.dropdown-menu {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-md) !important;
    padding: 0.25rem 0 !important;
    margin-top: 0.25rem !important;
    min-width: 160px;
}

.dropdown-item {
    color: var(--text-secondary) !important;
    padding: 0.5rem 0.75rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--bg-tertiary) !important;
    color: var(--primary) !important;
}

.dropdown-item.active {
    background: rgba(87, 85, 217, 0.1) !important;
    color: var(--primary) !important;
}

.dropdown-item .fi {
    font-size: 1rem;
    border-radius: 2px;
}

/* ============================================
   Server Cards Styling
   ============================================ */

.server-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.server-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(87, 85, 217, 0.2);
}

.server-card.offline-card {
    opacity: 0.7;
}

.server-card.offline-card:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.server-logo img {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.server-card:hover .server-logo img {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.grayscale {
    filter: grayscale(100%);
}

.status-indicator {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.server-card .card-title {
    transition: color 0.3s ease;
}

.server-card:hover .card-title {
    color: var(--primary);
}

/* ============================================
   Pagination Styles
   ============================================ */

.pagination {
    background: var(--bg-elevated);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.pagination .page-item.disabled .page-link {
    background: var(--bg-secondary);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}
/* ============================================
   Vertical Nav Pills Sidebar
   ============================================ */

.nav-pills.flex-column {
    background: var(--bg-elevated);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 1rem 0.5rem;
}

.nav-pills .nav-link {
    color: var(--text-secondary);
    background: transparent;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    transition: background 0.2s, color 0.2s;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff !important;
    box-shadow: var(--shadow-glow);
}

.nav-pills .nav-link:hover {
    background: rgba(87,85,217,0.12);
    color: var(--primary);
}

.nav-pills .nav-link i {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    color: var(--primary);
}
/* ============================================
   Tab Content / Pills
   ============================================ */

.tab-content {
    background: var(--bg-elevated);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
}

.tab-pane {
    background: transparent;
    color: var(--text-primary);
    border-radius: 0.75rem;
    transition: opacity 0.3s;
    min-height: 120px;
    padding: 0.5rem 0;
}

.tab-pane.active {
    opacity: 1;
    box-shadow: var(--shadow-glow);
}
.tab-pane.fade {
    opacity: 0.5;
}
/* Choices.js theme overrides to match Halfmoon-like dark theme
   Loaded after Choices' own stylesheet to ensure overrides take effect
*/

.choices__inner {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    padding: 0.5rem 0.75rem !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.choices--open .choices__inner,
.choices__inner:focus-within {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.06) !important;
}

.choices__list--multiple .choices__item {
    background: rgba(87,85,217,0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(var(--primary-rgb), 0.18) !important;
    padding: 0.35rem 0.6rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}

.choices__list--multiple .choices__item--selectable:hover,
.choices__list--multiple .choices__item--selectable.is-highlighted {
    background: linear-gradient(90deg, var(--primary-light), var(--primary)) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
}

.choices__input {
    background: transparent !important;
    color: var(--text-primary) !important;
    padding: 0.5rem 0.25rem !important;
    min-width: 140px !important;
}

.choices__input::placeholder {
    color: var(--text-muted) !important;
}

.choices__list--dropdown {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: 8px !important;
    margin-top: 0.5rem !important;
    padding: 0.25rem 0 !important;
    max-height: 320px !important;
    overflow: auto !important;
}

.choices__list--dropdown .choices__item {
    padding: 0.6rem 0.75rem !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
}

.choices__list--dropdown .choices__item.is-highlighted,
.choices__list--dropdown .choices__item:hover {
    background: rgba(87,85,217,0.12) !important;
    color: var(--text-primary) !important;
}

.choices__item--choice.is-selected {
    background: linear-gradient(90deg, var(--primary-light), var(--primary)) !important;
    color: white !important;
    border-color: var(--primary-dark) !important;
}

.choices__button {
    background: transparent !important;
    border: none !important;
    color: var(--text-muted) !important;
    margin-left: 0.35rem !important;
}

.choices__button:hover {
    color: var(--text-primary) !important;
}

/* Ensure inputs inside choices pick up theme */
.choices .form-control,
.choices .input-group .form-control {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
}

@media (max-width: 576px) {
    .choices__inner {
        min-height: 48px !important;
        padding: 0.5rem !important;
    }
    .choices__input {
        min-width: 80px !important;
    }
}
/* ============================================
   Table Styling
   ============================================ */

.table {
    color: var(--text-primary) !important;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent !important;
}

.table thead th {
    background: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 1rem !important;
    border: none !important;
    border-bottom: 2px solid var(--primary) !important;
}

.table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.table tbody tr {
    background: var(--bg-secondary) !important;
    transition: background 0.2s ease;
}

.table tbody tr:hover {
    background: rgba(87, 85, 217, 0.12) !important;
}

.table tbody td,
.table tbody th {
    padding: 1rem !important;
    border: none !important;
    border-bottom: 1px solid rgba(42, 45, 58, 0.5) !important;
    vertical-align: middle;
    color: var(--text-primary) !important;
    background: transparent !important;
}

.table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 12px;
}

.table tbody tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Variants */
.table-dark {
    background: var(--bg-elevated);
}

.table-dark thead th {
    background: var(--bg-primary);
    border-bottom-color: var(--primary);
}

.table-dark tbody tr {
    background: var(--bg-elevated);
}

.table-dark tbody tr:hover {
    background: var(--bg-secondary);
}

.table-striped tbody tr:nth-of-type(odd) {
    background: var(--bg-secondary);
}

.table-striped tbody tr:nth-of-type(even) {
    background: var(--bg-secondary);
}

.table-striped tbody tr:hover {
    background: rgba(87, 85, 217, 0.08) !important;
}

.table-bordered {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.table-bordered thead th,
.table-bordered tbody td {
    border: 1px solid var(--border-color);
}

/* Responsive Table */
.table-responsive {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .table thead {
        display: none;
    }
    
    .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }
    
    .table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        border: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .table tbody td:last-child {
        border-bottom: none;
    }
    
    .table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
}