/* ============================================
   MODERN DESIGN SYSTEM - COMPLETE REDESIGN
   ============================================ */

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

:root {
    /* Modern Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient-alt: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    
    --secondary: #64748b;
    --secondary-light: #94a3b8;
    --secondary-dark: #475569;
    
    --success: #10b981;
    --success-light: #34d399;
    --success-dark: #059669;
    
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --warning-dark: #d97706;
    
    --error: #ef4444;
    --error-light: #f87171;
    --error-dark: #dc2626;
    
    --info: #06b6d4;
    --info-light: #22d3ee;
    --info-dark: #0891b2;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-overlay: rgba(15, 23, 42, 0.8);
    
    /* Sidebar Colors */
    --sidebar-bg: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    --sidebar-hover: rgba(255, 255, 255, 0.08);
    --sidebar-active: rgba(99, 102, 241, 0.15);
    --sidebar-border: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;
    --text-muted: #cbd5e1;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-dark: #94a3b8;
    --border-focus: rgba(99, 102, 241, 0.3);
    
    /* Shadows - Modern & Layered */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    
    /* Spacing System */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;     /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    
    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Courier New', monospace;
    
    /* Z-Index Layers */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 1000;
    --z-modal: 1100;
    --z-popover: 1200;
    --z-toast: 1300;
    --z-tooltip: 1400;
}

/* ============================================
   BASE STYLES & TYPOGRAPHY
   ============================================ */

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    overflow-x: hidden;
}

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

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   LAYOUT SYSTEM
   ============================================ */

body {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    color: var(--text-inverse);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    max-height: 100vh;
    left: 0;
    top: 0;
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base);
    border-right: 1px solid var(--sidebar-border);
}

.sidebar-header {
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--sidebar-border);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.sidebar-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--text-inverse);
    letter-spacing: -0.01em;
}

.sidebar-header h1 i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
}

.sidebar-header .subtitle {
    font-size: 0.875rem;
    opacity: 0.7;
    color: var(--text-inverse);
    font-weight: 400;
}

.sidebar-nav {
    flex: 1;
    padding: var(--spacing-lg) 0;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

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

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-xl);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
    font-weight: 500;
    font-size: 0.9375rem;
    margin: 0 var(--spacing-sm);
    border-radius: var(--radius-md);
}

.nav-item:hover {
    background: var(--sidebar-hover);
    color: var(--text-inverse);
    transform: translateX(4px);
}

.nav-item.active {
    background: var(--sidebar-active);
    color: var(--text-inverse);
    border-left-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.sidebar-footer {
    margin-top: auto;
    padding: var(--spacing-lg);
    border-top: 1px solid var(--sidebar-border);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: background var(--transition-base);
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.08);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: var(--text-inverse);
    font-size: 0.9375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: capitalize;
}

.user-store {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-subscription {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left var(--transition-base);
    background: var(--bg-secondary);
}

.page-header {
    background: var(--bg-primary);
    padding: var(--spacing-xl) var(--spacing-2xl);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.page-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.content-section {
    flex: 1;
    padding: var(--spacing-2xl);
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

.card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--border-medium);
}

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

.card h3 {
    margin-bottom: var(--spacing-lg);
    font-size: 1.375rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* Dashboard Stats */
.dashboard-stats {
    margin-top: var(--spacing-xl);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.stat-card:hover::before {
    transform: scaleY(1);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
    background: var(--primary-gradient);
    box-shadow: var(--shadow-md);
}

.stat-content h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

/* Order Counts */
.order-counts-container {
    overflow-y: auto;
    padding-right: var(--spacing-sm);
}

.order-counts-container::-webkit-scrollbar {
    width: 8px;
}

.order-counts-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
}

.order-counts-container::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-full);
}

.order-counts-container::-webkit-scrollbar-thumb:hover {
    background: var(--border-dark);
}

.order-counts-group {
    margin-bottom: var(--spacing-xl);
}

.order-counts-group:last-child {
    margin-bottom: 0;
}

.order-counts-group h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8125rem;
}

.order-counts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.order-count-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.order-count-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
    transform: translateX(4px);
}

.order-count-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: var(--spacing-sm);
    font-weight: 500;
}

.order-count-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--bg-primary);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    min-width: 45px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.05);
}

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

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-secondary);
    border-color: var(--border-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.btn-success:hover:not(:disabled) {
    background: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-danger {
    background: var(--error);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
}

.btn-danger:hover:not(:disabled) {
    background: var(--error-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-icon:hover:not(:disabled) {
    background: var(--bg-secondary);
    color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.input-field,
.select-field {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-base);
    font-family: inherit;
}

.input-field-p {
    width: 100%;
    padding: 5px;
    border: 2px solid var(--border-medium);
    border-radius: 5px;
    transition: all var(--transition-base);
	font-family: inherit;
}

.input-field:focus,
.select-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--border-focus);
    background: var(--bg-primary);
}

.input-field::placeholder {
    color: var(--text-tertiary);
}

.text-danger {
    color: var(--error);
    font-weight: 600;
}

/* Search Box */
.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 1rem;
    z-index: 1;
}

.search-box input {
    padding-left: 3rem;
}

/* Filters */
.filters-card {
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.filters-row {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    min-width: 160px;
}

.filter-group label {
    font-size: 0.875rem;
    margin: 0;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================================
   TABLES
   ============================================ */

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-light);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.table-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.table-info h3 {
    margin: 0;
    font-size: 1.375rem;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-full);
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: var(--border-dark);
}

.products-table,
.users-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    min-width: 1000px;
}

.products-table thead,
.users-table thead {
    background: var(--bg-secondary);
}

.products-table th,
.users-table th {
    padding: 0.5rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-light);
    white-space: nowrap;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Название товара может переноситься - заголовок */
.products-table th:nth-child(3) {
    white-space: normal;
}

.products-table td,
.users-table td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    vertical-align: middle;
    white-space: nowrap;
}

/* Название товара может переноситься */
.products-table th:nth-child(3),
.products-table td:nth-child(3) {
    white-space: normal;
    word-wrap: break-word;
    max-width: 300px;
    min-width: 200px;
}

.products-table tbody tr,
.users-table tbody tr {
    transition: all var(--transition-fast);
}

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

.products-table tbody tr.selected {
    background: rgba(99, 102, 241, 0.08);
}

.empty-state {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.3;
    color: var(--text-tertiary);
}

.empty-state p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    text-transform: capitalize;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-dark);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.inactive {
    background: rgba(100, 116, 139, 0.1);
    color: var(--secondary-dark);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-dark);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.status-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-dark);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.status-purple {
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.status-badge.status-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-badge.status-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-dark);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.status-orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.status-badge.status-yellow {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.status-badge.status-gray {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

/* Product Image */
.product-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.product-image:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Top Prices */
.top-prices-cell {
    min-width: 200px;
    max-width: 300px;
}

.top-prices-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.top-price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.top-price-item.clickable-price {
    cursor: pointer;
}

.top-price-item.clickable-price:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
    transform: translateX(4px);
}

/* Мой магазин в топ-3 */
.top-price-item.my-store {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.45);
}
/* Магазины из группы в топ-3 */
.top-price-item.group-store {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.price-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
}

.price-value {
    font-weight: 700;
    color: var(--text-primary);
}

.old-price-value {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--warning);
    font-size: 0.75rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xl);
    border-top: 1px solid var(--border-light);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number {
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border: 2px solid var(--border-medium);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.page-number:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--bg-secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.page-number.active {
    background: var(--primary-gradient);
    color: var(--text-inverse);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.page-number:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-ellipsis {
    padding: 0 var(--spacing-sm);
    color: var(--text-secondary);
    font-weight: 600;
}

/* ============================================
   MODALS
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    backdrop-filter: blur(8px);
    animation: fadeIn var(--transition-base);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn var(--transition-slow);
    border: 1px solid var(--border-light);
}

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

.modal-small {
    max-width: 450px;
}

.modal-medium {
    max-width: 600px;
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    padding: var(--spacing-xl) var(--spacing-2xl);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--spacing-2xl);
    overflow-y: auto;
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

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

.modal-body::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-full);
}

.modal-footer {
    padding: var(--spacing-xl) var(--spacing-2xl);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
    background: var(--bg-secondary);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
    position: fixed;
    bottom: var(--spacing-2xl);
    right: var(--spacing-2xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-toast);
    display: none;
    align-items: center;
    gap: var(--spacing-md);
    min-width: 320px;
    max-width: 450px;
    animation: slideInRight var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.show {
    display: flex;
}

.toast.success {
    background: var(--success);
    color: var(--text-inverse);
}

.toast.error {
    background: var(--error);
    color: var(--text-inverse);
}

.toast.info {
    background: var(--info);
    color: var(--text-inverse);
}

.toast i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: var(--z-modal);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    backdrop-filter: blur(8px);
}

.loading-overlay p {
    font-size: 1.125rem;
    margin: var(--spacing-lg) 0;
    font-weight: 600;
    color: var(--text-inverse);
}

.spinner-large {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--text-inverse);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: var(--spacing-lg);
}

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

.progress-bar-container {
    width: 320px;
    max-width: 90%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--text-inverse);
    width: 0%;
    transition: width var(--transition-base);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#loadingPercent {
    font-size: 1rem;
    font-weight: 700;
    margin-top: var(--spacing-xs);
    color: var(--text-inverse);
}


/* ============================================
   TOGGLE SWITCH
   ============================================ */

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-medium);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-inner);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition-base);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--success);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch:hover .toggle-slider {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.toggle-switch input:checked:hover + .toggle-slider {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* ============================================
   BUTTON LOADING WITH PROGRESS
   ============================================ */

.btn-loading {
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.btn-loading-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    justify-content: center;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

.btn-loading-text {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.btn-loading-percent {
    font-size: 0.875rem;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}

@media (max-width: 768px) {
    .btn-loading-text {
        max-width: 80px;
        font-size: 0.8125rem;
    }
    
    .btn-loading-percent {
        font-size: 0.8125rem;
        min-width: 35px;
    }
    
    .btn-spinner {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .btn-loading-text {
        max-width: 60px;
        font-size: 0.75rem;
    }
    
    .btn-loading-percent {
        font-size: 0.75rem;
        min-width: 30px;
    }
    
    .btn-spinner {
        width: 12px;
        height: 12px;
    }
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: var(--spacing-md);
    right: var(--spacing-md);
    z-index: calc(var(--z-fixed) + 1);
    background: var(--bg-primary);
    color: var(--primary);
    border: 2px solid var(--border-light);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    transition: all var(--transition-base);
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: calc(var(--z-fixed) - 1);
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
    }
    
    .content-section {
        padding: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    
    .sidebar {
        width: 280px;
        max-width: 85vw;
        transform: translateX(-100%);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100vh;
        max-height: 100vh;
        height: 100dvh; /* Dynamic viewport height для мобильных */
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .sidebar-header {
        flex-shrink: 0;
        padding: var(--spacing-lg);
    }
    
    .sidebar-nav {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: var(--spacing-sm);
        min-height: 0;
        max-height: calc(100vh - 200px); /* Вычитаем высоту header и footer */
    }
    
    .sidebar-footer {
        flex-shrink: 0;
        background: var(--sidebar-bg);
        padding: var(--spacing-md) var(--spacing-lg);
        padding-bottom: max(var(--spacing-md), env(safe-area-inset-bottom));
        border-top: 1px solid var(--sidebar-border);
        position: relative;
        z-index: 20;
    }
    
    .sidebar-footer .user-info {
        margin-bottom: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .sidebar-footer .btn {
        min-height: 48px;
        font-size: 1rem;
        width: 100%;
        margin-top: 0;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .page-header {
        padding: var(--spacing-lg);
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-header h2 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: var(--spacing-lg);
    }
    
    .card {
        padding: var(--spacing-lg);
        border-radius: var(--radius-lg);
    }
    
    .filters-row {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .search-box {
        width: 100%;
    }
    
    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .table-container {
        margin: auto;
    }
    
    .products-table,
    .users-table {
        min-width: 800px;
        font-size: 0.875rem;
    }
    
    .products-table th,
    .products-table td,
    .users-table th,
    .users-table td {
        padding: 0.875rem 0.75rem;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
        margin: var(--spacing-md);
        border-radius: var(--radius-xl);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .toast {
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
        left: var(--spacing-lg);
        min-width: auto;
        max-width: none;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .order-counts-list {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        width: 52px;
        height: 52px;
        font-size: 1.375rem;
    }
    
    .main-content {
        padding-top: 70px;
    }
    
    .sidebar {
        width: 100%;
        max-width: 320px;
        height: 100vh;
        max-height: 100vh;
        height: 100dvh;
    }
    
    .sidebar-header {
        padding: var(--spacing-md);
    }
    
    .sidebar-nav {
        max-height: calc(100vh - 180px);
    }
    
    .sidebar-footer {
        padding: var(--spacing-sm) var(--spacing-md);
        padding-bottom: max(var(--spacing-sm), env(safe-area-inset-bottom));
    }
    
    .sidebar-footer .user-info {
        padding: var(--spacing-xs);
        margin-bottom: var(--spacing-xs);
    }
    
    .sidebar-footer .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .sidebar-footer .user-name {
        font-size: 0.875rem;
    }
    
    .sidebar-footer .user-role {
        font-size: 0.75rem;
    }
    
    .sidebar-footer .btn {
        min-height: 44px;
        font-size: 0.9375rem;
        padding: 0.625rem 1rem;
    }
    
    .page-header {
        padding: var(--spacing-md);
    }
    
    .page-header h2 {
        font-size: 1.375rem;
    }
    
    .content-section {
        padding: var(--spacing-md);
    }
    
    .card {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
        border-radius: var(--radius-lg);
    }
    
    .products-table,
    .users-table {
        min-width: 700px;
        font-size: 0.8125rem;
    }
    
    .products-table th,
    .products-table td,
    .users-table th,
    .users-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .modal-content {
        width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: var(--spacing-lg);
    }
    
    .pagination {
        padding: var(--spacing-md);
        gap: var(--spacing-xs);
    }
    
    .page-number {
        min-width: 40px;
        height: 40px;
        font-size: 0.8125rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .stat-content h3 {
        font-size: 1.875rem;
    }
    
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.action-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.text-danger {
    color: var(--error);
}

/* Additional utility classes for seller info, detail sections, etc. */
.seller-info-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.seller-logo-container {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.seller-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.seller-rating-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--warning);
    font-size: 1rem;
    font-weight: 600;
}

.detail-section {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--border-light);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* API Settings Styles */
.api-settings-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.api-settings-item {
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-base);
}

.api-settings-item:last-child {
    border-bottom: none;
}

.api-settings-item:hover {
    background: var(--bg-secondary);
}

.api-settings-label {
    flex: 0 0 220px;
    font-weight: 700;
    color: var(--text-primary);
    padding-right: var(--spacing-lg);
    font-size: 0.9375rem;
}

.api-settings-value {
    flex: 1;
    word-break: break-all;
    min-width: 0;
}

.api-settings-value code {
    background: var(--bg-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    display: inline-block;
    font-size: 0.875rem;
    word-break: break-all;
    max-width: 100%;
    font-family: var(--font-mono);
    border: 1px solid var(--border-light);
}

.http-method-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.http-method-badge.method-get {
    background: var(--success);
    color: white;
}

.http-method-badge.method-put {
    background: var(--warning);
    color: white;
}

.http-method-badge.method-post {
    background: var(--primary);
    color: white;
}

.http-method-badge.method-delete {
    background: var(--error);
    color: white;
}

/* Language switcher (sidebar) */
.lang-btn-sidebar {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--sidebar-border);
    color: var(--text-inverse);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-base);
}
.lang-btn-sidebar:hover { background: rgba(255,255,255,0.15); }
.lang-btn-sidebar.active, .lang-btn-sidebar[data-active="true"] {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
