/* ===== CORREÇÃO URGENTE PARA SIDEBAR ===== */
.MuiDrawer-root {
  transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1) 0ms !important;
}
.MuiDrawer-paper {
  position: relative !important;
  transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1) 0ms !important;
  overflow-x: hidden !important;
}

/* ===== CORREÇÃO URGENTE PARA NOMES QUEBRADOS ===== */
.MuiTable-root .MuiTableCell-root:first-child {
  word-wrap: break-word !important;
  word-break: break-word !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
  max-width: 250px !important;
  min-width: 150px !important;
  padding: 12px 8px !important;
  vertical-align: top !important;
}
.MuiTable-root .MuiTableCell-root:first-child .MuiLink-root {
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
  display: block !important;
  line-height: 1.4 !important;
}
.MuiTable-root {
  table-layout: fixed !important;
  width: 100% !important;
}
.MuiTableContainer-root {
  overflow-x: auto !important;
  width: 100% !important;
}

/* ===== TEMA RUMO - AJUSTES LIMPOS ===== */
/* REMOVER QUALQUER FUNDO VERDE ESTRANHO */
html body,
html body *,
html body .MuiContainer-root,
html body main,
html body [role="main"],
html body .MuiPaper-root {
  background-image: none !important;
}

/* ===== HEADER - AZUL COM LETRAS BRANCAS - FORÇADO ===== */
html body .MuiAppBar-root,
html body .MuiAppBar-colorPrimary,
html body .MuiAppBar-positionFixed,
html body [class*="MuiAppBar"],
html body .MuiToolbar-root,
html body header,
html body [role="banner"] {
  background: #1a237e !important;
  background-color: #1a237e !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(26, 35, 126, 0.3) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* FORÇAR FUNDO AZUL EM TODOS OS ELEMENTOS DO HEADER */
html body .MuiAppBar-root *,
html body .MuiToolbar-root *,
html body header *,
html body [role="banner"] * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* ===== CENTRALIZAR TÍTULO NO HEADER - CORREÇÃO DA SOBREPOSIÇÃO ===== */
/* Forçar a toolbar a ocupar toda a largura e centralizar o conteúdo */
html body .MuiToolbar-root {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  position: relative !important;
  gap: 4px !important;
  padding: 16px !important;
  min-height: 64px !important;
}

/* Remover margem e padding que possam afetar a centralização */
html body .MuiAppBar-root,
html body .MuiToolbar-root {
  margin: 0 !important;
}

/* ===== TÍTULO DO APP-CONFIG.YML - LETRAS BRANCAS FORÇADAS E PERFEITAMENTE CENTRALIZADO ===== */
/* Título principal do header - TODOS os elementos de texto */
html body .MuiAppBar-root,
html body .MuiAppBar-root *,
html body .MuiToolbar-root,
html body .MuiToolbar-root *,
html body header,
html body header *,
html body [role="banner"],
html body [role="banner"] * {
  color: #ffffff !important;
}

/* Seletores específicos para Typography e títulos - CENTRALIZADOS SEM POSITION ABSOLUTE */
html body .MuiAppBar-root h1,
html body .MuiAppBar-root h2,
html body .MuiAppBar-root h3,
html body .MuiAppBar-root .MuiTypography-root,
html body .MuiAppBar-root [class*="title"],
html body .MuiAppBar-root [class*="Title"],
html body .MuiToolbar-root h1,
html body .MuiToolbar-root h2,
html body .MuiToolbar-root h3,
html body .MuiToolbar-root .MuiTypography-root,
html body .MuiToolbar-root [class*="title"],
html body .MuiToolbar-root [class*="Title"],
html body header h1,
html body header h2,
html body header h3,
html body header .MuiTypography-root,
html body [role="banner"] h1,
html body [role="banner"] h2,
html body [role="banner"] h3,
html body [role="banner"] .MuiTypography-root {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.8rem !important;
  text-shadow: none !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  position: relative !important; /* MUDANÇA AQUI: relative ao invés de absolute */
  line-height: 1.2 !important;
}

/* Forçar BRANCO em qualquer span, div, ou elemento de texto no header - CENTRALIZADO */
html body .MuiAppBar-root span,
html body .MuiAppBar-root div,
html body .MuiAppBar-root p,
html body .MuiAppBar-root a,
html body .MuiToolbar-root span,
html body .MuiToolbar-root div,
html body .MuiToolbar-root p,
html body .MuiToolbar-root a,
html body header span,
html body header div,
html body header p,
html body header a {
  color: #ffffff !important;
  text-align: center !important;
  justify-content: center !important;
  display: block !important;
  line-height: 1.3 !important;
}

/* ===== SIDEBAR - AZUL ESCURO COMO NAS FOTOS ===== */
html body .MuiDrawer-paper {
  background: #1a237e !important;
  background-image: none !important;
  border-right: none !important;
  width: 280px !important;
}

/* ITENS DO MENU SIDEBAR */
html body .MuiListItem-root {
  color: #ffffff !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  transition: background 0.2s ease !important;
}
html body .MuiListItem-root .MuiListItemText-primary,
html body .MuiListItem-root .MuiListItemIcon-root {
  color: #ffffff !important;
  font-weight: 500 !important;
}
html body .MuiListItem-root.Mui-selected {
  background: #303f9f !important;
  color: #ffffff !important;
}
html body .MuiListItem-root.Mui-selected .MuiListItemText-primary,
html body .MuiListItem-root.Mui-selected .MuiListItemIcon-root {
  color: #ffffff !important;
  font-weight: 600 !important;
}
html body .MuiListItem-root:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* ===== ÁREA PRINCIPAL - FUNDO BRANCO LIMPO (TEMA CLARO) ===== */
html body .MuiContainer-root,
html body main,
html body [role="main"] {
  background: #ffffff !important;
  background-image: none !important;
  min-height: 100vh !important;
}

/* ÁREA PRINCIPAL - FUNDO ESCURO (TEMA ESCURO) */
html body[class*="dark"] .MuiContainer-root,
html body[class*="dark"] main,
html body[class*="dark"] [role="main"],
html body [data-theme="dark"] .MuiContainer-root,
html body [data-theme="dark"] main,
html body [data-theme="dark"] [role="main"] {
  background: #121212 !important;
  background-image: none !important;
}

/* ===== CARDS - LIMPOS ===== */
html body .MuiCard-root {
  background: #ffffff !important;
  background-image: none !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #e0e0e0 !important;
}
html body .MuiCard-root:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px) !important;
  transition: all 0.3s ease !important;
}

/* CARDS - TEMA ESCURO */
html body[class*="dark"] .MuiCard-root,
html body [data-theme="dark"] .MuiCard-root {
  background: #1e1e1e !important;
  border-color: #333333 !important;
}

/* ===== BOTÕES PRIMÁRIOS ===== */
html body .MuiButton-containedPrimary,
html body [class*="MuiButton"][class*="Primary"] {
  background: #1976d2 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(25, 118, 210, 0.3) !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
}
html body .MuiButton-containedPrimary:hover {
  background: #1565c0 !important;
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.4) !important;
}

/* ===== TABS - COMO NAS FOTOS ===== */
html body .MuiTab-root {
  color: #666666 !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
html body .MuiTab-root.Mui-selected {
  color: #1976d2 !important;
  font-weight: 700 !important;
}
html body .MuiTabs-indicator {
  background: #1976d2 !important;
  height: 3px !important;
}

/* TABS - TEMA ESCURO */
html body[class*="dark"] .MuiTab-root,
html body [data-theme="dark"] .MuiTab-root {
  color: #aaaaaa !important;
}
html body[class*="dark"] .MuiTab-root.Mui-selected,
html body [data-theme="dark"] .MuiTab-root.Mui-selected {
  color: #90caf9 !important;
}

/* ===== TÍTULOS DAS CAIXAS DE LOGIN - VISÍVEIS ===== */
html body .MuiCard-root h2,
html body .MuiCard-root h3,
html body .MuiCard-root h4,
html body .MuiCard-root .MuiTypography-h2,
html body .MuiCard-root .MuiTypography-h3,
html body .MuiCard-root .MuiTypography-h4,
html body .MuiCard-root .MuiCardHeader-title,
html body .MuiPaper-root h2,
html body .MuiPaper-root h3,
html body .MuiPaper-root h4 {
  color: #2c3e50 !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  margin-bottom: 8px !important;
}

/* ===== LABELS DOS CAMPOS ===== */
html body .MuiFormLabel-root,
html body .MuiInputLabel-root,
html body label {
  color: #2c3e50 !important;
  font-weight: 600 !important;
}
html body .MuiFormLabel-root.Mui-focused,
html body .MuiInputLabel-root.Mui-focused {
  color: #1976d2 !important;
}

/* ===== TEXTOS DESCRITIVOS ===== */
html body .MuiCard-root p,
html body .MuiTypography-body1,
html body .MuiTypography-body2 {
  color: #555555 !important;
  line-height: 1.4 !important;
}

/* ===== LINKS ===== */
html body .MuiLink-root,
html body a {
  color: #1976d2 !important;
  text-decoration: none !important;
}
html body .MuiLink-root:hover,
html body a:hover {
  text-decoration: underline !important;
}

/* LINKS EM SIDEBAR */
html body .MuiDrawer-paper .MuiLink-root,
html body .MuiDrawer-paper a {
  color: #ffffff !important;
}

/* ===== TÍTULOS PRINCIPAIS ===== */
html body h1,
html body h2,
html body h3,
html body h4 {
  color: #2c3e50 !important;
  font-weight: 600 !important;
}

/* ===== TEMA ESCURO - AJUSTES ===== */
/* TEMA ESCURO - HEADER MANTÉM AZUL COM LETRAS BRANCAS */
html body[class*="dark"] .MuiAppBar-root,
html body [data-theme="dark"] .MuiAppBar-root {
  background: #1a237e !important;
  background-color: #1a237e !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
html body[class*="dark"] .MuiAppBar-root *,
html body [data-theme="dark"] .MuiAppBar-root * {
  color: #ffffff !important;
}

/* TEMA ESCURO - TÍTULOS E TEXTOS */
html body[class*="dark"] .MuiCard-root h2,
html body[class*="dark"] .MuiCard-root h3,
html body[class*="dark"] .MuiCard-root h4,
html body [data-theme="dark"] .MuiCard-root h2,
html body [data-theme="dark"] .MuiCard-root h3,
html body [data-theme="dark"] .MuiCard-root h4 {
  color: #ffffff !important;
}
html body[class*="dark"] .MuiFormLabel-root,
html body[class*="dark"] .MuiInputLabel-root,
html body [data-theme="dark"] .MuiFormLabel-root,
html body [data-theme="dark"] .MuiInputLabel-root {
  color: #ffffff !important;
}
html body[class*="dark"] h1,
html body[class*="dark"] h2,
html body[class*="dark"] h3,
html body [data-theme="dark"] h1,
html body [data-theme="dark"] h2,
html body [data-theme="dark"] h3 {
  color: #ffffff !important;
}

/* ===== CAMPOS DE INPUT ===== */
html body .MuiTextField-root .MuiOutlinedInput-root {
  background: #ffffff !important;
}
html body[class*="dark"] .MuiTextField-root .MuiOutlinedInput-root,
html body [data-theme="dark"] .MuiTextField-root .MuiOutlinedInput-root {
  background: #2a2a2a !important;
  color: #ffffff !important;
}

/* ===== DIVIDERS ===== */
html body .MuiDivider-root {
  border-color: rgba(0, 0, 0, 0.08) !important;
}
html body[class*="dark"] .MuiDivider-root,
html body [data-theme="dark"] .MuiDivider-root {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ===== SCROLLBARS ===== */
html body ::-webkit-scrollbar {
  width: 6px !important;
}
html body ::-webkit-scrollbar-track {
  background: #f5f5f5 !important;
}
html body ::-webkit-scrollbar-thumb {
  background: #bdbdbd !important;
  border-radius: 3px !important;
}

/* ===== TELA DE LOGIN - BOTÕES COLORIDOS ===== */
/* Containers das caixas de login */
html body .MuiCard-root,
html body .MuiPaper-root {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  padding: 32px !important;
  margin: 16px !important;
}

/* Títulos das caixas (Guest, Login com EntralID) */
html body .MuiCard-root h2,
html body .MuiCard-root h3,
html body .MuiPaper-root h2,
html body .MuiPaper-root h3 {
  color: #2d3748 !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  margin-bottom: 16px !important;
}

/* Textos descritivos */
html body .MuiCard-root p,
html body .MuiPaper-root p {
  color: #4a5568 !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
  font-size: 0.95rem !important;
}

/* Botões ENTER e SIGN IN - com cor roxa/azulada */
html body .MuiButton-root,
html body .MuiButton-containedPrimary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 12px 32px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
  border: none !important;
  transition: all 0.3s ease !important;
}
html body .MuiButton-root:hover,
html body .MuiButton-containedPrimary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* ===== FUNDO DA TELA DE LOGIN - COM VIDA ===== */
/* Fundo geral da página de login */
html body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
  min-height: 100vh !important;
}

/* Fundo com padrão sutil */
html body::before {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background:
    radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* Container principal */
html body .MuiContainer-root,
html body [class*="container"] {
  background: transparent !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Cards de login - com efeito glass */
html body .MuiCard-root,
html body .MuiPaper-root {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

/* Header com fundo azul - FORÇADO AINDA MAIS */
html body .MuiAppBar-root {
  background: #1a237e !important;
  background-color: #1a237e !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ===== CORREÇÃO FINAL PARA HEADER AZUL ===== */
/* Garantir que NADA no header tenha fundo branco ou outra cor */
html body .MuiAppBar-root,
html body .MuiAppBar-root::before,
html body .MuiAppBar-root::after,
html body .MuiToolbar-root,
html body .MuiToolbar-root::before,
html body .MuiToolbar-root::after {
  background: #1a237e !important;
  background-color: #1a237e !important;
}

/* Remover qualquer overlay ou pseudo-elemento que possa estar cobrindo */
html body .MuiAppBar-root > *,
html body .MuiToolbar-root > * {
  background: transparent !important;
  background-color: transparent !important;
}

/* ===== REMOVER SUBTÍTULOS E ELEMENTOS EXTRAS DO HEADER ===== */
/* Ocultar qualquer elemento que não seja o título principal */
html body .MuiAppBar-root > .MuiToolbar-root > *:not(:first-child),
html body .MuiToolbar-root > *:not(:first-child) {
  display: none !important;
}

/* OU se preferir ser mais específico, ocultar apenas elementos de texto extras */
html body .MuiAppBar-root .MuiTypography-root:not(:first-of-type),
html body .MuiToolbar-root .MuiTypography-root:not(:first-of-type),
html body .MuiAppBar-root p:not(:first-of-type),
html body .MuiToolbar-root p:not(:first-of-type),
html body .MuiAppBar-root span:not(:first-of-type),
html body .MuiToolbar-root span:not(:first-of-type) {
  display: none !important;
}

/* Garantir que apenas o primeiro elemento de texto seja visível */
html body .MuiToolbar-root {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Forçar que apenas o título principal apareça */
html body .MuiToolbar-root > :first-child {
  display: block !important;
  text-align: center !important;
}


/* Remove subtítulos do tipo "subtitle2" ou "body1" logo antes OU depois do H1 em qualquer tela do Backstage */
.MuiBox-root > .MuiTypography-root[class*="MuiTypography-subtitle2"],
.MuiBox-root > .MuiTypography-root[class*="MuiTypography-body1"] {
  /* Remove qualquer subtitle2/body1 que seja filho direto da Box */
  display: none !important;
}

/* Remove <span> ou <p> imediatamente antes ou depois do <h1> dentro da Box */
.MuiBox-root > .MuiTypography-root + .MuiTypography-root,
.MuiBox-root > p + h1,
.MuiBox-root > h1 + p,
.MuiBox-root > h1 + span,
.MuiBox-root > p + span,
.MuiBox-root > span + h1 {
  display: none !important;
}

/* Se alguma dessas vier dentro de <header> */
header .MuiBox-root > .MuiTypography-root[class*="MuiTypography-subtitle2"],
header .MuiBox-root > .MuiTypography-root[class*="MuiTypography-body1"],
header .MuiTypography-root[class*="MuiTypography-subtitle2"],
header .MuiTypography-root[class*="MuiTypography-body1"] {
  display: none !important;
}

/* Mata QUALQUER span que tenha as classes com padrão MuiTypography-root-* e MuiTypography-subtitle2-* */
span[class^="MuiTypography-root-"][class*="MuiTypography-subtitle2-"] {
  display: none !important;
  visibility: hidden !important;
}


/*# sourceMappingURL=main.a54f2c43.css.map*/