/* CSS Variables for Theme */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
:root {
  --background: #f9fafb;
  --foreground: #111827;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --primary: #4285f4;
  --primary-foreground: #ffffff;
  --accent: #f3f4f6;
  --accent-foreground: #111827;
  --sidebar: #ffffff;
  --sidebar-foreground: #111827;
  --sidebar-muted: #f3f4f6;
  --card: #ffffff;
  --card-foreground: #111827;
  --success: #10b981;
  --success-foreground: #ffffff;
  --warning: #f59e0b;
  --warning-foreground: #ffffff;
  --danger: #ef4444;
  --danger-foreground: #ffffff;
  --border-radius: 0.5rem;
  --font-sans: "Inter", sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark Theme */
.dark {
  --background: #111827;
  --foreground: #f9fafb;
  --muted: #1f2937;
  --muted-foreground: #9ca3af;
  --border: #374151;
  --primary: #6366f1;
  --primary-foreground: #ffffff;
  --accent: #1f2937;
  --accent-foreground: #f9fafb;
  --sidebar: #1f2937;
  --sidebar-foreground: #f9fafb;
  --sidebar-muted: #2d3748;
  --card: #1f2937;
  --card-foreground: #f9fafb;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 0.927rem;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* Layout */
.layout {
  display: flex;
  min-height: 100vh;
}
input:focus {
  outline: #4285f4 1px solid;
}
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background-color: var(--sidebar);
  color: var(--sidebar-foreground);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 40;
  transition: transform 0.3s ease;
}

.sidebar-collapsed {
  transform: translateX(-250px);
}

.sidebar-header {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.25rem;
}

.sidebar-logo-icon {
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu-item {
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.sidebar-menu-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: var(--border-radius);
  border: none;
  background: transparent;
  color: var(--sidebar-foreground);
  font-size: 0.875rem;
  text-align: left;
  transition: background-color 0.2s, color 0.2s;
}

.sidebar-menu-button:hover {
  background-color: var(--sidebar-muted);
}

.sidebar-menu-button.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.sidebar-menu-icon {
  margin-right: 0.75rem;
  width: 18px;
  height: 18px;
}

.sidebar-menu-badge {
  margin-left: auto;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
}

.sidebar-menu-button.active .sidebar-menu-badge {
  background-color: var(--primary-foreground);
  color: var(--primary);
}

.sidebar-submenu {
  margin-left: 2.25rem;
  margin-top: 0.5rem;
  display: none;
}

.sidebar-submenu.open {
  display: block;
}

.sidebar-submenu-item {
  margin-bottom: 0.25rem;
}

.sidebar-submenu-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  border: none;
  background: transparent;
  color: var(--sidebar-foreground);
  font-size: 0.75rem;
  text-align: left;
  transition: background-color 0.2s;
}

.sidebar-submenu-button:hover {
  background-color: var(--sidebar-muted);
}

.sidebar-submenu-button.active {
  font-weight: 500;
  color: var(--primary);
}

.sidebar-section {
  margin-top: 1.5rem;
  padding: 0 1.25rem;
}

.sidebar-section-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

/* Sidebar Backdrop */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 35;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#sidebarToggle {
  display: none;
}
.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Main Content */
.main {
  flex: 1;
  margin-left: 250px;
  transition: margin-left 0.3s ease;
}

.main-collapsed {
  margin-left: 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  height: 64px;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 30;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.sidebar-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--foreground);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-toggle:hover {
  background-color: var(--accent);
}

.header-search {
  position: relative;
  flex: 1;
  max-width: 300px;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  width: 16px;
  height: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-button {
  position: relative;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  margin-left: 0.5rem;
  transition: background-color 0.2s;
}

.header-button:hover {
  background-color: var(--accent);
}

.badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--muted);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 240px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  z-index: 50;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.dropdown-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: var(--accent);
}

.dropdown-item-icon {
  width: 16px;
  height: 16px;
  margin-right: 0.75rem;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border);
  margin: 0.25rem 0;
}
/* Main Content Area */
.content {
  padding: 1.5rem;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card {
  background-color: var(--card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  padding: 1.25rem 1.5rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.card-content {
  padding: 1rem 1.5rem 1.5rem;
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  background-color: var(--muted);
  color: var(--foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.stat-trend {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
}

.trend-up {
  color: var(--success);
}

.trend-down {
  color: var(--danger);
}

.trend-icon {
  margin-right: 0.25rem;
}

/* Charts */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.chart-container {
  height: 300px;
  position: relative;
  margin-top: 1rem;
}

.chart-bars {
  display: flex;
  height: 100%;
  align-items: flex-end;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
  column-gap: 2px;
}

.chart-bar {
  flex: 1;
  margin: 0 4px;
  background: linear-gradient(
    to top,
    rgba(79, 70, 229, 0.2),
    rgba(79, 70, 229, 0.8)
  );
  border-radius: 4px 4px 0 0;
  position: relative;
}

.chart-bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.chart-bar::before {
  content: attr(data-value);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.chart-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: -1;
}

.chart-grid-line {
  width: 100%;
  height: 1px;
  background-color: var(--border);
}

/* Table */
.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: var(--muted);
}

th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}

tr:hover {
  background-color: var(--accent);
}

.table-user {
  display: flex;
  align-items: center;
}

.table-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--muted);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  margin-right: 0.75rem;
}

.table-user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 500;
}

.user-email {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
input {
}

/* Badges */
.badge-pill {
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.badge-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.badge-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.tab {
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  cursor: pointer;
}

.tab.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
  font-weight: 500;
}

/* Top Products List */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-name {
  font-weight: 500;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.product-sales {
  color: var(--muted-foreground);
}

.product-trend {
  font-weight: 500;
}

/* Responsive */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .charts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-250px);
  }

  .sidebar-open {
    transform: translateX(0);
  }

  .main {
    margin-left: 0;
    width: 100%;
  }
  #sidebarToggle {
    display: block;
  }

  .breadcrumb-item.mobile-hidden {
    display: none;
  }
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: visible;
}

#modal {
  background-color: var(--card);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 90vw;
  max-width: 500px;
  z-index: 1100;
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: auto;
}

.modal-overlay.active #modal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-body {
  padding: 1.5rem;
  z-index: 9800000;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Form styles */
#uploadForm {
  width: 100%;
  max-width: 600px;
  min-width: 300px;
}
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background-color: var(--card);
  color: var(--foreground);
}

.form-control:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Upload area styles */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.upload-area:hover,
.upload-area.dragging {
  border-color: var(--primary);
  background-color: rgba(79, 70, 229, 0.05);
}

.upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(79, 70, 229, 0.1);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.upload-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #4f46e5;
}

.upload-text {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.upload-hint {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.file-input {
  display: none;
}

/* File preview styles */
.file-preview {
  margin-bottom: 1.5rem;
}

.file-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.file-preview-image {
  position: relative;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.file-preview-image img {
  display: block;
  max-width: 100%;
  max-height: 200px;
  margin: 0 auto;
}

.file-info {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
}

.file-info-icon {
  margin-right: 0.75rem;
  color: var(--muted-foreground);
}

.file-info-details {
  flex: 1;
  overflow: hidden;
}

.file-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success checkmark */
.success-icon {
  display: inline-flex;
  margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .modal-footer {
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
  }
}
.navbar-start {
  display: none;
}
#zoneka {
  display: none;
}

/* Global dark-theme coverage for all server-rendered pages and sections. */
html.dark,
html.dark body,
body.dark {
  color-scheme: dark;
  background: var(--background) !important;
  color: var(--foreground) !important;
}

.dark .content,
.dark .main-content,
.dark main,
.dark .tab-content {
  background-color: var(--background);
  color: var(--foreground);
  border-color: var(--border);
}

.dark .modal-content,
.dark #modal,
.dark .dropdown-menu,
.dark .card,
.dark .card-header,
.dark .card-content,
.dark .form-container,
.dark .table-container {
  background-color: var(--card);
  color: var(--card-foreground);
  border-color: var(--border);
}

.dark .bg-white,
.dark .bg-gray-50,
.dark .bg-gray-100,
.dark [class*="bg-white"],
.dark [class*="bg-gray-50"],
.dark [class*="bg-gray-100"] {
  background-color: var(--card) !important;
}

.dark .bg-gray-200,
.dark .bg-gray-300,
.dark [class*="bg-gray-200"],
.dark [class*="bg-gray-300"] {
  background-color: var(--muted) !important;
}

.dark .container,
.dark [style*="background-color: #fff"],
.dark [style*="background-color:#fff"],
.dark [style*="background-color: white"],
.dark [style*="background-color:white"],
.dark [style*="background: #fff"],
.dark [style*="background:#fff"],
.dark [style*="background: white"],
.dark [style*="background:white"] {
  background-color: var(--card) !important;
  color: var(--card-foreground) !important;
  border-color: var(--border) !important;
}

/* Semantic panels retain meaning without becoming bright white surfaces. */
.dark .bg-blue-50,
.dark .bg-blue-100,
.dark [class*="bg-blue-50"],
.dark [class*="bg-blue-100"] {
  background-color: rgba(30, 64, 175, 0.22) !important;
}

.dark .bg-green-50,
.dark .bg-green-100,
.dark [class*="bg-green-50"],
.dark [class*="bg-green-100"] {
  background-color: rgba(6, 95, 70, 0.24) !important;
}

.dark .bg-red-50,
.dark .bg-red-100,
.dark [class*="bg-red-50"],
.dark [class*="bg-red-100"] {
  background-color: rgba(153, 27, 27, 0.24) !important;
}

.dark .bg-yellow-50,
.dark .bg-yellow-100,
.dark .bg-amber-50,
.dark .bg-amber-100,
.dark [class*="bg-yellow-50"],
.dark [class*="bg-yellow-100"],
.dark [class*="bg-amber-50"],
.dark [class*="bg-amber-100"] {
  background-color: rgba(146, 64, 14, 0.24) !important;
}

.dark .bg-indigo-50,
.dark .bg-indigo-100,
.dark .bg-purple-50,
.dark .bg-purple-100,
.dark [class*="bg-indigo-50"],
.dark [class*="bg-indigo-100"],
.dark [class*="bg-purple-50"],
.dark [class*="bg-purple-100"] {
  background-color: rgba(67, 56, 202, 0.22) !important;
}

.dark .text-black,
.dark .text-gray-900,
.dark .text-gray-800,
.dark .text-gray-700,
.dark [class*="text-gray-900"],
.dark [class*="text-gray-800"],
.dark [class*="text-gray-700"] {
  color: var(--foreground) !important;
}

.dark .text-gray-600,
.dark .text-gray-500,
.dark [class*="text-gray-600"],
.dark [class*="text-gray-500"] {
  color: var(--muted-foreground) !important;
}

.dark input,
.dark select,
.dark textarea,
.dark .form-control {
  background-color: #111827 !important;
  color: var(--foreground) !important;
  border-color: var(--border) !important;
}

.dark input::placeholder,
.dark textarea::placeholder {
  color: #9ca3af !important;
}

.dark table,
.dark thead,
.dark tbody,
.dark tr,
.dark th,
.dark td {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border) !important;
}

.dark thead,
.dark th {
  background-color: var(--muted) !important;
}

.dark tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.1) !important;
}

.dark hr,
.dark [class*="border-gray"] {
  border-color: var(--border) !important;
}

.dark .shadow,
.dark .shadow-sm,
.dark .shadow-md,
.dark .shadow-lg,
.dark [class*="shadow-"] {
  --tw-shadow-color: rgba(0, 0, 0, 0.45);
}

.global-theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999999;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--card);
  color: var(--card-foreground);
  box-shadow: var(--shadow-md);
}

.global-theme-toggle:hover {
  background: var(--accent);
}

.global-theme-toggle:focus-visible,
#themeToggle:focus-visible,
[data-theme-toggle]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
@media (max-width: 1200px) {
  .navbar-start {
    display: block;
  }
  #zobisika {
    display: none;
  }
  #zoneka {
    display: block;
  }
}
