/* Enterprise Dashboard Styles */

.dashboard-page {
    display: flex;
    background: #f0f2ff;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #0f172a;
    border-right: none;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 4px 0 20px rgba(99,102,241,0.15);
}

.sidebar-header {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(160deg, #111827 0%, #1a1040 60%, #0f172a 100%);
    min-height: 68px;
    position: relative;
    overflow: visible;
}

/* Logo container with dark background */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.logo i {
    color: #fbbf24;
    font-size: 22px;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 6px;
    padding: 2px;
    display: block;
}

/* Also support .logo class used in some pages - merged above */
.logo img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    background: #1e293b;
    border-radius: 6px;
    padding: 2px;
}

.brand-logo-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    flex: 1;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--light-gray);
}

.sidebar-nav {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 12px;
    margin-bottom: 8px;
    display: block;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 2px;
}

.nav-item i {
    width: 20px;
    font-size: 16px;
}

.nav-item span {
    flex: 1;
}

.nav-item:hover {
    background: rgba(99,102,241,0.12);
    color: #c7d2fe;
}

.nav-item.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--white);
}

.badge {
    background: var(--light-gray);
    color: var(--gray);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.nav-item.active .badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid #e2e8f0;
}

.upgrade-card {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--white);
}

.upgrade-card i {
    font-size: 32px;
    margin-bottom: 12px;
}

.upgrade-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.upgrade-card p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.topbar {
    background: var(--white);
    border-bottom: 1px solid rgba(99,102,241,0.1);
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(99,102,241,0.07);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light-gray);
    padding: 10px 16px;
    border-radius: var(--radius);
    flex: 1;
    max-width: 500px;
}

.search-box i {
    color: var(--gray);
}

.search-box input {
    border: none;
    background: none;
    flex: 1;
    font-size: 14px;
    outline: none;
}

.search-box kbd {
    background: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--gray);
    border: 1px solid #e2e8f0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--light-gray);
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.user-menu-btn:hover {
    background: var(--light-gray);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.user-role {
    font-size: 12px;
    color: var(--gray);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
    display: none;
    animation: slideDown 0.2s ease;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.user-dropdown a:hover {
    background: var(--light-gray);
}

.user-dropdown hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e2e8f0;
}

/* Dashboard Content */
.dashboard-content {
    padding: 32px;
    flex: 1;
}

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.welcome-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.welcome-section p {
    color: var(--gray);
    font-size: 15px;
}

.welcome-actions {
    display: flex;
    gap: 12px;
}

.btn-outline {
    background: var(--white);
    border: 2px solid #e2e8f0;
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(99,102,241,0.08);
    display: flex;
    gap: 16px;
    transition: var(--transition);
    border: 1px solid rgba(99,102,241,0.06);
}

.stat-card:hover {
    box-shadow: 0 8px 32px rgba(99,102,241,0.16);
    transform: translateY(-3px);
    border-color: rgba(99,102,241,0.15);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    display: block;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.stat-change.positive {
    color: var(--secondary);
}

.stat-change.negative {
    color: var(--danger);
}

/* Charts */
.charts-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.chart-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.select-sm {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    background: var(--white);
    cursor: pointer;
}

.chart-container {
    height: 300px;
}

/* Activity Row */
.activity-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.activity-card, .quick-actions-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.link-primary {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 16px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    padding: 12px;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.text-center {
    text-align: center;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.quick-action-btn {
    padding: 16px;
    background: var(--light-gray);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.quick-action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.quick-action-btn i {
    font-size: 24px;
}

.quick-action-btn span {
    font-size: 13px;
    font-weight: 600;
}

.alerts-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.alert-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.alert-item i {
    font-size: 20px;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

.alert-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.alert-item p {
    font-size: 13px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1200px) {
    .charts-row, .activity-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Table Card */
.table-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 32px;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.page-header p {
    color: var(--gray);
    font-size: 15px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--dark);
}

.btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
}

/* Badge */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

/* Btn Icon */
.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn-icon:hover {
    background: #667eea;
    color: white;
}

/* Form styles for modals */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.btn-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-close:hover {
    background: var(--light-gray);
    color: var(--dark);
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* Animations */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Product card image needs relative positioning for LOW STOCK badge */
.product-image {
    position: relative;
}

/* text-warning color */
.text-warning {
    color: #f59e0b !important;
}

/* ── Collapsible Nav Categories ─────────────────────────────────────────────── */
.nav-category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
  text-align: left;
  margin-bottom: 2px;
}
.nav-category-btn:hover {
  background: rgba(255,255,255,0.07);
  color: #e2e8f0;
}
.nav-cat-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cat-left i { width: 18px; font-size: 15px; }

.nav-chevron {
  font-size: 11px;
  transition: transform 0.25s ease;
  opacity: 0.6;
}
.nav-category.open .nav-chevron { transform: rotate(90deg); }

.nav-category.has-active > .nav-category-btn {
  color: #c4b5fd;
}
.nav-category.has-active > .nav-category-btn .nav-cat-left i {
  color: #a78bfa;
}

/* Children slide animation */
.nav-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.nav-category.open .nav-children { max-height: 500px; }

/* Indented child items */
.nav-child {
  padding-left: 38px !important;
  font-size: 13px !important;
  margin-bottom: 1px;
}
.nav-child i { font-size: 13px !important; }

/* Sidebar toggle button */
.sidebar-toggle {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  font-size: 16px;
  margin-left: auto;
  flex-shrink: 0;
}
.sidebar-toggle:hover { color: #e2e8f0; }

/* ── Global Visual Enhancements ─────────────────────────────────────────────── */

/* Page background */
.dashboard-content, .page-content {
    background: #f0f2ff;
}

/* Cards */
.card, .table-card, .chart-card, .section-card {
    border-radius: 16px !important;
    border: 1px solid rgba(99,102,241,0.07) !important;
    box-shadow: 0 2px 12px rgba(99,102,241,0.07) !important;
}

/* Page header */
.page-header h1, .page-header h2 {
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    border-radius: 10px !important;
    font-weight: 600 !important;
}
.btn-success, .btn.btn-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3) !important;
    color: white !important;
    border: none !important;
}
.btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(16,185,129,0.4) !important;
}
.btn-danger, .btn.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    box-shadow: 0 4px 14px rgba(239,68,68,0.3) !important;
    color: white !important;
    border: none !important;
}
.btn-outline {
    border: 1.5px solid rgba(99,102,241,0.3) !important;
    color: #6366f1 !important;
    background: white !important;
}
.btn-outline:hover {
    background: rgba(99,102,241,0.08) !important;
    border-color: #6366f1 !important;
}

/* Table */
.data-table thead th, table thead th {
    background: linear-gradient(135deg, #f0f2ff, #ede9fe) !important;
    color: #4f46e5 !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid rgba(99,102,241,0.15) !important;
}
.data-table tbody tr:hover, table tbody tr:hover {
    background: rgba(99,102,241,0.04) !important;
}

/* Badges */
.badge-primary, .badge.badge-primary {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe) !important;
    color: #6d28d9 !important;
}

/* Form inputs */
input[type="text"], input[type="number"], input[type="date"],
input[type="email"], input[type="password"], select, textarea {
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.2s !important;
}
input:focus, select:focus, textarea:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12) !important;
    outline: none !important;
}

/* Modal */
.modal-content {
    border-radius: 20px !important;
    box-shadow: 0 24px 80px rgba(99,102,241,0.2) !important;
    border: 1px solid rgba(99,102,241,0.1) !important;
}
.modal-header {
    background: linear-gradient(135deg, #f8f7ff, #ede9fe) !important;
    border-bottom: 1px solid rgba(99,102,241,0.12) !important;
    border-radius: 20px 20px 0 0 !important;
}
.modal-header h3 {
    color: #4f46e5 !important;
}

/* Status badges */
.status-badge {
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

/* Nav category buttons */
.nav-category-btn {
    border-radius: 10px !important;
}
.nav-category-btn:hover {
    background: rgba(99,102,241,0.15) !important;
    color: #c7d2fe !important;
}
.nav-category.has-active > .nav-category-btn {
    color: #a5b4fc !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f0f2ff; }
::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #818cf8; }

/* Topbar user button */
.user-menu-btn, .user-button {
    border-radius: 12px !important;
    border: 1.5px solid rgba(99,102,241,0.15) !important;
}
.user-menu-btn:hover, .user-button:hover {
    background: rgba(99,102,241,0.08) !important;
    border-color: rgba(99,102,241,0.3) !important;
}

/* Stat icon gradients */
.stat-icon {
    border-radius: 14px !important;
}

/* Page hero sections */
.page-hero, .hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #a855f7 100%) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 32px rgba(99,102,241,0.25) !important;
}

/* Btn-icon */
.btn-icon {
    border-radius: 8px !important;
    transition: all 0.2s !important;
}
.btn-icon:hover {
    transform: scale(1.1) !important;
}

/* ── Sidebar polish ──────────────────────────────────────────────────────────── */
.sidebar-nav {
    padding: 12px !important;
    background: #0f172a !important;
}

/* Section labels in sidebar */
.nav-section-title {
    color: rgba(148,163,184,0.6) !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
    padding: 0 10px !important;
    margin: 16px 0 6px !important;
    text-transform: uppercase !important;
}

/* Clean nav items */
.nav-item {
    color: #94a3b8 !important;
    border-radius: 10px !important;
    padding: 9px 12px !important;
    margin-bottom: 2px !important;
    font-size: 13px !important;
}
.nav-item i {
    font-size: 15px !important;
    width: 18px !important;
    opacity: 0.85;
}
.nav-item:hover {
    background: rgba(99,102,241,0.15) !important;
    color: #e0e7ff !important;
}
.nav-item:hover i { opacity: 1; }
.nav-item.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(99,102,241,0.4) !important;
}
.nav-item.active i { opacity: 1 !important; }

/* Logo area text */
.sidebar-header .logo div > div:first-child {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #f8fafc !important;
    letter-spacing: 0.3px !important;
}
.sidebar-header .logo div > div:last-child {
    font-size: 10px !important;
    color: #a5b4fc !important;
    font-weight: 500 !important;
}

/* Logo image container */
.sidebar-header img {
    border-radius: 10px !important;
    background: rgba(255,255,255,0.1) !important;
    padding: 4px !important;
    height: 42px !important;
    width: 42px !important;
    object-fit: contain !important;
}

/* Topbar clean */
.topbar {
    background: white !important;
    border-bottom: 1px solid #e8eaf6 !important;
    box-shadow: 0 1px 8px rgba(99,102,241,0.06) !important;
}

/* Main content area */
.main-content {
    background: #f5f5ff !important;
}
.dashboard-content {
    padding: 24px 32px !important;
}
