:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --dark-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    
    --sidebar-bg: #1e293b;
    --sidebar-hover: #334155;
    --sidebar-text: #94a3b8;
    --sidebar-active-text: #f8fafc;
    
    --card-radius: 1rem;
    --input-radius: 0.75rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--card-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

/* Button Stylings */
.btn-premium {
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--input-radius);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-premium:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-premium-secondary {
    background: var(--secondary-gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--input-radius);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-premium-secondary:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Table Enhancements */
.table-premium {
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    width: 100% !important;
    margin-bottom: 0;
}

.table-responsive {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px; /* Room for scrollbar if it appears */
}

.table-premium thead th {
    background: transparent;
    border: none;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: #64748b;
    padding: 1rem 1.25rem;
}

.table-premium tbody tr {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.table-premium tbody tr:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 1;
}

.table-premium td {
    border: none;
    padding: 1rem 1.25rem;
    background: white;
}

.table-premium td:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.table-premium td:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Badges */
.badge-premium {
    padding: 0.5em 1em;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Sidebar Specifics */
.sidebar-link {
    color: var(--sidebar-text);
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background: var(--sidebar-hover);
    color: var(--sidebar-active-text);
}

.sidebar-link i {
    font-size: 1.1rem;
}

.sidebar-header {
    color: var(--sidebar-active-text);
    opacity: 0.65;
    font-weight: 700 !important;
    letter-spacing: 0.075em !important;
}


/* Login Page Background */
.bg-premium-mesh {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-attachment: fixed;
}
