/* ================= INÍCIO ORIGINAL ================= */
* {
  box-sizing: border-box;
}


/* ================= BASE ================= */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}


/*============ Essencial para mobile =========*/
.app { 
  display: flex;
  min-height: 100vh;
  width: 100%;
}


/* ================= TEMA DARK ================= */
body[data-theme="dark"] {
  background: linear-gradient(180deg, #020617, #020617 60%, #020b1f);
  color: #e2e8f0;
  color-scheme: dark;
}

body[data-theme="dark"] .sidebar {
  background: linear-gradient(180deg, #020617, #020b1f);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* ================= TEMA LIGHT ================= */
body[data-theme="light"] {
  background: #f1f5f9;
  color: #1e293b;
  color-scheme: light;
}

/* ================= LIGHT OVERRIDES ================= */
body[data-theme="light"] .box  {
  background: #ffffff !important;
}

body[data-theme="light"] .sidebar {
  background: linear-gradient(180deg, #e2e8f0, #cbd5f5);
  color: #1e293b;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .sidebar nav a {
  color: #1e293b;
}

body[data-theme="light"] .item {
  background: #f1f5f9;
  color: #1e293b;
}

body[data-theme="light"] .agenda {
  background: linear-gradient(90deg, #e2e8f0, #cbd5f5);
  color: #1e293b;
}

body[data-theme="light"] .topbar button {
  background: #e2e8f0;
  color: #1e293b;
}



/* ================= MAIN ================= */
.main {
  flex: 1;
  padding: 10px;
  margin-left: 190px;
  transition: margin-left 0.3s ease;
  min-width: 0;
  width: calc(100% - 190px);
  max-width: calc(100% - 190px);
}


/* ================= BOX PADRÃO GLOBAL ================= */
.box {
  background: linear-gradient(180deg, #0f3d3e, rgba(15, 61, 62, 0.65));
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 20px;

  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

body[data-theme="light"] .box {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}


/* Cabeçalho padrão interno */
.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.box-header h3 {
  margin: 0;
}

.box-header small {
  opacity: 0.7;
}


/* ============== Estilo exclusivo de LOGIN ================= */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 100vh;
  padding: 20px; 
}

.login-box { /* CAIXAS Login */
  width: 100%;
  max-width: 360px;

  padding: 30px;
  border-radius: 16px;
  text-align: center;

  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.login-logo { /*LOGO Login*/
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: bold;
}

.login-box input { /* INPUTS Login */
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;

  border-radius: 8px;
  border: none;
  outline: none;

  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* ERRO */
.login-erro {
  display: none;
  color: #ef4444;
  margin-top: 10px;
  font-size: 13px;
}

body[data-theme="light"] .login-box {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);

  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

body[data-theme="light"] .login-box input {
  background: #e2e8f0;
  color: #1e293b;
}


/* ================= SIDEBAR (Menu lateral) ================= */
.sidebar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;

  width: 190px;
  overflow-y: auto;

  padding: 10px;

  transition:
    transform 0.3s ease,
    width 0.3s ease,
    padding 0.3s ease;
}

.menu-bottom { /* empurra botões do menu lateral para baixo*/
  margin-top: auto;
}

.sidebar .logo {
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.sidebar nav a {
  width: calc(100% - 8px);
  min-width: 100px;
  max-width: 180px;
  margin-bottom: 8px;
  border-radius: 8px;
  color: #cbd5f5;
  cursor: pointer;
  display: block;
  padding: 10px;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.sidebar nav a:hover {
  transform: translateX(3px) translateY(-2px);
  padding-left: 14px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.sidebar nav a.active {
  background: #e5e7eb;
  color: #000;
}

.sidebar .logo,
.sidebar nav {
  opacity: 1;
  transition: opacity 0.3s ease;
}


/*COLLAPSE CORRETO */
.sidebar.collapsed {
  transform: translateX(-100%);
  width: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.sidebar.collapsed ~ .main {
  margin-left: 0;
  width: 100%;
  max-width: 100%;
}

.sidebar.collapsed .logo,
.sidebar.collapsed nav {
  opacity: 0;
  transition: opacity 0.2s ease;
}


/* ==========CONTROLE DO TOPO ================= */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}

.topbar-actions {
  display: flex;
  gap: 8px; /* mesmo padrão dos botões de metas */
}

.topbar button {
  background: #0b1120;
  border: none;
  color: #fff;

  padding: 10px 14px; /*maior */
  min-width: 42px;   /*tamanho mínimo consistente */
  height: 42px;      /*padrão quadrado elegante */

  border-radius: 10px;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease;
}

.topbar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.topbar button:active {
  transform: translateY(0);
}


/* ================= INÍCIO BOTÕES PADRÃO ================= */
.btn {
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  height: 38px;

  font-size: 15px;
  font-weight: 500;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  /* base */
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;

  backdrop-filter: blur(6px);

  box-shadow: 0 2px 6px rgba(0,0,0,0.25);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease;
}

.btn-group { /*Espaço entre os botões */
  display: flex;
  gap: 10px; 
}

.btn:hover {
  transform: translateY(-1px);

  background: rgba(255,255,255,0.15);

  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.btn:active {
  transform: translateY(0);

  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.btn::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 6px;
}

.btn-add::before {/* ADICIONAR */
  content: "\2b"; 
}

.btn-edit::before {
  content: "\f304"; /* EDITAR */
}

.btn-save::before {
  content: "\f00c"; /* SALVAR */
}

.btn-cancel::before {
  content: "\f00d"; /* CANCELAR */
}

/* Variação de botões para o tema LIGHT */
body[data-theme="light"] .btn {
  background: #e2e8f0;
  color: #1e293b;

  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
body[data-theme="light"] .btn:hover {
  background: #cbd5f5;
}

/* Varições de cor de ícones (DELETE) */
.action-icon.md {
  font-size: 14px;
}
.action-icon.danger {
  color: #ef4444;
}

.icon-btn { /* ÍCONES DE BOTÕES*/
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  font-size: 16px;
}

.icon-btn i {
  pointer-events: none; /* evita bug de clique no ícone */
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(100%);
}

.toolbar-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

/* ================= PESQUISA ELEGANTE ================= */
.search-container {
  padding: 10px;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
}

.search-box input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
}

.search-box i + input {
  padding-left: 44px;
}

.search-box input:focus {
  border-color: #0ea5e9;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

body[data-theme="light"] .search-box input {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

body[data-theme="light"] .search-box input:focus {
  background: #fff;
  border-color: #0ea5e9;
}

/* ================= FORMULÁRIOS E INPUTS PADRÃO ================= */
.form-grid-stacked {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  margin-bottom: 8px;
  font-size: 14px;
  color: inherit;
  opacity: 0.9;
  font-weight: 500;
}

.req {
  color: #ef4444;
  margin-left: 3px;
}

.input-padrao {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-padrao option {
  background-color: #020b1f;
  color: #fff;
}

.input-padrao:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.input-padrao:disabled, .input-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.02);
}

body[data-theme="light"] .input-padrao {
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body[data-theme="light"] .input-padrao:focus {
  border-color: #3b82f6;
  background-color: #ffffff;
}

body[data-theme="light"] .input-padrao option {
  background-color: #ffffff;
  color: #1e293b;
}

/* Radios */
.radio-group {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
  margin: 0;
  opacity: 1;
}

.radio-group input[type="radio"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.radio-group input[type="radio"]:disabled:checked {
  opacity: 1;
  accent-color: #0ea5e9;
}

body[data-theme="light"] .radio-group input[type="radio"]:disabled:checked {
  accent-color: #3b82f6;
}

/* Switch (Checkbox Ativo) */
.switch-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.switch-label {
  font-size: 14px;
  font-weight: bold;
}

.switch-container input {
  display: none;
}

.slider {
  position: relative;
  width: 42px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #22c55e;
}

input:checked + .slider:before {
  transform: translateX(18px);
}

body[data-theme="light"] .slider {
  background-color: #cbd5e1;
}

body[data-theme="light"] input:checked + .slider {
  background-color: #16a34a;
}
/* ================= FIM - BOTÕES E INPUTS PADRÃO ================= */


/* ================= USER INFO ================= */
.user-info {
  text-align: center;
  margin-bottom: 20px;
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 10px;

  object-fit: cover;

  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.user-name {
  font-weight: bold;
  font-size: 14px;
}

.user-email {
  font-size: 12px;
  opacity: 0.7;
}


/* ================= CONFIRM MODAL ================= */
.confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 999;
}

.confirm-modal.active {
  display: flex;
}

.confirm-box {
  width: 100%;
  max-width: 320px;
  padding: 20px;
  border-radius: 14px;

  background: linear-gradient(180deg, #020617, #020b1f);
  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

body[data-theme="light"] .confirm-box {
  background: #ffffff;
}

.confirm-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
}


/*================== Fade =================*/
.fade-out {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}


/* ================= ACTION ICON ================= */
.action-icon {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.15s ease, opacity 0.15s ease;
}

.action-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}


/* ================= RESPONSIVO MOBILE ================= */
@media (max-width: 768px) {
  .main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .login-box {
    padding: 24px;
    border-radius: 14px;
  }

  .login-logo {
    font-size: 14px;
  }

  .login-box input {
    padding: 12px;
  }

  .btn {
    height: 40px;
    font-size: 14px;
  }
}


/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 32px;
  min-width: 320px;
  max-width: 450px;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.modal-content p {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-buttons .btn {
  min-width: 100px;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.modal-buttons .btn-cancel {
  background: #e2e8f0;
  color: #64748b;
}

.modal-buttons .btn-cancel:hover {
  background: #cbd5e1;
}

.modal-buttons .btn-save {
  background: #0ea5e9;
  color: white;
}

.modal-buttons .btn-save:hover {
  background: #0284c7;
}

/* Dark theme modal */
body[data-theme="dark"] .modal-content {
  background: #1e293b;
  color: #e2e8f0;
}

body[data-theme="dark"] .modal-content h3 {
  color: #e2e8f0;
}

body[data-theme="dark"] .modal-content p {
  color: #94a3b8;
}

body[data-theme="dark"] .modal-buttons .btn-cancel {
  background: #334155;
  color: #cbd5e1;
}

body[data-theme="dark"] .modal-buttons .btn-cancel:hover {
  background: #475569;
}

/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 32px;
  min-width: 320px;
  max-width: 450px;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.modal-content p {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-buttons .btn {
  min-width: 100px;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.modal-buttons .btn-cancel {
  background: #e2e8f0;
  color: #64748b;
}

.modal-buttons .btn-cancel:hover {
  background: #cbd5e1;
}

.modal-buttons .btn-save {
  background: #0ea5e9;
  color: white;
}

.modal-buttons .btn-save:hover {
  background: #0284c7;
}

/* Dark theme modal */
body[data-theme="dark"] .modal-content {
  background: #1e293b;
  color: #e2e8f0;
}

body[data-theme="dark"] .modal-content h3 {
  color: #e2e8f0;
}

body[data-theme="dark"] .modal-content p {
  color: #94a3b8;
}

body[data-theme="dark"] .modal-buttons .btn-cancel {
  background: #334155;
  color: #cbd5e1;
}

body[data-theme="dark"] .modal-buttons .btn-cancel:hover {
  background: #475569;
}


/* ================= INÍCIO - Sistema de abas ================= */
.tabs-bar {
  display: flex;
  align-items: center;
  gap: 4px;

  padding: 8px 10px;

  background: rgba(255,255,255,0.03);

  border-bottom: 1px solid rgba(255,255,255,0.08);

  overflow-x: auto;
}

.tab-item {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  border-radius: 10px 10px 0 0;

  cursor: pointer;

  background: rgba(255,255,255,0.05);

  color: #cbd5e1;

  transition: 0.2s;
}

.tab-item:hover {
  background: rgba(255,255,255,0.08);
}

.tab-item.active {
  background: linear-gradient(180deg, #0f3d3e, rgba(15, 61, 62, 0.5));
  color: #fff;
}

.tabs-content {
  width: 100%;
  height: 100%;
}

.tab-page {
  display: none;
  width: 100%;
  height: 100%;
}

.tab-page.active {
  display: block;
}

/* Tema light */
body[data-theme="light"] .tabs-bar {
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

body[data-theme="light"] .tab-item {
  background: #e2e8f0;
  color: #1e293b;
}

body[data-theme="light"] .tab-item.active {
  background: linear-gradient(180deg, #0f3d3e, rgba(15, 61, 62, 0.5));
  color: #fff;
}
/* ================= FIM - Sistema de abas ================= */


/* ================= INÍCIO - Estilo do botões fechar das abas ================= */
.tab-close {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  border: none;
  border-radius: 50%;

  background: transparent;

  color: inherit;

  cursor: pointer;

  transition: 0.2s;
}

.tab-close:hover {
  background: rgba(255,255,255,0.15);
}
/* ================= FIM - Estilo do botões fechar das abas ================= */

/* ================= SCROLLBAR CUSTOMIZADA ================= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #020b1f; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #334155; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569; 
}

body[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f1f5f9;
}
body[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}
body[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ================= CUSTOM SELECT AUTOCOMPLETE ================= */
.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.custom-select-display.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.custom-select-display.focused {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  
  background: #020b1f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  margin-top: 4px;
  
  display: none;
  flex-direction: column;
}

.custom-select-dropdown.open {
  display: flex;
}

.custom-select-search-wrapper {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  background: #020b1f;
  z-index: 2;
}

.custom-select-search {
  width: 100%;
  padding: 8px 12px 8px 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
  outline: none;
}

.custom-select-search:focus {
  border-color: #3b82f6;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 13px;
  pointer-events: none;
}

.custom-options-list {
  display: flex;
  flex-direction: column;
}

.custom-option {
  padding: 10px 12px;
  font-size: 14px;
  color: #e2e8f0;
  cursor: pointer;
  transition: background 0.15s;
}

.custom-option:hover,
.custom-option.highlighted {
  background: rgba(59, 130, 246, 0.5); /* blue hover */
}

.custom-option.selected {
  background: #3b82f6;
  color: #fff;
  font-weight: 500;
}

.custom-option.hidden {
  display: none;
}

.empty-message {
  padding: 10px 12px;
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
}

/* Light Theme overrides for custom select */
body[data-theme="light"] .custom-select-dropdown {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
body[data-theme="light"] .custom-select-search-wrapper {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
body[data-theme="light"] .custom-select-search {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}
body[data-theme="light"] .custom-option {
  color: #1e293b;
}
body[data-theme="light"] .custom-option:hover,
body[data-theme="light"] .custom-option.highlighted {
  background: #e2e8f0;
}
body[data-theme="light"] .custom-option.selected {
  background: #3b82f6;
  color: #fff;
}