/* Comprehensive Tailwind CSS for LustBot Dashboard */
/* Modern, professional styling with Discord-inspired theme */

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    /* Fallback for browsers that don't support WebP */
    background: url('/static/BackDrop/Illustration.png') center center / cover no-repeat fixed;
    /* Modern browsers with WebP support */
    background: url('/static/BackDrop/Illustration.webp') center center / cover no-repeat fixed;
    background-color: #1a1a2e; /* Fallback color if images fail */
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

/* Layout utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Flexbox utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-around { justify-content: space-around; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Spacing utilities */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* Width and height utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1/2 { width: 50%; }
.w-1/3 { width: 33.333333%; }
.w-2/3 { width: 66.666667%; }
.w-1/4 { width: 25%; }
.w-3/4 { width: 75%; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }

/* Text utilities */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Color utilities */
.text-white { color: #ffffff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-red-400 { color: #f87171; }
.text-red-600 { color: #dc2626; }
.text-red-800 { color: #991b1b; }
.text-green-400 { color: #4ade80; }
.text-green-600 { color: #16a34a; }
.text-green-800 { color: #166534; }
.text-blue-400 { color: #60a5fa; }
.text-blue-600 { color: #2563eb; }
.text-purple-400 { color: #c084fc; }
.text-purple-500 { color: #a855f7; }
.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7c3aed; }
.text-yellow-400 { color: #facc15; }
.text-yellow-600 { color: #ca8a04; }

.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-500 { background-color: #6b7280; }
.bg-gray-600 { background-color: #4b5563; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-600 { background-color: #dc2626; }
.bg-red-700 { background-color: #b91c1c; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-600 { background-color: #16a34a; }
.bg-green-700 { background-color: #15803d; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-700 { background-color: #4338ca; }
.bg-purple-500 { background-color: #a855f7; }
.bg-purple-600 { background-color: #9333ea; }
.bg-purple-700 { background-color: #7c3aed; }
.bg-orange-600 { background-color: #ea580c; }
.bg-orange-700 { background-color: #c2410c; }
.bg-cyan-600 { background-color: #0891b2; }
.bg-cyan-700 { background-color: #0e7490; }
.bg-pink-500 { background-color: #ec4899; }
.bg-pink-600 { background-color: #db2777; }
.bg-pink-700 { background-color: #be185d; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-yellow-600 { background-color: #ca8a04; }
.bg-black { background-color: #000000; }

/* Simple gradient backgrounds for login page */
.bg-gradient-to-br {
    background: linear-gradient(to bottom right, #111827, #581c87, #111827);
}

.bg-gradient-to-r {
    background: linear-gradient(to right, #9333ea, #db2777);
}

.bg-gradient-purple-pink {
    background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.bg-gradient-purple-pink-hover {
    background: linear-gradient(to right, #7c3aed, #be185d);
}

.bg-gradient-text {
    background: linear-gradient(to right, #c084fc, #f472b6);
}

/* Discord theme colors */
.bg-discord-dark { background-color: #2c2f33; }
.bg-discord-darker { background-color: #23272a; }
/* Override the solid background with frosted glass - this will be overridden by the enhanced version below */
.bg-discord-input { background-color: #40444b; }
.bg-discord-primary { background-color: #7289da; }
.bg-discord-secondary { background-color: #424549; }
.bg-discord-accent { background-color: #ff6b6b; }
.bg-discord-blurple { background-color: #5865f2; }
.bg-discord-blurple-hover { background-color: #4752c4; }

.border-discord-border { border-color: #4f545c; }
.border-discord-primary { border-color: #7289da; }

/* Border utilities */
.border { border-width: 1px; }
.border-0 { border-width: 0px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }

.border-gray-200 { border-color: #e5e7eb; }
.border-gray-700 { border-color: #374151; }
.border-red-200 { border-color: #fecaca; }
.border-green-200 { border-color: #bbf7d0; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t-md { border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; }
.rounded-b-md { border-bottom-left-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }
.rounded-none { border-radius: 0; }

/* Shadow utilities */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }

/* Display utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Z-index utilities */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-1000 { z-index: 1000; }

/* Focus utilities */
.focus-outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus-ring-2:focus { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5); }
.focus-ring-purple-500:focus { box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.5); }
.focus-border-purple-500:focus { border-color: #a855f7; }
.focus\:ring-discord-blurple:focus { box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.5); }
.focus\:ring-offset-discord-darker { box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.5), 0 0 0 6px #23272a; }

/* Hover utilities */
.hover-bg-purple-700:hover { background-color: #7c3aed; }
.hover-bg-red-700:hover { background-color: #b91c1c; }
.hover-bg-blue-600:hover { background-color: #2563eb; }
.hover-bg-gray-700:hover { background-color: #374151; }
.hover-text-purple-400:hover { color: #c084fc; }
.hover-shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Transition utilities */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Space utilities */
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Responsive utilities */
@media (max-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .mobile-hidden { display: none !important; }
    .mobile-full { width: 100% !important; margin: 0 !important; padding: 0 1rem !important; }
    .mobile-stack { flex-direction: column !important; }
    .mobile-text-center { text-align: center !important; }
    .mobile-p-2 { padding: 0.5rem !important; }
    .mobile-mb-4 { margin-bottom: 1rem !important; }
    .mobile-nav { display: block !important; }
    .mobile-table { font-size: 0.875rem !important; }
    .mobile-table th, .mobile-table td { padding: 0.5rem 0.25rem !important; }
    .mobile-button { width: 100% !important; margin-bottom: 0.5rem !important; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:p-6 { padding: 1.5rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:gap-6 { gap: 1.5rem; }
    .md\:mb-6 { margin-bottom: 1.5rem; }
    .md\:mb-8 { margin-bottom: 2rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Custom utilities for LustBot */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4f545c;
}

/* Force all table avatars to be small */
.table img[src*="discord.com"],
.table img[src*="cdn.discordapp.com"],
.table .user-avatar,
.table img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4f545c;
}

/* Applications table specific avatar sizing */
.applications-table img,
.applications-table .user-avatar {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
}

/* Global image size control */
img[src*="discord.com"],
img[src*="cdn.discordapp.com"] {
    max-width: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
}

.level-badge {
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-card {
    background: rgba(26, 26, 46, 0.4) !important;
    border: 2px solid rgba(79, 84, 92, 0.4) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(20px) saturate(1.1) contrast(1.05) !important;
    position: relative !important;
}

.stats-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(114, 137, 218, 0.5) !important;
    background: rgba(26, 26, 46, 0.5) !important;
    backdrop-filter: blur(25px) saturate(1.2) contrast(1.1) !important;
}

/* Navigation styles */
.desktop-nav {
    background: linear-gradient(135deg, #2c2f33 0%, #23272a 100%);
    border-bottom: 2px solid #7289da;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.sidebar {
    background: rgba(26, 26, 46, 0.25);
    border-right: 2px solid rgba(79, 84, 92, 0.3);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(25px) saturate(1.2) contrast(1.1);
    position: relative;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(79, 84, 92, 0.6) rgba(44, 47, 51, 0.2);
    padding: 1rem 0;
    border-radius: 0 15px 15px 0;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #2c2f33;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #4f545c;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #5a5f66;
}

/* Sidebar header/title */
.sidebar-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 2px solid rgba(79, 84, 92, 0.4);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.2) 0%, rgba(88, 101, 242, 0.2) 100%);
    border-radius: 0 0 1rem 0;
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.1);
    backdrop-filter: blur(20px) saturate(1.3);
}

.sidebar-header h1 {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-header .icon {
    font-size: 1.5rem;
    color: #ffffff;
}

/* Navigation categories */
.nav-category {
    margin: 1.5rem 0 0.5rem 0;
    padding: 0 1.5rem;
}

.nav-category-title {
    color: #7289da;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(114, 137, 218, 0.1);
    border-radius: 0.5rem;
    border-left: 3px solid #7289da;
}

.nav-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.75rem;
    margin: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.nav-item::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;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    background: linear-gradient(135deg, #40444b 0%, #4f545c 100%);
    transform: translateX(6px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: #7289da;
    color: #ffffff;
}

.nav-item.active {
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%);
    box-shadow: 0 4px 16px rgba(114, 137, 218, 0.4);
    transform: translateX(4px);
    border-color: #ffffff;
    color: #ffffff;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #ffffff;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Sub-navigation items */
.nav-submenu {
    margin-left: 1rem;
    border-left: 2px solid rgba(114, 137, 218, 0.3);
    padding-left: 0.5rem;
}

.nav-submenu .nav-item {
    margin: 0.25rem 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-submenu .nav-item:hover {
    background: linear-gradient(135deg, #36393f 0%, #40444b 100%);
    border-color: #7289da;
}

.nav-submenu .nav-item.active {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border-color: #ffffff;
}

/* Navigation icons */
.nav-item i, .nav-item .icon {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
    color: inherit;
}

/* Navigation text */
.nav-item span, .nav-item a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}

/* Separator between nav sections */
.nav-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, #4f545c, transparent);
    margin: 1rem 1.5rem;
    opacity: 0.5;
}

/* Sidebar User Panel */
.sidebar-user-panel {
    margin-top: auto;
    padding: 1rem 0;
    border-top: 1px solid #4f545c;
}

.sidebar-notifications {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.3rem;
    border-radius: 50%;
    min-width: 1.2rem;
    height: 1.2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.notifications-panel {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #36393f;
    border: 1px solid #4f545c;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    z-index: 100;
}

.notifications-header {
    padding: 0.75rem;
    border-bottom: 1px solid #4f545c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.notifications-header button {
    font-size: 0.75rem;
    color: #7289da;
    background: none;
    border: none;
    cursor: pointer;
}

.notifications-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
}

.sidebar-user-menu {
    position: relative;
}

.user-menu-panel {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: transparent;
    border: 1px solid #4f545c;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    z-index: 100;
    padding: 0.5rem;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.user-menu-item:hover {
    background: #40444b;
}

.user-menu-item i {
    width: 1rem;
    text-align: center;
}

.timezone-select {
    width: 100%;
    background: #40444b;
    border: 1px solid #4f545c;
    color: white;
    padding: 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Make sidebar scroll with content instead of being fixed */
.sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: visible;
    position: relative;
}

.sidebar nav {
    flex: 1;
    overflow: visible;
}

.sidebar-user-panel {
    flex-shrink: 0;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(114, 137, 218, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #424549 0%, #36393f 100%);
    color: white;
    border: 1px solid #4f545c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4f545c 0%, #40444b 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: #7289da;
}

.btn-danger {
    background: linear-gradient(135deg, #ed4245 0%, #c0392b 100%);
    color: white;
    border: 1px solid #ed4245;
    box-shadow: 0 4px 12px rgba(237, 66, 69, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(237, 66, 69, 0.4);
    border-color: #ed4245;
}

/* Table styles */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background-color: rgba(64, 68, 75, 0.8);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid rgba(79, 84, 92, 0.6);
    backdrop-filter: blur(5px);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(79, 84, 92, 0.4);
    color: #d1d5db;
    background-color: rgba(54, 57, 63, 0.3);
}

.table tr:hover {
    background-color: #40444b;
}

/* Card styles */
.card {
    background: rgba(26, 26, 46, 0.35);
    border: 2px solid rgba(79, 84, 92, 0.4);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px) saturate(1.1) contrast(1.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7289da, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: #7289da;
}

.card-header {
    background: rgba(54, 57, 63, 0.6);
    padding: 1.75rem;
    border-bottom: 2px solid rgba(79, 84, 92, 0.5);
    position: relative;
    backdrop-filter: blur(15px) saturate(1.1);
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7289da, transparent);
}

.card-body {
    padding: 1.75rem;
    background: rgba(54, 57, 63, 0.15);
    backdrop-filter: blur(10px) saturate(1.05);
}

/* Form styles */
.form-input {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #4f545c;
    border-radius: 0.5rem;
    background-color: #40444b;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #7289da;
    box-shadow: 0 0 0 3px rgba(114, 137, 218, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Fix input field sizing issues */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
select {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Compact layout fixes */
.compact-layout {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

.compact-card {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
}

.compact-table {
    font-size: 0.875rem !important;
}

.compact-table th,
.compact-table td {
    padding: 0.5rem !important;
}

/* Modal fixes */
.modal-overlay {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) saturate(1.1) !important;
    transition: all 0.2s ease-out !important;
}

.modal-content {
    background: rgba(26, 26, 46, 0.9) !important;
    border: 2px solid rgba(79, 84, 92, 0.5) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    max-width: 500px !important;
    width: 90% !important;
    margin: 2rem auto !important;
    padding: 1.5rem !important;
    backdrop-filter: blur(20px) saturate(1.1) contrast(1.05) !important;
    transition: all 0.2s ease-out !important;
}

/* Fix all modals to use proper styling */
#deleteModal,
#approveModal,
#denyModal {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) saturate(1.1) !important;
    transition: all 0.2s ease-out !important;
}

#deleteModal .bg-discord-card,
#approveModal .bg-discord-card,
#denyModal .bg-discord-card {
    background: rgba(26, 26, 46, 0.9) !important;
    border: 2px solid rgba(79, 84, 92, 0.5) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    max-width: 500px !important;
    width: 90% !important;
    margin: 2rem auto !important;
    padding: 1.5rem !important;
    backdrop-filter: blur(20px) saturate(1.1) contrast(1.05) !important;
    transition: all 0.2s ease-out !important;
}

/* Enhanced modal styling */
.modal-content h3 {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

/* Modal fade-in animation */
.modal-overlay:not(.hidden) {
    animation: modalFadeIn 0.2s ease-out;
}

.modal-content {
    animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px) saturate(1.1);
    }
}

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

/* Enhanced frosted glass effects for common UI elements */
.bg-discord-card {
    background: rgba(26, 26, 46, 0.4) !important;
    backdrop-filter: blur(15px) saturate(1.05) contrast(1.02) !important;
    border: 1px solid rgba(79, 84, 92, 0.3) !important;
}

/* Specific fix for dashboard stats cards */
.grid .stats-card {
    background: rgba(26, 26, 46, 0.4) !important;
    backdrop-filter: blur(20px) saturate(1.1) contrast(1.05) !important;
    border: 2px solid rgba(79, 84, 92, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.bg-discord-secondary {
    background: rgba(54, 57, 63, 0.3) !important;
    backdrop-filter: blur(10px) saturate(1.05) !important;
}

/* Table styling with frosted glass */
.table-container {
    background: rgba(26, 26, 46, 0.25);
    backdrop-filter: blur(15px) saturate(1.05);
    border: 1px solid rgba(79, 84, 92, 0.3);
    border-radius: 0.75rem;
    overflow: hidden;
}

.modal-content p {
    color: #d1d5db !important;
    margin-bottom: 0.75rem !important;
}

.modal-content label {
    color: #9ca3af !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    background: #40444b !important;
    border: 1px solid #4f545c !important;
    color: #ffffff !important;
    padding: 0.75rem !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none !important;
    border-color: #7289da !important;
    box-shadow: 0 0 0 3px rgba(114, 137, 218, 0.1) !important;
}

.modal-content button {
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
    margin-left: 0.5rem !important;
}

.modal-content .flex.justify-end {
    margin-top: 1.5rem !important;
}

/* Lineup specific fixes */
.lineup-container {
    max-width: 100% !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

.lineup-input {
    max-width: 100% !important;
    min-width: 200px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.lineup-textarea {
    max-width: 100% !important;
    min-width: 300px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Make dancer lineup take full width */
.lineup-container .dancer-slot {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
}

/* Make the dancer lineup section take full width */
.lineup-container [class*="lg:col-span-2"] {
    grid-column: span 3 / span 3 !important;
    width: 100% !important;
}

.lineup-container [class*="lg:col-span-1"] {
    grid-column: span 1 / span 1 !important;
}

.lineup-container .dancer-slot .grid-cols-1.md\\:grid-cols-3 {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
}

.lineup-container .dancer-slot .grid-cols-1.md\\:grid-cols-3 > div {
    min-width: 0 !important;
    flex: 1 !important;
}

/* Force lineup grid to be more compact */
.lineup-container .grid-cols-1.md\:grid-cols-3 {
    gap: 0.5rem !important;
}

.lineup-container .grid-cols-1.md\:grid-cols-3 > div {
    min-width: 0 !important;
    flex: 1 !important;
}

/* Live event display compact fixes */
.live-event-compact .card {
    padding: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

.live-event-compact .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 0.5rem !important;
}

/* Fix attendees category in live event display */
.live-event-compact .attendees-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

.live-event-compact .attendees-table {
    width: 100% !important;
    font-size: 0.875rem !important;
}

.live-event-compact .attendees-table th,
.live-event-compact .attendees-table td {
    padding: 0.5rem !important;
    white-space: nowrap !important;
}

.live-event-compact .attendees-table img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
}

.live-event-compact .space-y-4 > * + * {
    margin-top: 0.5rem !important;
}

.live-event-compact .p-6 {
    padding: 0.75rem !important;
}

.live-event-compact .mb-6 {
    margin-bottom: 0.75rem !important;
}

.live-event-compact .text-2xl {
    font-size: 1.25rem !important;
}

.live-event-compact .text-lg {
    font-size: 1rem !important;
}

/* Staff attendance fixes */
.staff-attendance-container {
    max-width: 100% !important;
    overflow-x: auto !important;
}

.staff-role-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    max-width: 100% !important;
}

.staff-role-tab {
    flex: 0 1 auto !important;
    max-width: 200px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Feedback and Economy page fixes */
.feedback-container,
.economy-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.feedback-container .max-w-7xl,
.economy-container .container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 1rem !important;
}

.feedback-container .table,
.economy-container .table {
    font-size: 0.875rem !important;
}

.feedback-container .table th,
.feedback-container .table td,
.economy-container .table th,
.economy-container .table td {
    padding: 0.75rem 0.5rem !important;
    vertical-align: middle !important;
}

.feedback-container .table img,
.economy-container .table img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Economy stats cards */
.economy-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.economy-stats-card {
    background: linear-gradient(135deg, #36393f 0%, #424549 100%) !important;
    border: 1px solid #4f545c !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.economy-stats-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    border-color: #7289da !important;
}

.economy-stats-card h3 {
    color: #7289da !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.5rem !important;
}

.economy-stats-card .stat-value {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.25rem !important;
}

.economy-stats-card .stat-label {
    color: #9ca3af !important;
    font-size: 0.75rem !important;
}

/* Mobile navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c2f33 0%, #23272a 100%);
    border-top: 1px solid #4f545c;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Animation utilities */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2c2f33;
}

::-webkit-scrollbar-thumb {
    background: #4f545c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a5f66;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #7289da;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Global Notification System */
.notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    pointer-events: none;
}

.notification {
    background: #36393f;
    border: 1px solid #4f545c;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 0.875rem;
    max-width: 20rem;
    pointer-events: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #43b581;
    background: #2f3136;
}

.notification.error {
    border-left: 4px solid #f04747;
    background: #2f3136;
}

.notification.warning {
    border-left: 4px solid #faa61a;
    background: #2f3136;
}

.notification.info {
    border-left: 4px solid #7289da;
    background: #2f3136;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-message {
    flex: 1;
    margin-right: 0.5rem;
}

.notification-close {
    background: none;
    border: none;
    color: #72767d;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.notification-close:hover {
    background: #4f545c;
    color: #ffffff;
}

/* Pretty tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab {
    background: linear-gradient(135deg, #3a3d43 0%, #2e3136 100%);
    color: #e5e7eb;
    padding: 0.5rem 0.9rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tab:hover {
    background: linear-gradient(135deg, #43474e 0%, #34383e 100%);
    border-color: #7289da;
    transform: translateY(-1px);
}

.tab.active {
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(114, 137, 218, 0.35);
}

/* Elevated page header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border: 1px solid #4f545c;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #2b2f35 0%, #23272a 100%);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    margin-bottom: 1rem;
}

.page-title {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}

/* Soft table elevation */
.table-wrapper {
    background: linear-gradient(135deg, #2e3136 0%, #262a2e 100%);
    border: 1px solid #42464d;
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}
