:root {
    --nav-height: 56px;
    --nav-height-lg: 72px;
    --nav-bg: #ffffff;
    --nav-border: #e5e7eb;
    --nav-text: #374151;
    --nav-text-muted: #6b7280;
    --nav-text-active: #2563eb;
    --nav-active-bg: #eff6ff;
    --sidebar-width: 240px;
    --sidebar-width-sm: 64px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.nav--dark {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: #111827;
    border-bottom: 1px solid #1f2937;
    color: #f9fafb;
}

.nav--blue {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: #2563eb;
    color: #ffffff;
}

.nav--indigo {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: #4f46e5;
    color: #ffffff;
}

.nav--violet {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: #7c3aed;
    color: #ffffff;
}

.nav--teal {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: #0d9488;
    color: #ffffff;
}

.nav--rose {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: #e11d48;
    color: #ffffff;
}

.nav--slate {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: #1e293b;
    color: #e2e8f0;
}

.nav--transparent {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: transparent;
    color: #111827;
}

.nav--frosted {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    padding: 0 var(--space-6);
    background-color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(229,231,235,0.7);
    color: #111827;
}

.nav--lg {
    display: flex;
    align-items: center;
    height: var(--nav-height-lg);
    padding: 0 var(--space-8);
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.nav__brand {
    font-size: var(--font-lg);
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    margin-right: var(--space-8);
}

.nav__brand--blue {
    font-size: var(--font-lg);
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    margin-right: var(--space-8);
}

.nav__brand--white {
    font-size: var(--font-lg);
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin-right: var(--space-8);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex: 1;
}

.nav__link {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-sm);
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: color 150ms, background-color 150ms;
}

.nav__link:hover {
    color: #111827;
    background-color: #f3f4f6;
    border-radius: var(--radius-md);
}

.nav__link--active {
    color: #2563eb;
    background-color: #eff6ff;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.nav__link--active-violet {
    color: #7c3aed;
    background-color: #f5f3ff;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.nav__link--white {
    color: rgba(255,255,255,0.8);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    font-weight: 500;
    text-decoration: none;
}

.nav__link--white-active {
    color: #ffffff;
    background-color: rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-sm);
    font-weight: 600;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-left: auto;
}

.nav__divider {
    width: 1px;
    height: 20px;
    background-color: #e5e7eb;
}

.nav__avatar {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background-color: #dbeafe;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-sm);
}

.nav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ef4444;
    color: #ffffff;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #f9fafb;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-1);
}

.sidebar--dark {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #111827;
    border-right: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-1);
    color: #d1d5db;
}

.sidebar--blue {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #1d4ed8;
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-1);
    color: #bfdbfe;
}

.sidebar--slate {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #1e293b;
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-1);
    color: #94a3b8;
}

.sidebar--violet {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #4c1d95;
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-1);
    color: #ddd6fe;
}

.sidebar--compact {
    width: var(--sidebar-width-sm);
    height: 100vh;
    background-color: #f3f4f6;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-4) var(--space-2);
    gap: var(--space-2);
}

.sidebar__section-label {
    font-size: var(--font-xs);
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: var(--space-3) var(--space-3) var(--space-1);
}

.sidebar__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-sm);
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background-color 150ms;
}

.sidebar__item:hover {
    background-color: #e5e7eb;
    border-radius: var(--radius-md);
}

.sidebar__item--active {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.sidebar__item--active-violet {
    background-color: rgba(139,92,246,0.15);
    color: #c4b5fd;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.sidebar__item--active-dark {
    background-color: #374151;
    color: #f9fafb;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.sidebar__item--danger {
    color: #dc2626;
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-sm);
    font-weight: 500;
    text-decoration: none;
}

.sidebar__divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: var(--space-2) 0;
}

.sidebar__divider--dark {
    height: 1px;
    background-color: #374151;
    margin: var(--space-2) 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-sm);
    color: #6b7280;
}

.breadcrumb__item {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb__item--active {
    color: #111827;
    font-weight: 500;
}

.breadcrumb__separator {
    color: #d1d5db;
    font-size: var(--font-xs);
}

.tabs {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.tabs--blue {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #3b82f6;
    background-color: #ffffff;
}

.tabs--pills {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background-color: #f3f4f6;
    border-radius: 9999px;
    padding: 0.25rem;
}

.tab__item {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-sm);
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.tab__item--active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
    font-weight: 600;
}

.tab__item--pill {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-sm);
    font-weight: 500;
    color: #6b7280;
    border-radius: 9999px;
    cursor: pointer;
}

.tab__item--pill-active {
    background-color: #ffffff;
    color: #111827;
    font-weight: 600;
    border-radius: 9999px;
    padding: var(--space-2) var(--space-4);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pagination {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.pagination__item {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

.pagination__item--active {
    background-color: #2563eb;
    color: #ffffff;
    border-radius: var(--radius-md);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-sm);
    font-weight: 600;
}

.pagination__item--disabled {
    color: #d1d5db;
    cursor: not-allowed;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    padding: var(--space-2);
    min-width: 180px;
}

.dropdown--dark {
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 15px rgba(0,0,0,0.3);
    padding: var(--space-2);
    min-width: 180px;
    color: #f9fafb;
}

.dropdown__item {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-sm);
    color: #374151;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
}

.dropdown__item--danger {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-sm);
    color: #dc2626;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
}

.dropdown__divider {
    height: 1px;
    background-color: #f3f4f6;
    margin: var(--space-1) 0;
}
