:root {
    /* StryonLab Color Palette */
    --primary-purple: #7C3AED;
    --primary-purple-glow: rgba(124, 58, 237, 0.5);
    --accent-blue: #0EA5E9;
    --accent-blue-glow: rgba(14, 165, 233, 0.5);
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.7);
    --bg-sidebar: #0b0f1a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--text-primary);
    border-left: 4px solid var(--primary-purple);
}

/* Main Content */
.main-content {
    margin-left: 260px;
    padding: 2rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 700;
}
/* Button Overhaul */
.btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), #9333ea);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

/* Premium Filter Tags */
.filter-tags-container {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tag {
    all: unset;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.filter-tag:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.2);
}

.filter-tag.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.btn-edit {
    color: var(--accent-blue) !important;
}

.btn-edit:hover {
    background: var(--accent-blue) !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transform: translateY(-3px);
}

.btn-delete {
    color: #ef4444 !important;
}

.btn-delete:hover {
    background: #ef4444 !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-3px);
}

/* Avatar Styling */
.avatar-glass {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.avatar-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
}

/* Table Action Container */
.action-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Filter Button Special */
.btn-filter {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: var(--primary-purple);
    padding: 10px 20px;
    border-radius: 10px;
}

.btn-filter:hover {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}
