/* ============================================================
   APP.CSS — PUREN hlavni layout (sidebar + topbar + dark/light)
   ============================================================ */

/* --- CSS VARIABLES --- */
:root {
  --font: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
}

[data-theme="dark"] {
  --bg-body: #111827;
  --bg-sidebar: #1a2236;
  --bg-card: #1e293b;
  --bg-card-hover: #253349;
  --bg-input: #263147;
  --bg-table-row: #1e293b;
  --bg-table-hover: #263147;
  --bg-thead: #151d2e;
  --border: #2a3a52;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #e84c00;
  --accent-hover: #ff6b24;
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  --orange: #f97316;
  --gold: #d4a017;
  --teal: #0d9488;
  --shadow: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.4);
}

[data-theme="light"] {
  --bg-body: #f1f5f9;
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #f1f5f9;
  --bg-table-row: #ffffff;
  --bg-table-hover: #f1f5f9;
  --bg-thead: #f8fafc;
  --border: #e2e8f0;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent: #e84c00;
  --accent-hover: #d4440a;
  --green: #16a34a;
  --yellow: #ca8a04;
  --red: #dc2626;
  --blue: #2563eb;
  --amber: #d97706;
  --purple: #7c3aed;
  --orange: #ea580c;
  --gold: #b8860b;
  --teal: #0f766e;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
}

/* --- RESET + BODY --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-primary);
  display: flex;
  min-height: 100vh;
  transition: background .3s, color .3s;
}

/* --- SIDEBAR --- */
.sidebar {
  width: 260px; height: 100vh; background: var(--bg-sidebar);
  border-right: 1px solid var(--border); position: fixed; left: 0; top: 0;
  z-index: 100; display: flex; flex-direction: column;
  transition: background .3s, border .3s, transform .3s;
}
.sidebar-brand {
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand a { display: flex; align-items: center; }
.sidebar-brand img { max-height: 36px; width: auto; border-radius: 6px; }
.sidebar-toggle {
  width: 32px; height: 32px; border-radius: 6px; border: none; background: transparent;
  color: var(--text-secondary); cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.sidebar-toggle:hover { background: var(--bg-card-hover); color: var(--text-primary); }

/* Collapsed sidebar */
.sidebar.collapsed { width: 64px; }
.sidebar.collapsed .sidebar-brand { padding: 14px 16px; justify-content: center; }
.sidebar.collapsed .sidebar-brand a { display: none; }
.sidebar.collapsed .sidebar-nav { padding: 8px; }
.sidebar.collapsed .nav-section-title { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 10px; gap: 0; font-size: 0; }
.sidebar.collapsed .nav-item i { font-size: 18px; width: auto; }
.sidebar.collapsed .nav-item .badge { display: none; }
.sidebar.collapsed .sidebar-user { padding: 12px 8px; justify-content: center; }
.sidebar.collapsed .sidebar-user .info,
.sidebar.collapsed .sidebar-user .logout-btn { display: none; }
.sidebar.collapsed ~ .main { margin-left: 64px; max-width: calc(100vw - 64px); }

.sidebar-nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.nav-section { margin-bottom: 8px; }
.nav-section-title {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); padding: 8px 12px 6px; font-weight: 600;
}
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 8px; color: var(--text-secondary); font-size: 13px;
  font-weight: 500; cursor: pointer; transition: all .15s;
  text-decoration: none; position: relative;
}
.nav-item:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.nav-item.active { background: var(--accent); color: #fff; }
.nav-item.active:hover { background: var(--accent-hover); }
.nav-item i { width: 20px; text-align: center; font-size: 15px; }
.nav-item .badge { margin-left: auto; font-size: 10px; padding: 2px 7px; border-radius: 10px; font-weight: 600; }
.nav-item .badge-green { background: rgba(34,197,94,0.15); color: var(--green); }
.nav-item .badge-amber { background: rgba(245,158,11,0.15); color: var(--amber); }

.sidebar-user {
  padding: 16px 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-user .avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.sidebar-user .info { flex: 1; }
.sidebar-user .info .name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.sidebar-user .info .role { font-size: 11px; color: var(--text-muted); }
.sidebar-user .logout-btn {
  color: var(--text-muted); cursor: pointer; padding: 6px; border-radius: 6px;
  transition: all .15s; text-decoration: none; display: flex; align-items: center;
}
.sidebar-user .logout-btn:hover { color: var(--red); background: rgba(239,68,68,0.1); }

/* --- MAIN --- */
.main { margin-left: 260px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; max-width: calc(100vw - 260px); overflow-x: hidden; }

/* --- TOPBAR --- */
.topbar {
  height: 64px; background: var(--bg-card); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 28px; gap: 16px;
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border .3s;
}
/* Search box */
.topbar .search-box {
  flex: 1; max-width: 600px; margin: 0; display: flex; align-items: stretch;
  background: var(--bg-input); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; transition: border .2s;
}
.topbar .search-box:focus-within { border-color: var(--accent); }
.topbar .search-box input[type="text"] {
  flex: 1; padding: 8px 14px; background: transparent; border: none; color: var(--text-primary);
  font-size: 13px; font-family: var(--font); outline: none; text-align: left; min-width: 0;
}
.topbar .search-box input[type="text"]::placeholder { color: var(--text-muted); }
.search-btn {
  width: 38px; background: transparent; border: none; border-left: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: all .15s; flex-shrink: 0;
}
.search-btn:hover { background: var(--accent); color: #fff; }

/* Autocomplete dropdown — musí být nad sticky topbar (z-index:50) */
.ui-autocomplete {
  z-index: 200 !important;
  max-height: 400px; overflow-y: auto; overflow-x: hidden;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow-lg); margin-top: 4px;
}
.ui-autocomplete .ui-menu-item-wrapper {
  padding: 8px 14px; font-size: 13px; color: var(--text-primary); font-family: var(--font);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
}
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.ui-autocomplete .ui-menu-item-wrapper:hover {
  background: var(--accent); color: #fff; border-radius: 4px;
}

.topbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.topbar-btn {
  width: 38px; height: 38px; border-radius: 8px; border: none; background: transparent;
  color: var(--text-secondary); cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s; position: relative;
}
.topbar-btn:hover { background: var(--bg-input); color: var(--text-primary); }
.topbar-btn .notif {
  position: absolute; top: 6px; right: 6px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--red);
}
.theme-toggle { font-size: 18px; }

/* --- CONTENT --- */
.content { padding: 24px 28px; flex: 1; overflow-x: hidden; min-width: 0; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.page-header h1 { font-size: 22px; font-weight: 700; }
.page-header .breadcrumb { font-size: 12px; color: var(--text-muted); }
.page-header .breadcrumb a { color: var(--accent); text-decoration: none; }

/* --- BUTTONS --- */
.action-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px;
  border-radius: 7px; font-size: 12px; font-weight: 600; font-family: var(--font);
  border: none; cursor: pointer; transition: all .15s; text-decoration: none; white-space: nowrap;
}
.btn i { font-size: 13px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(1.1); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { filter: brightness(1.1); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { filter: brightness(1.1); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(1.1); }
.btn-save { background: #56943b; color: #fff; }
.btn-save:hover { filter: brightness(1.1); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { filter: brightness(1.1); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { filter: brightness(1.1); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { filter: brightness(1.1); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { filter: brightness(1.1); }
.btn-gray { background: #4b5563; color: #fff; }
.btn-gray:hover { filter: brightness(1.15); }
.action-print { margin-left: auto; color: #0f900f; font-size: 24px; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; padding: 4px; transition: opacity .15s; }
.action-print:hover { opacity: 0.7; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); }
.btn-outline:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* --- FILTERS --- */
.filters-card {
  background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border);
  padding: 16px 20px; margin-bottom: 20px; display: flex; gap: 14px;
  align-items: flex-end; flex-wrap: wrap; box-shadow: var(--shadow);
  transition: background .3s, border .3s;
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted);
}
.filter-group select {
  padding: 7px 28px 7px 10px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-primary); font-size: 12px; font-family: var(--font);
  outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  transition: border .2s;
}
.filter-group select:focus { border-color: var(--accent); }
.filter-group input[type="text"],
.filter-group input[type="date"] {
  padding: 7px 10px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-primary); font-size: 12px; font-family: var(--font);
  outline: none; transition: border .2s; min-width: 100px;
}
.filter-group input[type="text"]:focus,
.filter-group input[type="date"]:focus { border-color: var(--accent); }
.filter-group input[type="date"] { min-width: 130px; }
.filter-group input[type="text"]::placeholder { color: var(--text-muted); font-size: 11px; }
.filter-reset { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; color: var(--text-muted); font-size: 16px; text-decoration: none; transition: all .15s; align-self: flex-end; margin-bottom: 2px; }
.filter-reset:hover { color: var(--red, #ef4444); background: rgba(239,68,68,0.08); }

/* --- TABLES --- */
.table-card {
  background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow); transition: background .3s, border .3s;
}
.table-header {
  padding: 12px 20px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border); gap: 12px; flex-wrap: wrap;
}
.table-header h3 { font-size: 15px; font-weight: 600; white-space: nowrap; }
.table-header .count { font-size: 12px; color: var(--text-muted); margin-left: 8px; font-weight: 400; }
.table-wrapper { overflow-x: auto; }
.table-scroll-top { overflow-x: auto; overflow-y: hidden; height: 12px; }
.table-scroll-top-inner { height: 1px; }
.table-card table { width: 100%; border-collapse: collapse; }
.table-card thead { background: var(--bg-thead); }
.table-card th {
  padding: 10px 14px; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted); text-align: left; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.table-card td {
  padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table-card tbody tr { transition: background .1s; cursor: pointer; }
.table-card tbody tr:hover { background: var(--bg-table-hover); }

/* --- STATUS BADGES --- */
.status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.status-green { background: rgba(34,197,94,0.12); color: var(--green); }
.status-yellow { background: rgba(234,179,8,0.12); color: var(--yellow); }
.status-blue { background: rgba(59,130,246,0.12); color: var(--blue); }
.status-red { background: rgba(239,68,68,0.12); color: var(--red); }
.status-gray { background: rgba(100,116,139,0.15); color: var(--text-muted); }
.status-olive { background: rgba(128,128,0,0.12); color: #a3a33d; }
.status-orange { background: rgba(249,115,22,0.12); color: var(--orange); }
.status-teal { background: rgba(13,148,136,0.12); color: var(--teal); }
.status-purple { background: rgba(139,92,246,0.12); color: var(--purple); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* --- TABLE ROW COLORS --- */
.row-red { background: rgba(239,68,68,0.08) !important; }
.row-green { background: rgba(34,197,94,0.08) !important; }
.row-yellow { background: rgba(234,179,8,0.08) !important; }
.row-orange { background: rgba(249,115,22,0.08) !important; }
.row-gray { background: rgba(100,116,139,0.1) !important; }
.row-olive { background: rgba(128,128,0,0.08) !important; }
[data-theme="dark"] .row-red { background: rgba(239,68,68,0.12) !important; }
[data-theme="dark"] .row-green { background: rgba(34,197,94,0.12) !important; }
[data-theme="dark"] .row-yellow { background: rgba(234,179,8,0.12) !important; }
[data-theme="dark"] .row-orange { background: rgba(249,115,22,0.12) !important; }
[data-theme="dark"] .row-gray { background: rgba(100,116,139,0.15) !important; }
[data-theme="dark"] .row-olive { background: rgba(128,128,0,0.12) !important; }

/* --- OZ ICON --- */
.oz-icon {
  width: 20px; height: 20px; border-radius: 4px; background: var(--amber);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
}

/* --- CARDS --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-bottom: 20px; }
.cards-grid-bottom { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 1200px) { .cards-grid-bottom { grid-template-columns: 1fr; } }

/* --- COLLAPSIBLE PANEL --- */
.collapsible-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; }
.panel-header { padding: 14px 20px; background: var(--bg-thead); border-bottom: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .5px; user-select: none; transition: background .15s; }
.panel-header:hover { background: var(--bg-card-hover); }
.panel-header .panel-toggle-icon { transition: transform .3s; font-size: 12px; }
.collapsible-panel.collapsed .panel-body { display: none; }
.collapsible-panel.collapsed .panel-header { border-bottom: none; }
.collapsible-panel.collapsed .panel-toggle-icon { transform: rotate(-90deg); }
.panel-body { padding: 16px; }

/* --- 4-COLUMN DETAIL GRID --- */
.detail-grid-4col { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.detail-cell-span2 { grid-row: span 2; }
.detail-cell-span2 > .card { height: 100%; display: flex; flex-direction: column; }
.detail-cell-span2 > .card .card-body { flex: 1; }
.detail-cell-notes { display: flex; flex-direction: column; gap: 16px; }
.detail-cell-notes > .notes-card { margin-bottom: 0; flex: 1; display: flex; flex-direction: column; }
.detail-cell-notes > .notes-card textarea { flex: 1; }
@media (max-width: 1600px) { .detail-grid-4col { grid-template-columns: 1fr 1fr; } .detail-cell-span2 { grid-row: span 1; } }
@media (max-width: 900px) { .detail-grid-4col { grid-template-columns: 1fr; } .detail-cell-span2 { grid-row: span 1; } }

.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow); transition: background .3s, border .3s;
}
.card-header {
  padding: 12px 16px; background: var(--bg-thead); border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-secondary); display: flex; align-items: center; gap: 8px;
}
.card-header i { color: var(--accent); font-size: 14px; }
[data-theme="dark"] .card-header { background: #263147; color: #94a3b8; }
.card-body { padding: 4px 0; }
.card-row {
  display: flex; padding: 7px 16px; align-items: center;
}
.card-row .label { width: 130px; font-size: 12px; font-weight: 600; color: var(--text-muted); flex-shrink: 0; }
.card-row .value { flex: 1; }
.card-row input, .card-row select, .card-row textarea {
  width: 100%; background: none; border: 1px solid var(--border); border-radius: 5px;
  padding: 5px 8px; font-size: 12px; color: var(--text-primary); font-family: var(--font); outline: none;
}
.card-row input:focus, .card-row select:focus, .card-row textarea:focus { border-color: var(--accent); }
.card-row-mini-select { width: 28px !important; min-width: 28px !important; max-width: 28px !important; padding: 2px !important; cursor: pointer; border: 1px solid var(--border) !important; border-radius: 5px; background: var(--bg-input) !important; background-image: none !important; color: var(--text-primary); font-size: 10px; outline: none; text-align: center; flex-shrink: 0; }
.card-row-mini-select:hover { border-color: var(--accent) !important; }
.card-row-mini-select:focus { border-color: var(--accent) !important; }
.card-row select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.card-row:nth-child(odd) { }
[data-theme="dark"] .card-row:nth-child(odd) { }

/* --- PROJECT TITLE BAR --- */
.project-title {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 20px; margin-bottom: 10px; display: flex; align-items: center;
  gap: 16px; box-shadow: var(--shadow);
}
.project-title .number { font-size: 24px; font-weight: 700; color: var(--accent); }
.project-title input {
  flex: 1; background: var(--bg-input); border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text-primary); font-family: var(--font); outline: none;
}
.project-title input:focus { border-color: var(--accent); }
.project-title .status-badge {
  padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* --- ITEMS SECTION --- */
.items-section {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px;
}
.items-section > .card-header { border-bottom: 1px solid var(--border); }
.items-header { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.items-header h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.items-header h3 i { margin-right: 8px; color: var(--accent); }
#info { clear: both; margin: 12px 0; }
.items-table { overflow-x: auto; }
.items-table table { width: 100%; border-collapse: collapse; }
.items-table table th { color: var(--text-secondary); border-bottom: 2px solid var(--border); padding: 8px; font-size: 14px; }
.items-table table td { color: var(--text-primary); border-bottom: 1px solid var(--border); padding: 6px 8px; font-size: 13px; }
.items-table table tr:hover { background: var(--bg-card-hover); }

/* Flex layout for header + data rows */
.items-section .radek_nadpis, .items-section .radek {
  display: flex; align-items: center; float: none; width: 100%; box-sizing: border-box;
  padding: 6px 10px; gap: 4px; font-family: var(--font);
}
.items-section .radek input[hidden] { display: none !important; width: 0 !important; flex: none !important; padding: 0 !important; border: none !important; }

/* Header row */
.items-section .polozky-head {
  background: #f8fafc; border-bottom: 1px solid var(--border);
  padding-left: 32px; padding-right: 30px;
}
.polozky-head input {
  font-family: var(--font) !important; font-size: 10px !important; font-weight: 600 !important;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted) !important;
  background: transparent !important; border: none !important; padding: 4px 2px !important; text-align: center;
}
.polozky-head input.PopisLabel { text-align: left; }
[data-theme="dark"] .items-section .polozky-head { background: var(--bg-thead); }

/* Termopan header — no drag handle, 2 delete buttons at end of data rows vs 1 eye icon in header */
.polozky-head-termopan { padding-left: 10px !important; padding-right: 36px !important; }

/* Data rows */
.items-table .radek input {
  background: none; border: 1px solid var(--border); border-radius: 5px;
  padding: 5px 6px; font-size: 12px; color: var(--text-primary); font-family: var(--font); outline: none;
  text-align: center;
}
.items-table .radek input.jsNabidkaLabel { text-align: left; }
.items-table .radek input:focus { border-color: var(--accent); }
.items-table .radek input[readonly], .items-table .radek input[disabled] { background: #f8fafc; color: var(--text-muted); }
[data-theme="dark"] .items-table .radek input[readonly], [data-theme="dark"] .items-table .radek input[disabled] { background: rgba(255,255,255,0.05); }
.items-table .radek:hover { background: var(--bg-card-hover); }
.items-table .radek.storno { background: rgba(159,160,161,0.3) !important; opacity: 0.6; }

/* Select styling in items */
.items-table .radek select {
  background: none; border: 1px solid var(--border); border-radius: 5px;
  padding: 5px 4px; font-size: 11px; color: var(--text-primary); font-family: var(--font); outline: none;
  margin: 0; /* reset editing.css margins */
}
.items-table .radek select:focus { border-color: var(--accent); }
[data-theme="dark"] .items-table .radek select { background: rgba(255,255,255,0.05); }

/* Column widths — shared between header and data */
.items-section input.PopisValue, .items-section input.jsNabidkaValue { flex: 0 0 80px; width: 80px; }
.items-section input.PopisLabel, .items-section input.jsNabidkaLabel { flex: 1 1 auto; width: auto; }
.items-section input.PopisCheck, .items-section input.jsNabidkaCheck { flex: 0 0 26px; width: 26px; }
.items-section input.PopisMnozstvi, .items-section input.jsNabidkaMnozstvi { flex: 0 0 70px; width: 70px; }
.items-section input.PopisPack, .items-section input.jsNabidkaPack { flex: 0 0 70px; width: 70px; }
.items-section input.PopisPackMnozstvi, .items-section input.jsNabidkaPackMnozstvi { flex: 0 0 80px; width: 80px; }
.items-section input.PopisPackMnozstviCelkem, .items-section input.jsNabidkaPackMnozstviCelkem { flex: 0 0 90px; width: 90px; }
.items-section input.PopisUnit, .items-section input.jsNabidkaUnit { flex: 0 0 40px; width: 40px; }
.items-section input.PopisPrice, .items-section input.jsNabidkaPrice { flex: 0 0 80px; width: 80px; }
.items-section input.PopisSleva, .items-section input.jsNabidkaSleva { flex: 0 0 50px; width: 50px; }
.items-section input.PopisPriceCelkem, .items-section input.jsNabidkaPriceCelkem { flex: 0 0 90px; width: 90px; }

/* Termopan column widths */
.items-section input.PopisTermopanNumber, .items-section input.jsTermopanNumber { flex: 0 0 35px; width: 35px; }
.items-section input.PopisTermopanLabel, .items-section input.jsTermopanLabel { flex: 1 1 80px; width: auto; min-width: 60px; text-align: left; }
.items-section input.PopisTermopanLabelVBH, .items-section input.jsTermopanLabelVBH { flex: 1 1 80px; width: auto; min-width: 60px; text-align: left; }
.items-section input.PopisTermopanProduct, .items-section select.jsTermopanProduct { flex: 0 0 140px; width: 140px; }
.items-section input.PopisTermopanAtyp, .items-section select.jsTermopanAtyp { flex: 0 0 55px; width: 55px; }
.items-section input.PopisTermopanTyp, .items-section select.jsTermopanTyp { flex: 0 0 55px; width: 55px; }
.items-section input.PopisTermopanProfiling, .items-section select.jsTermopanProfiling { flex: 0 0 80px; width: 80px; }
.items-section input.PopisTermopanProfiling2, .items-section input.jsTermopanProfilOZ { flex: 0 0 130px; width: 130px; text-align: left; }
.items-section input.PopisTermopanRoz, .items-section select.jsTermopanVrtani, .items-section select.jsTermopanZahloubeni { flex: 0 0 55px; width: 55px; }
.items-section input.PopisTermopanPosition, .items-section input.jsTermopanNumberPositionOZ { flex: 0 0 95px; width: 95px; }
.items-section input.PopisTermopanZak, .items-section input.jsTermopanNumberVBHOZ { flex: 0 0 95px; width: 95px; }
.items-section input.PopisTermopanLength, .items-section input.jsTermopanLength { flex: 0 0 60px; width: 60px; }
.items-section input.PopisTermopanHeight, .items-section input.jsTermopanHeight { flex: 0 0 60px; width: 60px; }
.items-section input.PopisTermopanThickness, .items-section input.jsTermopanThickness { flex: 0 0 60px; width: 60px; }
.items-section input.PopisTermopanWeight, .items-section input.jsTermopanAmount { flex: 0 0 60px; width: 60px; }
.items-section input.PopisTermopanSleva, .items-section input.jsTermopanWeight, .items-section input.jsTermopanSleva { flex: 0 0 60px; width: 60px; }
.items-section input.PopisTermopanPriceCelkem, .items-section input.jsTermopanPriceCelkem { flex: 0 0 80px; width: 80px; }
.items-section input.jsProfoilPriceCelkem, .items-section input.jsProfoilPriceCelkemEdit { flex: 0 0 80px; width: 80px; }
.polozky-head input.PopisTermopanLabel, .polozky-head input.PopisTermopanLabelVBH { text-align: left; }

/* Profil warning indicator — must not take flex space */
.items-table .profil-warn {
  flex: 0 0 0; width: 0; overflow: visible; white-space: nowrap;
  color: red; font-weight: bold; font-size: 12px;
  margin-left: -10px; margin-right: 0; position: relative; z-index: 1;
}

/* Zobraz/skryj icons */
.items-section .zobraz_vse, .items-section .skryj_vse { flex: 0 0 22px; width: 22px; cursor: pointer; color: var(--text-muted); font-size: 13px; }
.items-section .zobraz_vse:hover, .items-section .skryj_vse:hover { color: var(--accent); }

/* Drag + delete */
.items-section .drag-handle { flex: 0 0 18px; width: 18px; color: var(--text-muted); cursor: move; font-size: 12px; text-align: center; }
.items-section .drag-handle:hover { color: var(--accent); }
.polozky-delete { flex: 0 0 22px; width: 22px; color: var(--text-muted); font-size: 13px; padding: 4px; border-radius: 4px; transition: all .15s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.polozky-delete:hover { color: var(--red); background: rgba(239,68,68,0.1); }

/* Add button */
.polozky-add {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-top: 1px dashed var(--border); color: var(--text-muted);
  font-size: 12px; font-family: var(--font); text-decoration: none; cursor: pointer; transition: all .15s;
}
.polozky-add:hover { background: var(--bg-card-hover); color: var(--accent); }
.polozky-add i { font-size: 14px; }

/* Total row */
.polozky-total {
  display: flex; justify-content: flex-end; align-items: center; padding: 0px 20px; gap: 6px;
  /* border-top: 2px solid var(--border); */ background: var(--bg-thead);
}
.polozky-total-label { font-size: 24px; font-weight: 700; color: #94a3b8; font-family: var(--font); }
.polozky-total-value {
  font-size: 24px; font-weight: 700; color: #e84c00 !important; font-family: var(--font);
  background: none !important; border: none; padding: 6px 4px 6px 14px;
  text-align: right; width: auto !important; min-width: 140px;
}
.polozky-total-mena {
  font-size: 24px; font-weight: 600; color: #e84c00; font-family: var(--font);
  padding-right: 10px;
}

/* --- NOTES CARD --- */
.notes-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px;
}
.notes-card .card-header { border-bottom: 1px solid var(--border); }
.notes-card textarea {
  width: 100%; border: none; background: transparent; padding: 14px 16px;
  font-size: 13px; color: var(--text-primary); font-family: var(--font);
  outline: none; resize: vertical; min-height: 80px; box-sizing: border-box;
}

/* --- MESSAGE BOX --- */
.msg { padding: 10px 16px !important; border-radius: 8px !important; margin: 12px 0 !important; font-size: 14px !important; font-weight: normal !important; text-align: left !important; width: 100% !important; box-sizing: border-box !important; }
.msg:empty { display: none !important; }
.msg-ok { background: rgba(34,197,94,0.1) !important; border: 1px solid rgba(34,197,94,0.3) !important; color: #16a349 !important; }
.msg-error { background: rgba(239,68,68,0.1) !important; border: 1px solid rgba(239,68,68,0.3) !important; color: #dc2626 !important; }
.msg-info { background: rgba(59,130,246,0.08) !important; border: 1px solid rgba(59,130,246,0.2) !important; color: var(--blue) !important; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 6px; border: none;
  font-family: var(--font); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3px;
  text-decoration: none; cursor: pointer;
  transition: background .15s, opacity .15s;
  color: #fff; line-height: 1.4;
}
.btn i { font-size: 12px; }
.btn-red { background: var(--red); }
.btn-red:hover { background: #dc2626; }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: #2563eb; }
.btn-green { background: var(--green); }
.btn-green:hover { background: #16a34a; }
.btn-save { background: #56943b; }
.btn-save:hover { background: #4a8132; }
.btn-orange { background: var(--accent); }
.btn-orange:hover { background: var(--accent-hover); }
.btn-gray { background: #64748b; }
.btn-gray:hover { background: #475569; }
.btn-sm { padding: 4px 10px; font-size: 11px; }
.btn-sm i { font-size: 11px; }

/* --- DOCUMENTS TABLE (přílohy) --- */
.docs-table { width: 100%; border-collapse: collapse; }
.docs-table td { padding: 8px 12px; font-size: 12px; color: #94a3b8; font-family: var(--font); border-bottom: 1px solid var(--border); vertical-align: middle; }
.docs-table tr:last-child td { border-bottom: none; }
.docs-table tr:hover { background: var(--bg-card-hover); }
.docs-table .doc-icon { color: var(--text-muted); font-size: 14px; margin-right: 8px; }
.docs-table .doc-date { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.docs-table .doc-name { font-weight: 500; }
.docs-table .doc-actions { text-align: right; white-space: nowrap; display: flex; gap: 6px; justify-content: flex-end; }
.docs-table .doc-delete-row td { padding: 12px; text-align: center; border-bottom: none; }

/* --- PAGINATION --- */
.table-card .pagination {
  display: flex !important; align-items: center; justify-content: center; gap: 4px;
  padding: 0; height: auto; margin: 0; box-shadow: none;
  border-radius: 0; float: none;
}
.table-card .pagination a,
.table-card .pagination .page-btn {
  min-width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 7px; border: 1px solid var(--border); background: transparent;
  color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .15s; font-family: var(--font); text-decoration: none;
  float: none; padding: 0; line-height: normal;
}
.table-card .pagination a:hover,
.table-card .pagination .page-btn:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.table-card .pagination a.active,
.table-card .pagination .page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.table-card .pagination a.disabled,
.table-card .pagination .page-btn.disabled { opacity: .4; cursor: default; pointer-events: none; }

/* --- FOOTER --- */
.footer { display: none; }

/* --- LOGIN PAGE --- */
.login-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; background: var(--bg-body);
}
.login-page .main { margin-left: 0; }
.login-wrapper {
  width: 100%; max-width: 420px; padding: 20px;
}
.login-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 40px 36px; box-shadow: var(--shadow-lg); text-align: center;
}
.login-card img { max-height: 48px; margin-bottom: 24px; }
.login-card h1 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.login-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.login-card .login-field { margin-bottom: 16px; text-align: left; }
.login-card .login-field label {
  display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px;
}
.login-card .login-field input {
  width: 100%; padding: 10px 14px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary); font-size: 14px; font-family: var(--font);
  outline: none; transition: border .2s;
}
.login-card .login-field input:focus { border-color: var(--accent); }
.login-card .login-submit {
  width: 100%; padding: 11px; background: var(--accent); color: #fff; border: none;
  border-radius: 8px; font-size: 14px; font-weight: 600; font-family: var(--font);
  cursor: pointer; transition: background .2s; margin-top: 8px;
}
.login-card .login-submit:hover { background: var(--accent-hover); }
.login-theme-toggle {
  position: fixed; bottom: 20px; right: 20px;
}

/* --- RESPONSIVE --- */
.mobile-toggle { display: none; }
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .mobile-toggle { display: flex; }
  .topbar { padding: 0 16px; }
  .content { padding: 16px; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- SMOOTH TRANSITIONS --- */
*, *::before, *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: .25s;
}
a { transition-duration: .15s; }

/* ============================================================
   LEGACY COMPATIBILITY — skrytí starého headeru a patičky,
   dark theme overrides pro staré CSS třídy
   ============================================================ */

#head { display: none !important; }
#footer { display: none !important; }
#main { width: auto !important; min-height: auto !important; height: auto !important; position: static !important; background: none !important; }
.content #obsah { padding-bottom: 20px; }
#detail { float: none; width: 100%; }
#detail .objekt { float: none; width: 100%; margin: 0; padding: 0; }
#detail .ram { float: none; }
#detail .naklvykl { float: none; width: 100%; margin: 0; }
.main h1 { font-family: var(--font); color: var(--text-primary); font-size: 22px; font-weight: 700; }

/* Dark theme overrides pro staré formulářové prvky */
[data-theme="dark"] .input_pole,
[data-theme="dark"] .editselect,
[data-theme="dark"] .editinput,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border);
}

[data-theme="dark"] table tr td {
  border-bottom-color: var(--border);
  color: var(--text-primary);
}
[data-theme="dark"] table tr th {
  border-bottom-color: var(--border);
  color: var(--text-secondary);
}
[data-theme="dark"] table thead tr {
  background: var(--bg-thead);
}

[data-theme="dark"] .radek_nadpis,
[data-theme="dark"] .radek_nadpis td {
  background: var(--bg-thead) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] .zvyrazneni,
[data-theme="dark"] .zvyrazneni td {
  background: var(--bg-card-hover) !important;
  color: var(--text-primary) !important;
}

[data-theme="dark"] .total,
[data-theme="dark"] .total td {
  background: var(--bg-thead) !important;
  color: var(--accent) !important;
  font-weight: 700;
}

[data-theme="dark"] .content_projekt table,
[data-theme="dark"] .content_projekt table td {
  border-color: var(--border);
  color: var(--text-primary);
}

[data-theme="dark"] .vyhledavani,
[data-theme="dark"] .vyhledavani_termopan {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border);
}

[data-theme="dark"] a { color: #ffffff; }
[data-theme="dark"] a:hover { color: var(--accent); }

[data-theme="dark"] .bluebutton,
[data-theme="dark"] .orangebutton,
[data-theme="dark"] .greenbutton,
[data-theme="dark"] .redbutton {
  color: #fff;
}

[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3 {
  color: var(--text-primary);
}

/* Light theme — staré prvky nepotřebují speciální override, používají výchozí styling */
[data-theme="light"] .input_pole,
[data-theme="light"] .editselect,
[data-theme="light"] .editinput {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border);
}

[data-theme="light"] .radek_nadpis,
[data-theme="light"] .radek_nadpis td {
  background: var(--bg-thead) !important;
  color: var(--text-primary) !important;
}

/* --- Status badges --- */
.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.4;
}
.status-gray   { background: rgba(165,165,165,0.25); color: #a5a5a5; }
.status-orange { background: rgba(241,153,56,0.20);  color: #f19938; }
.status-yellow { background: rgba(255,255,153,0.25); color: #c8b400; }
.status-blue   { background: rgba(0,155,255,0.20);   color: #009bff; }
.status-red    { background: rgba(212,77,77,0.20);   color: #d44d4d; }
.status-green  { background: rgba(122,228,121,0.20); color: #4ec44d; }
.status-cyan   { background: rgba(63,213,222,0.20);  color: #3fd5de; }

[data-theme="light"] .status-gray   { background: #e8e8e8; color: #777; }
[data-theme="light"] .status-orange { background: #fff0dd; color: #c47a1a; }
[data-theme="light"] .status-yellow { background: #fff9d6; color: #9a8500; }
[data-theme="light"] .status-blue   { background: #ddf0ff; color: #0077cc; }
[data-theme="light"] .status-red    { background: #ffe0e0; color: #b03333; }
[data-theme="light"] .status-green  { background: #ddf8dd; color: #2e8f2e; }
[data-theme="light"] .status-cyan   { background: #d6f7f9; color: #1fa5ad; }

/* --- DOPRAVA: Transport items --- */
.naklvykl { float: none !important; width: 100% !important; margin: 0 0 12px 0 !important; padding: 0 !important; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-card); }
.naklvykl:last-of-type { margin-bottom: 0 !important; }
.naklvykl .jsTh { border-radius: 0 !important; padding: 10px 16px !important; display: flex; align-items: center; gap: 10px; border: none !important; }
.transport-nakladka { background: #325CB0 !important; }
.transport-vykladka { background: #B43033 !important; }
.naklvykl .transport-icon { font-size: 16px; color: #fff; width: 20px; text-align: center; }
.naklvykl .jsTh .popisStav { font-family: var(--font) !important; font-size: 14px; font-weight: 600; color: #fff; border: none; background: transparent !important; text-transform: uppercase; letter-spacing: .3px; }
.naklvykl .jsTh .jsPoradi { width: 28px !important; text-align: center; background: transparent !important; border: none; font-size: 14px; color: rgba(255,255,255,0.7); }
.naklvykl .jsTh .jsNazev { flex: 1; }
.naklvykl .tlacitkoSmazat { color: #fff !important; text-decoration: none; font-size: 15px; font-family: var(--font); opacity: .7; transition: opacity .15s; display: flex; align-items: center; margin-left: auto; }
.naklvykl .tlacitkoSmazat:hover { opacity: 1; }
.transport-body { padding: 4px 0; }
.transport-body .card-row { display: flex; padding: 7px 16px; align-items: center; }
.transport-body .card-row .label { width: 130px; font-size: 12px; font-weight: 600; color: var(--text-muted); flex-shrink: 0; }
.transport-body .card-row .value { flex: 1; }
.transport-body .card-row input,
.transport-body .card-row select,
.transport-body .card-row textarea { width: 100%; background: none !important; border: 1px solid var(--border) !important; border-radius: 5px; padding: 5px 8px; font-size: 12px; color: var(--text-primary) !important; font-family: var(--font); outline: none; }
.transport-body .card-row input:focus,
.transport-body .card-row textarea:focus { border-color: var(--accent); }
.transport-buttons { display: flex; justify-content: center; gap: 12px; padding: 16px; }
.btn-transport-nakl { background: #325CB0 !important; color: #fff !important; border: none; border-radius: 8px; padding: 10px 24px; font-size: 14px; font-weight: 600; font-family: var(--font); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: opacity .15s; }
.btn-transport-nakl:hover { opacity: .85; }
.btn-transport-vykl { background: #B43033 !important; color: #fff !important; border: none; border-radius: 8px; padding: 10px 24px; font-size: 14px; font-weight: 600; font-family: var(--font); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: opacity .15s; }
.btn-transport-vykl:hover { opacity: .85; }
#detail .input_pole, .search_parcis { color: var(--text-primary) !important; background: var(--bg-input) !important; }
#detail .textarea { color: var(--text-primary) !important; background: var(--bg-input) !important; border-color: var(--border) !important; }
#detail .editselect { color: var(--text-primary) !important; background: var(--bg-input) !important; }
.prilohy { float: none !important; width: 100% !important; padding: 16px !important; }
.prilohy table { width: 100%; border-collapse: collapse; }
.prilohy table th { color: var(--text-secondary); border-bottom: 2px solid var(--border); padding: 8px; font-size: 14px; }
.prilohy table td { color: var(--text-primary); border-bottom: 1px solid var(--border); padding: 6px 8px; font-size: 13px; }
.prilohy table tr:nth-child(even) { background: var(--bg-card-hover); }

/* --- Messages (upload info, form feedback) --- */
#info { clear: both; margin: 12px 0; }
.msg { padding: 12px 16px; border-radius: 6px; font-size: 14px; line-height: 1.5; }
.msg i { margin-right: 8px; }
.msg-ok { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #166534; }
.msg-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #991b1b; }
[data-theme="dark"] .msg-ok { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.25); color: #86efac; }
[data-theme="dark"] .msg-error { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.25); color: #fca5a5; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); position: fixed; z-index: 200; }
  .sidebar.collapsed { transform: translateX(-100%); width: 260px; }
  .sidebar.open { transform: translateX(0); width: 260px; }
  .sidebar.open.collapsed { transform: translateX(0); width: 260px; }
  .sidebar.open .sidebar-brand a { display: flex; }
  .sidebar.open .sidebar-nav { padding: 16px 12px; }
  .sidebar.open .nav-section-title { display: block; }
  .sidebar.open .nav-item { justify-content: flex-start; padding: 10px 14px; gap: 12px; font-size: 13px; }
  .sidebar.open .nav-item i { font-size: 15px; width: 20px; }
  .sidebar.open .sidebar-user .info,
  .sidebar.open .sidebar-user .logout-btn { display: block; }
  .sidebar.open .sidebar-user { justify-content: flex-start; padding: 16px 20px; }
  .sidebar.open .sidebar-toggle { display: flex; }
  .main { margin-left: 0 !important; max-width: 100vw !important; }
  .mobile-toggle { display: flex !important; }
}
@media (min-width: 1025px) {
  .mobile-toggle { display: none !important; }
}
