:root {
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pmesp-navy-deep: #060a14;
  --pmesp-navy-card: #0c1427;
  --pmesp-titanium: rgba(255, 255, 255, 0.08);
  --pmesp-gold: #eab308;
  --pmesp-red: #ce0104;
  --pmesp-cyan: #06b6d4;
  --pmesp-emerald: #10b981;
}

body {
  font-family: var(--font-inter);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

header,
header nav,
header nav .container {
  overflow: visible !important;
}

header nav {
  display: block !important;
}

header nav .container {
  display: flex !important;
  align-items: center;
}

.dropdown-parent {
  position: relative;
}

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
  z-index: 100 !important;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  display: block;
}

.dropdown-parent:not(.user-profile-dropdown):hover > .dropdown-menu,
.dropdown-parent:not(.user-profile-dropdown).active > .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.dropdown-parent:not(.user-profile-dropdown).active > button svg,
.dropdown-parent:not(.user-profile-dropdown):hover > button svg {
  transform: rotate(180deg);
}

.dropdown-parent:not(.user-profile-dropdown).active > button {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.user-profile-dropdown > .dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(4px) !important;
}

.user-profile-dropdown.active > .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.gallery-slider {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-slider::-webkit-scrollbar {
  display: none;
}

.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-content {
  transform: scale(1);
}

.card-hover-effect,
.pmesp-card-hover,
.stat-card,
.service-card,
.concurso-card,
.portal-card,
.garrison-card,
main section .rounded-2xl.bg-card.border:not(.modal-content),
main section .rounded-xl.bg-card.border:not(.modal-content),
main section .rounded-lg.bg-card.border:not(.modal-content) {
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s ease !important;
}

.card-hover-effect:hover,
.pmesp-card-hover:hover,
.stat-card:hover,
.service-card:hover,
.concurso-card:hover,
.portal-card:hover,
.garrison-card:hover,
main section .rounded-2xl.bg-card.border:not(.modal-content):hover,
main section .rounded-xl.bg-card.border:not(.modal-content):hover,
main section .rounded-lg.bg-card.border:not(.modal-content):hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(234, 179, 8, 0.12) !important;
  border-color: rgba(234, 179, 8, 0.35) !important;
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

.animate-pulse-slow {
  animation: pulse-slow 3s infinite ease-in-out;
}

.motto-gold {
  color: hsl(var(--pmesp-gold, 43 96% 56%));
  text-shadow: 0 0 25px hsla(var(--pmesp-gold, 43 96% 56%) / 0.3);
}

.hero-section {
  min-height: 680px;
  max-height: 860px;
}
@media (max-height: 750px) {
  .hero-section {
    min-height: 560px;
    max-height: none;
  }
}

.hero-watermark {
  opacity: 0.035 !important;
  pointer-events: none;
  user-select: none;
}

.watermark-shield {
  filter: grayscale(100%);
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hologram-card-container {
  perspective: 1200px;
}

.hologram-card {
  position: relative;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  background: linear-gradient(135deg, rgba(16, 28, 54, 0.95) 0%, rgba(8, 14, 28, 0.98) 100%);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 25px rgba(30, 58, 138, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.hologram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(234, 179, 8, 0.08) 45%,
    rgba(6, 182, 212, 0.08) 55%,
    rgba(255, 255, 255, 0.04) 75%,
    transparent 100%
  );
  background-size: 250% 250%;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: screen;
  transition: background-position 0.4s ease;
}

.hologram-card:hover::after {
  background-position: 100% 100%;
}

.gold-seal {
  background: radial-gradient(circle at 30% 30%, #fef08a, #ca8a04 60%, #854d0e 100%);
  box-shadow: 0 4px 12px rgba(202, 138, 4, 0.35);
}

.titanium-border {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 20, 39, 0.8);
  backdrop-filter: blur(12px);
}

.timeline-step {
  position: relative;
}
.timeline-step::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: 1.125rem;
  bottom: -1rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.timeline-step:last-child::before {
  display: none;
}
.timeline-step.completed::before {
  background: #10b981;
}

.status-badge-recebida {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.status-badge-analise {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.status-badge-oficial {
  background: rgba(147, 51, 234, 0.15);
  color: #c084fc;
  border: 1px solid rgba(147, 51, 234, 0.3);
}
.status-badge-concluida {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-badge-arquivada {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.badge-concurso-aberto {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-concurso-andamento {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-concurso-concluido {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.gallery-admin-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gallery-card:hover .gallery-admin-overlay {
  opacity: 1;
  pointer-events: auto;
}

.file-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.05);
}

.pmesp-card-hover {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.pmesp-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px -6px rgba(0, 0, 0, 0.5), 0 0 18px rgba(14, 165, 233, 0.15);
  border-color: rgba(234, 179, 8, 0.35);
}

#pmesp-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 24rem;
  width: calc(100% - 3rem);
}

.pmesp-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: rgba(12, 20, 39, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  animation: pmespToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pmesp-toast.hide {
  opacity: 0;
  transform: translateX(100%);
}

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

.pmesp-toast-success {
  border-left: 4px solid #10b981;
}

.pmesp-toast-error {
  border-left: 4px solid #ef4444;
}

.pmesp-toast-warning {
  border-left: 4px solid #f59e0b;
}

.pmesp-toast-info {
  border-left: 4px solid #06b6d4;
}

.faq-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
}

.faq-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.925rem;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: none;
}

.faq-accordion-btn:hover {
  color: #eab308;
}

.faq-accordion-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
  opacity: 0.7;
}

.faq-accordion-btn[aria-expanded="true"] .faq-accordion-icon {
  transform: rotate(180deg);
  color: #eab308;
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-accordion-content.open {
  max-height: 600px;
  opacity: 1;
}

.faq-accordion-inner {
  padding: 0 0.5rem 1.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.org-tree-wrapper {
  overflow-x: auto;
  padding: 1.5rem 0.5rem;
}

.org-tree-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 960px;
  gap: 1.5rem;
}

.org-card {
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(16, 28, 54, 0.95) 0%, rgba(8, 14, 28, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(30, 58, 138, 0.2);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.org-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(234, 179, 8, 0.25);
}

.org-card-top {
  border-color: rgba(234, 179, 8, 0.4);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(234, 179, 8, 0.2);
}

.org-line-vertical {
  width: 2px;
  height: 1.5rem;
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.8), rgba(6, 182, 212, 0.8));
}

.org-branches-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.hidden {
  display: none !important;
}

.user-profile-dropdown .dropdown-menu {
  right: 0;
  left: auto;
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
  }
  .user-profile-dropdown .dropdown-menu {
    position: fixed;
    top: 3.75rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-width: calc(100vw - 1.5rem);
  }
}

/* ==========================================================================
   HIGH-CONTRAST LIGHT MODE (PMESP INSTITUCIONAL)
   Aplica contraste nítido e legibilidade impecável para o modo claro
   ========================================================================== */
html:not(.dark),
html.light {
  color-scheme: light;
}

html:not(.dark) body,
html.light body {
  background-color: #f1f5f9 !important; /* Fundo institucional suave */
  color: #0f172a !important;            /* Texto primário de alto contraste */
}

/* Cards & Painéis */
html:not(.dark) .bg-card,
html.light .bg-card {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;     /* Borda Slate 300 nítida */
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.06) !important;
}

/* Sub-containers & Muted Panels */
html:not(.dark) .bg-muted,
html.light .bg-muted {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

html:not(.dark) [class*="bg-muted/"],
html.light [class*="bg-muted/"] {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

/* Formulários: Inputs, Selects e Textareas */
html:not(.dark) input:not([type="checkbox"]):not([type="radio"]),
html:not(.dark) select,
html:not(.dark) textarea,
html.light input:not([type="checkbox"]):not([type="radio"]),
html.light select,
html.light textarea {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;     /* Borda visível e destacada */
}

html:not(.dark) input::placeholder,
html:not(.dark) textarea::placeholder,
html.light input::placeholder,
html.light textarea::placeholder {
  color: #64748b !important;            /* Placeholder legível */
}

html:not(.dark) input:focus,
html:not(.dark) select:focus,
html:not(.dark) textarea:focus,
html.light input:focus,
html.light select:focus,
html.light textarea:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25) !important;
}

html:not(.dark) input[readonly],
html.light input[readonly] {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

/* Tipografia e Textos */
html:not(.dark) .text-foreground,
html.light .text-foreground {
  color: #0f172a !important;
}

html:not(.dark) .text-muted-foreground,
html.light .text-muted-foreground {
  color: #475569 !important;            /* Cinza escuro para excelente contraste */
}

/* Cores de status e badges ajustadas para fundo claro */
html:not(.dark) .text-slate-300,
html:not(.dark) .text-slate-400,
html.light .text-slate-300,
html.light .text-slate-400 {
  color: #334155 !important;
}

html:not(.dark) .text-slate-200,
html.light .text-slate-200 {
  color: #1e293b !important;
}

html:not(.dark) .text-amber-300,
html:not(.dark) .text-amber-400,
html.light .text-amber-300,
html.light .text-amber-400 {
  color: #b45309 !important;            /* Âmbar escuro legível */
}

html:not(.dark) .text-emerald-400,
html:not(.dark) .text-emerald-300,
html.light .text-emerald-400,
html.light .text-emerald-300 {
  color: #047857 !important;            /* Verde esmeralda escuro */
}

html:not(.dark) .text-blue-400,
html:not(.dark) .text-blue-300,
html.light .text-blue-400,
html.light .text-blue-300 {
  color: #1d4ed8 !important;            /* Azul escuro legível */
}

html:not(.dark) .text-purple-400,
html:not(.dark) .text-purple-300,
html.light .text-purple-400,
html.light .text-purple-300 {
  color: #7e22ce !important;            /* Roxo escuro legível */
}

html:not(.dark) .text-red-400,
html.light .text-red-400 {
  color: #b91c1c !important;            /* Vermelho escuro legível */
}

/* Bordas Gerais */
html:not(.dark) .border-border,
html:not(.dark) [class*="border-border/"],
html.light .border-border,
html.light [class*="border-border/"] {
  border-color: #cbd5e1 !important;
}

/* Badges e Chips */
html:not(.dark) [class*="bg-emerald-500/"],
html.light [class*="bg-emerald-500/"] {
  background-color: #d1fae5 !important;
  color: #065f46 !important;
  border-color: #a7f3d0 !important;
}

html:not(.dark) [class*="bg-amber-500/"],
html:not(.dark) [class*="bg-amber-400/"],
html.light [class*="bg-amber-500/"],
html.light [class*="bg-amber-400/"] {
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border-color: #fde68a !important;
}

html:not(.dark) [class*="bg-blue-500/"],
html.light [class*="bg-blue-500/"] {
  background-color: #dbeafe !important;
  color: #1e40af !important;
  border-color: #bfdbfe !important;
}

html:not(.dark) [class*="bg-primary/10"],
html:not(.dark) [class*="bg-primary/20"],
html.light [class*="bg-primary/10"],
html.light [class*="bg-primary/20"] {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
  border-color: #bae6fd !important;
}

/* Tabelas */
html:not(.dark) table thead,
html.light table thead {
  background-color: #f1f5f9 !important;
}

html:not(.dark) table thead th,
html.light table thead th {
  color: #334155 !important;
  border-color: #cbd5e1 !important;
}

html:not(.dark) table tbody tr,
html.light table tbody tr {
  border-color: #e2e8f0 !important;
  background-color: #ffffff;
}

html:not(.dark) table tbody tr:hover,
html.light table tbody tr:hover {
  background-color: #f8fafc !important;
}

html:not(.dark) table tbody td,
html.light table tbody td {
  border-color: #e2e8f0 !important;
}

/* Modais */
html:not(.dark) #modal-rso-detalhe > div,
html.light #modal-rso-detalhe > div {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* Abas (Tabs) */
html:not(.dark) [role="tablist"],
html.light [role="tablist"] {
  background-color: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
}

html:not(.dark) [role="tab"].bg-background,
html.light [role="tab"].bg-background {
  background-color: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1) !important;
}

/* Preservação de elementos institucionais da PMESP (Header e Footer Escuros) */
html:not(.dark) header.bg-pmesp-navy,
html:not(.dark) footer.bg-pmesp-navy,
html.light header.bg-pmesp-navy,
html.light footer.bg-pmesp-navy {
  background-color: #060a14 !important;
  color: #ffffff !important;
}

html:not(.dark) header.bg-pmesp-navy a,
html.light header.bg-pmesp-navy a {
  color: rgba(255, 255, 255, 0.85);
}

html:not(.dark) header.bg-pmesp-navy a:hover,
html.light header.bg-pmesp-navy a:hover {
  color: #ffffff !important;
}

html:not(.dark) #user-profile-menu,
html.light #user-profile-menu {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
}

/* ==========================================================================
   UTILITÁRIOS GLOBAIS DE POSICIONAMENTO E ESPAÇAMENTO
   ========================================================================== */
.top-1\/2 {
  top: 50% !important;
}
.-translate-y-1\/2 {
  transform: translateY(-50%) !important;
}
.-translate-x-1\/2 {
  transform: translateX(-50%) !important;
}

/* Suporte completo a containers space-y */
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem !important;
}
.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2.5rem !important;
}
.space-y-12 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 3.5rem !important;
}
.space-y-14 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 4rem !important;
}
.space-y-16 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 4.5rem !important;
}

/* ==========================================================================
   CAIXAS DE PESQUISA PMESP (ALINHAMENTO E VISUAL 100% POLIDO)
   ========================================================================== */
.pmesp-search-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.pmesp-search-box svg {
  position: absolute !important;
  left: 0.875rem !important; /* 14px */
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  z-index: 10 !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  color: #94a3b8 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.pmesp-search-box:focus-within svg {
  color: #38bdf8 !important;
}

.pmesp-search-box input {
  padding-left: 2.75rem !important; /* 44px */
}

/* Suporte visual para espaçamento de seções institucionais */
.pmesp-section-spacer {
  margin-bottom: 4rem !important;
}
@media (max-width: 768px) {
  .pmesp-section-spacer {
    margin-bottom: 3rem !important;
  }
}

/* ==========================================================================
   UTILITÁRIOS DE ORDENAÇÃO FLEX/GRID (PODIUM & RANKING)
   ========================================================================== */
.order-1 { order: 1 !important; }
.order-2 { order: 2 !important; }
.order-3 { order: 3 !important; }

@media (min-width: 768px) {
  .md\:order-1 { order: 1 !important; }
  .md\:order-2 { order: 2 !important; }
  .md\:order-3 { order: 3 !important; }
}

/* ==========================================================================
   SCROLLBAR PREMIUM (TEMA ESCURO PMESP - SEM BARRAS BRANCAS NATIVAS)
   ========================================================================== */
* {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(148, 163, 184, 0.28) rgba(15, 23, 42, 0.4) !important;
}

::-webkit-scrollbar {
  width: 7px !important;
  height: 7px !important;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.4) !important;
  border-radius: 9999px !important;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3) !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.55) !important;
}

::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

::-webkit-scrollbar-corner {
  background: transparent !important;
}

/* Modais de RSO, Corregedoria, Editais e Painéis com Overflow */
.modal-content,
.modal-backdrop .modal-content,
[id^="modal-"] .modal-content,
[id^="modal-"] > div,
.overflow-y-auto,
textarea {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56, 189, 248, 0.35) rgba(11, 19, 38, 0.7) !important;
}

.modal-content::-webkit-scrollbar,
.modal-backdrop .modal-content::-webkit-scrollbar,
[id^="modal-"] .modal-content::-webkit-scrollbar,
[id^="modal-"] > div::-webkit-scrollbar,
.overflow-y-auto::-webkit-scrollbar,
textarea::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}

.modal-content::-webkit-scrollbar-track,
.modal-backdrop .modal-content::-webkit-scrollbar-track,
[id^="modal-"] .modal-content::-webkit-scrollbar-track,
[id^="modal-"] > div::-webkit-scrollbar-track,
.overflow-y-auto::-webkit-scrollbar-track {
  background: rgba(11, 19, 38, 0.6) !important;
  border-radius: 9999px !important;
  margin: 6px 0 !important;
}

.modal-content::-webkit-scrollbar-thumb,
.modal-backdrop .modal-content::-webkit-scrollbar-thumb,
[id^="modal-"] .modal-content::-webkit-scrollbar-thumb,
[id^="modal-"] > div::-webkit-scrollbar-thumb,
.overflow-y-auto::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35) !important;
  border-radius: 9999px !important;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.modal-backdrop .modal-content::-webkit-scrollbar-thumb:hover,
[id^="modal-"] .modal-content::-webkit-scrollbar-thumb:hover,
[id^="modal-"] > div::-webkit-scrollbar-thumb:hover,
.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.7) !important;
}

.modal-content::-webkit-scrollbar-button,
.modal-backdrop .modal-content::-webkit-scrollbar-button,
[id^="modal-"] .modal-content::-webkit-scrollbar-button,
[id^="modal-"] > div::-webkit-scrollbar-button,
.overflow-y-auto::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}




