@import "../node_modules/@syncfusion/ej2-base/styles/material.css";
@import "../node_modules/@syncfusion/ej2-buttons/styles/material.css";
@import "../node_modules/@syncfusion/ej2-calendars/styles/material.css";
@import "../node_modules/@syncfusion/ej2-dropdowns/styles/material.css";
@import "../node_modules/@syncfusion/ej2-inputs/styles/material.css";
@import "../node_modules/@syncfusion/ej2-lists/styles/material.css";
@import "../node_modules/@syncfusion/ej2-navigations/styles/material.css";
@import "../node_modules/@syncfusion/ej2-popups/styles/material.css";
@import "../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css";
@import "../node_modules/@syncfusion/ej2-react-schedule/styles/material.css";
@import "../node_modules/@syncfusion/ej2-kanban/styles/material.css";
@import "../node_modules/@syncfusion/ej2-notifications/styles/material.css";
@import "../node_modules/@syncfusion/ej2-react-filemanager/styles/material.css";
@import "../node_modules/@syncfusion/ej2-layouts/styles/material.css";
@import "../node_modules/@syncfusion/ej2-grids/styles/material.css";
@import "../node_modules/@syncfusion/ej2-icons/styles/material.css";

body {
  font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
}

:root {
  --sidebar-bg: #e5d8c7;
  --sidebar-fg: #78591c;
  --sidebar-border: #d6c3a6;
}

.sidebar-theme {
  background-color: var(--sidebar-bg);
  color: var(--sidebar-fg);
  font-size: 1.15rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.sidebar-theme .sidebar-link {
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-theme .sidebar-logout {
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-size: 1.15rem;
}

.sidebar-theme .sidebar-btn,
.sidebar-theme .sidebar-link,
.sidebar-theme .sidebar-logout {
  background-color: var(--sidebar-bg);
  color: var(--sidebar-fg);
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}

.sidebar-theme .sidebar-btn:hover,
.sidebar-theme .sidebar-link:hover,
.sidebar-theme .sidebar-logout:hover {
  background-color: var(--sidebar-fg);
  color: var(--sidebar-bg);
}

/* Kanban-Karten im Sidebar-Style */
.e-kanban .e-card,
.e-kanban .e-card .e-card-content,
.e-kanban .e-card .e-card-header {
  background-color: var(--sidebar-bg) !important;
  color: var(--sidebar-fg) !important;
}

.e-kanban .e-card:hover,
.e-kanban .e-card.e-selection,
.e-kanban .e-card.e-card-active,
.e-kanban .e-card:hover .e-card-content,
.e-kanban .e-card.e-selection .e-card-content,
.e-kanban .e-card.e-card-active .e-card-content,
.e-kanban .e-card:hover .e-card-header,
.e-kanban .e-card.e-selection .e-card-header,
.e-kanban .e-card.e-card-active .e-card-header {
  background-color: var(--sidebar-fg) !important;
  color: var(--sidebar-bg) !important;
}

/* Optional: Fokus-Style für Tastatur-Navigation */
.e-kanban .e-card:focus {
  outline: 2px solid var(--sidebar-fg);
  outline-offset: 2px;
}

/* Kanban-Spaltenheader: Hintergrund und Textfarbe überschreiben */
.e-kanban .e-kanban-table .e-header-cells {
  background-color: color-mix(in srgb, var(--sidebar-bg) 80%, #fff 20%) !important;
  color: var(--sidebar-fg) !important;
  font-weight: 700;
  font-size: 1.08rem;
  border-bottom: 2px solid var(--sidebar-fg);
  box-shadow: 0 2px 6px 0 color-mix(in srgb, #78591c 8%, transparent);
  letter-spacing: 0.02em;
}

/* Header-Text noch spezifischer and mit !important */
.e-kanban .e-kanban-table .e-header-cells .e-header-text {
  color: color-mix(in srgb, var(--sidebar-fg) 85%, #000 15%) !important;
}


