/* ── Design Tokens (Google Material Dark Blue) ── */
:root {
  /* Fundo e Superfícies (Padrão Google Dark Theme) */
  --bg: #202124;
  /* Fundo principal do app */
  --card: #292A2D;
  /* Superfície de cards e painéis */
  --border: #3C4043;
  /* Bordas de separação sutis */

  /* Tipografia */
  --text: #E8EAED;
  /* Texto principal (quase branco) */
  --text2: #9AA0A6;
  /* Texto secundário */
  --text3: #80868B;
  /* Texto desabilitado/Dicas */

  /* Tons de Azul Escuro (Para sidebars, headers e tabelas) */
  --navy: #172B4D;
  /* Azul marinho profundo */
  --navy2: #1E3A5F;
  /* Azul marinho para destaque em tabelas */

  /* Cores Principais do Google (Dark Mode) */
  --blue: #8AB4F8;
  /* Azul principal (Google Blue) */
  --blue-l: #A8C7FA;
  /* Azul claro para hover/foco */

  --teal: #4DD0E1;
  /* Ciano Material */
  --teal-l: #80DEEA;

  --gold: #FDE293;
  /* Amarelo Google */
  --gold-l: #FEEFC3;

  --green: #81C995;
  /* Verde Google (Sucesso) */
  --green-l: rgba(129, 201, 149, 0.15);

  --red: #F28B82;
  /* Vermelho Google (Erro/Aviso) */
  --red-l: rgba(242, 139, 130, 0.15);

  --amber: #FDE293;
  /* Âmbar Material */
  --amber-l: rgba(253, 226, 147, 0.15);

  /* Estrutura e Elevação Material Design 3 */
  --sidebar-w: 260px;
  --radius: 16px;
  /* Bordas mais arredondadas (MD3) */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background .2s, color .2s;
}

/* ── Layout ── */
#root {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  transition: transform .3s;
}

.sidebar-logo {
  height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-logo-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sidebar-logo-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
  margin-top: 2px;
}

.sidebar-section {
  padding: 14px 8px 4px;
}

.sidebar-section-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 8px;
  margin-bottom: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  font-weight: 400;
  transition: all .15s;
  user-select: none;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.sidebar-item.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-stat {
  font-size: 10px;
  color: rgba(255, 255, 255, .35);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 8px;
}

.sidebar-stat strong {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chip {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  transition: background .2s;
}

.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.topbar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-l);
}

.topbar-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}

.topbar-save {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #202124;
  border: none;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25px;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  font-family: inherit;
}

.topbar-save:hover {
  background: var(--blue-l);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.topbar-save:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.save-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-l);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* ── Cards ── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-l);
}

.card-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

.card-body {
  padding: 18px;
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.badge-green {
  background: var(--green-l);
  color: var(--green);
}

.badge-red {
  background: var(--red-l);
  color: var(--red);
}

.badge-amber {
  background: var(--amber-l);
  color: var(--amber);
}

.badge-blue {
  background: rgba(187, 134, 252, .15);
  color: var(--blue-l);
}

.badge-teal {
  background: rgba(3, 218, 198, .15);
  color: var(--teal-l);
}

.badge-gray {
  background: #242424;
  color: var(--text3);
}

.badge-navy {
  background: var(--navy);
  color: #fff;
}

.badge-gold {
  background: var(--amber-l);
  color: var(--gold);
}

/* ── Tables ── */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tbl th {
  background: var(--navy);
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tbl th:first-child {
  border-radius: 6px 0 0 0;
}

.tbl th:last-child {
  border-radius: 0 6px 0 0;
}

.tbl td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}

.tbl tr:last-child td {
  border-bottom: none;
}

.tbl tr:hover td {
  background: rgba(66, 133, 244, .04);
}

.tbl tr.obrig td {
  border-left: 3px solid var(--blue-l);
}

.tbl tr.opta td {
  border-left: 3px solid var(--teal-l);
}

/* ── Status Toggle Buttons ── */
.btn-paid-on {
  background: var(--green);
  color: #202124;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-paid-off {
  background: var(--border);
  color: var(--text2);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.status-toggle-btn {
  border: 1.5px solid var(--border);
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text3);
  font-family: inherit;
  transition: all .12s;
  white-space: nowrap;
}

.status-toggle-btn:hover {
  background: var(--bg);
  color: var(--text);
}

.status-toggle-btn.active-aprovado {
  background: var(--green-l);
  color: var(--green);
  border-color: var(--green);
}

.status-toggle-btn.active-cursando {
  background: var(--amber-l);
  color: var(--amber);
  border-color: var(--amber);
}

.status-toggle-btn.active-reprovado {
  background: var(--red-l);
  color: var(--red);
  border-color: var(--red);
}

/* ── Accordion ── */
.accord-section {
  border-bottom: 1px solid var(--border);
}

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

.accord-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  cursor: pointer;
  user-select: none;
  background: var(--bg);
  transition: background .15s;
  gap: 8px;
}

.accord-header:hover {
  background: rgba(66, 133, 244, .06);
}

.accord-sem-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-l);
}

.accord-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.accord-progress {
  font-size: 11px;
  color: var(--text3);
}

.accord-chevron {
  font-size: 10px;
  color: var(--text3);
  transition: transform .2s;
  display: inline-block;
}

.accord-chevron.open {
  transform: rotate(180deg);
}

/* ── Timetable ── */
.timetable-wrap {
  overflow-x: auto;
}

.timetable {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px;
  table-layout: fixed;
}

.timetable th {
  background: var(--navy2);
  color: var(--text);
  padding: 10px 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--blue);
}

.timetable th:first-child {
  width: 80px;
  border-radius: 8px 0 0 0;
}

.timetable th:last-child {
  border-radius: 0 8px 0 0;
}

.timetable .slot-label {
  background: var(--navy2);
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  white-space: nowrap;
  padding: 0 8px;
  width: 80px;
  font-family: 'JetBrains Mono', monospace;
  border-right: 1px solid var(--border);
}

.timetable td {
  border: 1px solid var(--border);
  height: 50px;
  vertical-align: middle;
  position: relative;
  transition: all .2s ease;
  overflow: hidden;
}

.timetable td.empty {
  background: var(--bg);
  opacity: 0.4;
}

.timetable td.filled {
  background: rgba(187, 134, 252, 0.05);
  border: 1px solid rgba(187, 134, 252, 0.2);
  cursor: pointer;
}

.timetable td.filled:hover {
  background: rgba(187, 134, 252, 0.12);
  transform: scale(1.02);
  z-index: 10;
  box-shadow: var(--shadow);
}

.timetable td.conflict {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid var(--red) !important;
  cursor: pointer;
}

.cell-content {
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  height: 100%;
  cursor: pointer;
  align-items: flex-start;
  justify-content: center;
}

.cell-disc-name {
  font-size: 10px;
  font-weight: 600;
  color: #D7B7FD;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cell-turma {
  font-size: 8px;
  color: var(--text3);
  font-family: 'JetBrains Mono', monospace;
}

.cell-add {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--border);
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  transition: color .15s;
}

.timetable td:hover .cell-add {
  color: var(--blue-l);
}

.cell-conflict-badge {
  font-size: 8px;
  background: var(--red-l);
  color: var(--red);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
  width: 500px;
  max-width: 95vw;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-l);
}

.modal-slot {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

.modal-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--red-l);
  color: var(--red);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.modal-search {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  margin-bottom: 10px;
  color: var(--text);
  background: var(--card);
}

.modal-search:focus {
  border-color: var(--blue-l);
}

.modal-empty {
  text-align: center;
  color: var(--text3);
  padding: 24px;
  font-size: 12px;
}

.modal-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .12s;
  border: 1px solid transparent;
  margin-bottom: 4px;
}

.modal-item:hover {
  background: rgba(66, 133, 244, .08);
  border-color: var(--blue-l);
}

.modal-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-l);
}

.modal-item-meta {
  font-size: 11px;
  color: var(--text3);
  margin-top: 3px;
  line-height: 1.6;
}

.modal-item-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.btn-sel {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn-sel:hover {
  background: var(--teal-l);
}

.btn-remove {
  background: var(--red-l);
  color: var(--red);
  border: none;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn-remove:hover {
  background: #FCA5A5;
}

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--card);
  border-radius: 9px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-l);
  margin: 4px 0 2px;
  font-family: 'JetBrains Mono', monospace;
}

.stat-sub {
  font-size: 10px;
  color: var(--text3);
}

/* ── Upload ── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--bg);
}

.upload-zone:hover,
.upload-zone.drag {
  border-color: var(--blue-l);
  background: rgba(66, 133, 244, .06);
}

.upload-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.upload-hint {
  font-size: 12px;
  color: var(--text3);
}

.upload-input {
  display: none;
}

.upload-btn {
  background: var(--blue);
  color: #000;
  border: none;
  border-radius: 7px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 14px;
  transition: background .15s;
}

.upload-btn:hover {
  background: var(--blue-l);
}

.upload-success {
  background: var(--green-l);
  color: var(--green);
  border-radius: 7px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
}

.upload-error {
  background: var(--red-l);
  color: var(--red);
  border-radius: 7px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
}

/* ── Misc ── */
.btn {
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}

.btn-primary {
  background: var(--blue);
  color: #000;
}

.btn-primary:hover {
  background: var(--blue-l);
}

.btn-ghost {
  background: none;
  color: var(--text2);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg);
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}

.filter-input {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  width: 260px;
  color: var(--text);
  background: var(--card);
}

.filter-input:focus {
  border-color: var(--blue-l);
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  animation: slide-in .25s ease;
  max-width: 380px;
  line-height: 1.4;
}

.toast-warn {
  background: #7C2D12;
}

@keyframes slide-in {
  from {
    transform: translateY(20px);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.gap-12 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selected-panel {
  background: rgba(66, 133, 244, .06);
  border: 1px solid #BAE6FD;
  border-radius: 8px;
  padding: 12px 14px;
}

.selected-panel-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
}

.chip .chip-rm {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text3);
  font-size: 12px;
  line-height: 1;
  padding: 0;
}

.chip .chip-rm:hover {
  color: var(--red);
}

.chip.obrig {
  border-color: #93C5FD;
  background: rgba(34, 85, 164, .2);
}

.chip.opta {
  border-color: #6EE7B7;
  background: rgba(10, 118, 105, .2);
}

.conflict-warn {
  background: var(--red-l);
  border: 1px solid #FCA5A5;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}

.level-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text3);
}

/* ── Mobile Timetable (Day View) ── */
.tt-mobile {
  display: none;
}

.tt-mobile-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tt-mobile-tab {
  flex: 1;
  min-width: 52px;
  padding: 9px 4px;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}

.tt-mobile-tab.active {
  background: var(--blue);
  color: #000;
  border-color: var(--blue);
}

.tt-mobile-slot {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all .15s;
}

.tt-mobile-slot.empty {
  background: var(--bg);
}

.tt-mobile-slot.filled {
  background: rgba(187, 134, 252, 0.1);
}

.tt-mobile-slot.conflict {
  background: var(--red-l);
}

.tt-mobile-slot:hover {
  border-color: var(--blue-l);
}

.tt-mobile-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}

.tt-mobile-disc {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-l);
}

.tt-mobile-empty {
  font-size: 12px;
  color: var(--text3);
}

/* ── Mobile Menu ── */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  background: none;
  color: var(--text2);
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 150;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transform: translateX(-100%);
    z-index: 200;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0, 0, 0, .3);
  }

  .main {
    width: 100%;
  }

  .topbar {
    padding: 0 14px;
  }

  .content {
    padding: 14px;
  }

  .timetable-wrap {
    display: none;
  }

  .tt-mobile {
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-input {
    width: 100%;
  }

  .mobile-menu-btn {
    display: flex !important;
    font-size: 22px;
    line-height: 1;
    width: 44px;
    height: 44px;
  }

  /* Otimização de tabelas no mobile */
  .tbl th:nth-child(1),
  .tbl td:nth-child(1),
  /* Código */
  .tbl th:nth-child(3),
  .tbl td:nth-child(3),
  /* Tipo */
  .tbl th:nth-child(4),
  .tbl td:nth-child(4)

  /* CH */
    {
    display: none;
  }

  .status-toggle-btn {
    padding: 6px 8px;
    font-size: 9px;
  }

  .tt-mobile-slot {
    padding: 14px;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #C8D3E2;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .tt-desktop-only {
    display: none !important;
  }
}
