Ativa o menu
Alternar menu de preferências
Alternar menu pessoal
Não autenticado(a)
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: mudanças entre as edições

Página de Interface do MediaWiki
Sem resumo de edição
Sem resumo de edição
Etiqueta: Revertido
Linha 1: Linha 1:
/* CELTA WIKI FRAMEWORK */
/* ===================================================================
  CELTA WIKI FRAMEWORK - ESTILO COMPLETO (REFATORADO)
===================================================================
*/
 
:root {
:root {
   /* Colors */
   /* --- PALETA DE CORES CELTA --- */
   --celta-blue: #3366cc;
  --celta-green: #31c131;      /* Verde Principal (Brand) */
  --celta-green-hover: #28a028; /* Verde Escuro (Hover) */
   --celta-blue: #3366cc;       /* Azul Celta */
  --celta-blue-dark: #1a4696;  /* Azul Escuro (Novo - Para Degradê) */
   --celta-dark: #2c3e50;
   --celta-dark: #2c3e50;
  --celta-green: #198754;
   --celta-yellow: #ffc107;
   --celta-yellow: #ffc107;
   --celta-red: #dc3545;
   --celta-red: #dc3545;


   /* Backgrounds */
   /* --- FUNDOS & BORDAS --- */
  --celta-bg-light: #f8f9fa;
  --celta-bg-code: #e2e8f0;
   --celta-bg-info: #f0f7ff;
   --celta-bg-info: #f0f7ff;
   --celta-bg-success: #d1e7dd;
   --celta-bg-success: #d1e7dd;
   --celta-bg-warning: #fff3cd;
   --celta-bg-warning: #fff3cd;
   --celta-bg-danger: #fff5f5;
   --celta-bg-danger: #fff5f5;
   --celta-bg-code: #e2e8f0;
 
   --celta-bg-light: #f8f9fa;
   --celta-border-light: #e2e8f0;
   --celta-border-code: #cbd5e1;


   /* Card Design */
   /* --- MEDIDAS & SOMBRAS (NOVAS) --- */
   --celta-card-bg: #ffffff;
   --radius-md: 12px;
   --celta-card-header-bg: #f8f9fa;
   --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  /* Light gray for header accent */


   /* Borders */
   /* --- TEXTO & FONTES --- */
  --celta-border-code: #cbd5e1;
  --celta-border-light: #e2e8f0;
 
  /* Text */
   --celta-text-main: #333;
   --celta-text-main: #333;
   --celta-text-muted: #64748b;
   --celta-text-muted: #64748b;
   --celta-text-dark: #0f172a;
   --celta-text-dark: #0f172a;
 
    
   /* Fonts */
   --celta-font-sans: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
   --celta-font-sans: 'Segoe UI', Roboto, sans-serif;
   --celta-font-mono: 'Consolas', 'Monaco', monospace;
   --celta-font-mono: 'Consolas', 'Monaco', monospace;
}
}


/* HEADER DA PÁGINA */
/* --- RESET BÁSICO PARA O WIKI --- */
.celta-page-header {
body {
   background: transparent !important;
   font-family: var(--celta-font-sans);
  border: none !important;
   background-color: #f4f4f4;
  border-bottom: 1px solid var(--celta-border-light) !important;
   padding: 0 0 15px 0 !important;
  margin-bottom: 25px !important;
  box-shadow: none !important;
}
}


.celta-page-header.celta-header-clean {
/* Remove sublinhados padrão de links dentro do container do sistema */
  border-bottom: none !important;
.erp-container a {
  margin-bottom: 10px !important;
    text-decoration: none !important;
    color: inherit !important;
    border-bottom: none !important;
}
}
 
.erp-container a:hover {
.celta-breadcrumbs {
     text-decoration: none !important;
  background: transparent !important;
    color: inherit !important;
  padding: 0 !important;
  font-size: 0.8em !important;
  color: var(--celta-text-muted) !important;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px !important;
}
 
.celta-main-title {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1.8em !important;
  font-weight: 800 !important;
  color: var(--celta-text-dark) !important;
  line-height: 1.2 !important;
  border: none !important;
}
 
.celta-meta-info {
  background: transparent !important;
  padding: 0 !important;
  margin-top: 5px !important;
  font-size: 0.8em !important;
  color: #94a3b8 !important;
  border: none !important;
}
 
/* MONOSPACE & CODE */
code {
  font-family: var(--celta-font-mono) !important;
  font-size: 0.9em;
  background-color: var(--celta-bg-code);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--celta-text-dark);
  border: 1px solid var(--celta-border-code);
}
 
/* ALERTS (NOTAS) */
.celta-box {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 6px;
  border-left: 4px solid #ccc;
  background-color: #f9f9f9;
  font-size: 0.93em;
  font-family: var(--celta-font-sans) !important;
}
 
.celta-box-title {
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.9em;
}
 
.celta-info {
  background: var(--celta-bg-info);
  border-color: var(--celta-blue);
}
 
.celta-info .celta-box-title {
  color: var(--celta-blue);
}
 
.celta-success {
  background: var(--celta-bg-success);
  border-color: var(--celta-green);
}
 
.celta-success .celta-box-title {
  color: #155724;
}
 
.celta-warning {
  background: var(--celta-bg-warning);
  border-color: var(--celta-yellow);
}
 
.celta-warning .celta-box-title {
  color: #856404;
}
 
.celta-danger {
  background: var(--celta-bg-danger);
  border-color: var(--celta-red);
}
 
.celta-danger .celta-box-title {
  color: var(--celta-red);
}
 
/* BADGES */
.celta-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
 
.celta-badge-novo {
  background: var(--celta-bg-success);
  color: #0f5132;
  border: 1px solid #badbcc;
}
 
.celta-badge-versao {
  background: #e2e3e5;
  color: #383d41;
  border: 1px solid #d6d8db;
}
 
/* TABELAS (DATA GRID) */
.celta-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #e0e0e0;
  margin-top: 15px !important;
  margin-bottom: 25px !important;
  font-family: var(--celta-font-sans) !important;
}
 
.celta-table th {
  background-color: var(--celta-dark);
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 1em;
}
 
.celta-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  font-size: 1em;
  color: var(--celta-text-main);
}
 
.celta-table tr:last-child td {
  border-bottom: none;
}
 
.celta-col-key {
  background-color: var(--celta-bg-light);
  font-weight: 600;
  color: var(--celta-dark);
  width: 30%;
}
 
.celta-col-value {
  width: 70%;
}
 
.celta-table ul {
  margin: 5px 0 !important;
  padding-left: 20px !important;
}
 
.celta-table li {
  margin-bottom: 2px !important;
}
 
/* PRINTS DE TELA */
.celta-print-container {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
}
 
.celta-print-img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--celta-border-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: block;
  margin: 0 auto;
  width: auto;
  max-height: 600px;
}
 
.celta-print-caption {
  margin-top: 10px;
  font-size: 0.85em;
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
}
 
.celta-print-img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--celta-border-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: block;
  margin: 0 auto;
  width: auto;
  max-height: 600px;
}
 
.celta-print-caption {
  margin-top: 10px;
  font-size: 0.85em;
  color: var(--celta-text-muted);
  font-style: italic;
  text-align: center;
  padding: 0 10px;
  line-height: 1.4;
}
 
/* CARDS E GRID */
.celta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  margin: 20px 0;
  width: 100%;
}
 
.celta-card {
  border: 1px solid var(--celta-border-light);
  border-radius: 12px;
  background: var(--celta-card-bg);
  padding: 0;
  transition: transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
 
.celta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}
 
.celta-card-header {
  font-weight: 700;
  color: #1e293b;
  padding: 20px 20px 15px 20px;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--celta-card-header-bg);
}
 
.celta-card-body {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: var(--celta-text-muted);
  flex-grow: 1;
}
 
.celta-card-body ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
 
.celta-card-body li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
 
.celta-card-body li a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
 
.celta-card-body li a:hover {
  color: var(--celta-blue);
  padding-left: 5px;
  border-bottom-color: var(--celta-border-light);
}
 
.celta-card-body li a::before {
  content: "›";
  margin-right: 8px;
  font-size: 1.2em;
  position: relative;
  top: 1px;
  color: var(--celta-border-code);
}
 
.celta-card-body li a:hover::before {
  color: var(--celta-blue);
}
 
.celta-card-body li:last-child a {
  border-bottom: none;
}
 
@media (max-width: 480px) {
 
  /* PRINTS */
  .celta-print-container {
    margin: 15px auto;
     padding: 0 10px;
  }
 
  .celta-print-img {
    max-height: 350px;
    /* evita imagem gigante */
    border-radius: 6px;
  }
 
  .celta-print-caption {
    font-size: 0.78em;
    margin: 15px auto;
    padding: 0 10px;
  }
 
  /* GRID DE CARDS */
  .celta-grid {
    grid-template-columns: 1fr;
    /* 1 card por linha */
    gap: 12px;
    padding: 0 10px;
  }
 
  /* CARD */
  .celta-card {
    border-radius: 10px;
  }
 
  .celta-card-header {
    padding: 16px;
    font-size: 0.95em;
  }
 
  .celta-card-body {
    padding: 0 16px 16px 16px;
    font-size: 0.9em;
  }
 
  .celta-card-body li a {
    padding: 10px 0;
    font-size: 0.9em;
  }
 
  .celta-card-body li a::before {
    font-size: 1.1em;
  }
}
 
/* CARDS ACCENTS */
.celta-card.accent-blue {
  border-top: 4px solid var(--celta-blue);
}
 
.celta-card.accent-blue .celta-card-header i {
  color: var(--celta-blue);
}
 
.celta-card.accent-dark {
  border-top: 4px solid var(--celta-dark);
}
 
.celta-card.accent-dark .celta-card-header i {
  color: var(--celta-dark);
}
 
.celta-card.accent-orange {
  border-top: 4px solid var(--celta-yellow);
}
 
.celta-card.accent-orange .celta-card-header i {
  color: var(--celta-yellow);
}
 
.celta-card.accent-green {
  border-top: 4px solid var(--celta-green);
}
 
.celta-card.accent-green .celta-card-header i {
  color: var(--celta-green);
}
 
.celta-card.accent-red {
  border-top: 4px solid var(--celta-red);
}
 
.celta-card.accent-red .celta-card-header i {
  color: var(--celta-red);
}
 
@media (min-width: 768px) {
  .celta-grid.celta-grid-2 {
    grid-template-columns: 1fr 1fr !important;
  }
}
 
/* MENU LATERAL DO SISTEMA */
.celta-sys-menu {
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  min-width: 260px;
  height: fit-content;
}
 
.celta-sys-header {
  font-weight: 700;
  color: #9ca3af;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}
 
.celta-sys-btn {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 15px !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  color: #4b5563 !important;
  font-weight: 600 !important;
  font-size: 0.95em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  margin-bottom: 8px !important;
  transition: all 0.2s !important;
}
 
.celta-sys-btn:hover {
  background-color: var(--celta-bg-light) !important;
  border-color: var(--celta-border-code) !important;
  color: #1e293b !important;
  transform: translateX(3px) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}
 
.celta-sys-btn i {
  font-size: 1.1em !important;
  color: #94a3b8 !important;
  margin-right: 12px !important;
  width: 20px !important;
  text-align: center !important;
  display: inline-block !important;
}
 
.celta-sys-btn:hover i {
  color: #3b82f6 !important;
}
 
.celta-sys-menu a {
  text-decoration: none !important;
  display: block !important;
}
 
/* BARRA DE CONTATOS */
.celta-contact-section {
  max-width: 900px;
  margin: 20px auto 20px auto;
  text-align: center;
}
 
.celta-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--celta-text-muted);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px !important;
}
 
.celta-contact-box {
  background: #F5F7FA;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
}
 
.celta-contact-item {
  flex: 1;
  min-width: 200px;
  padding: 10px 10px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 15px !important;
  border-right: 1px solid #f1f5f9;
  transition: background 0.2s;
  box-sizing: border-box !important;
}
 
.celta-contact-item:last-child {
  border-right: none;
}
 
.celta-contact-item:hover {
  background: #f8fafc;
}
 
/* NOVA CAIXA DE ÍCONE COM FUNDO COLORIDO */
.celta-contact-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 10px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2em !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
 
.icon-blue {
  background: #e0f2fe !important;
  color: #0284c7 !important;
}
 
.icon-green {
  background: #dcfce7 !important;
  color: #16a34a !important;
}
 
.icon-purple {
  background: #f3e8ff !important;
  color: #9333ea !important;
}
 
.icon-mail i {
  color: lightskyblue !important;
  background: transparent !important;
}
 
.icon-whatsapp i {
  color: #25d366 !important;
  background: transparent !important;
}
 
.icon-site i {
  color: darkblue !important;
  background: transparent !important;
}
 
/* Wrapper do conteúdo (label + value) */
.celta-contact-content {
  display: flex !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  flex: 1 !important;
}
 
.celta-contact-label {
  font-size: 0.75em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  font-family: inherit !important;
}
 
.celta-contact-value {
  font-size: 0.95em !important;
  font-weight: 495 !important;
  color: #1e293b !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  font-family: inherit !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}
 
/* CORREÇÃO CRÍTICA PARA LINKS DO MEDIAWIKI */
.celta-contact-value a,
.celta-contact-value a.external {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  text-decoration: none !important;
  background-image: none !important;
  background: none !important;
  padding: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin: 0 !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  white-space: normal !important;
  display: inline !important;
  border: none !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}
 
.celta-contact-value a:hover,
.celta-contact-value a.external:hover {
  text-decoration: none !important;
  background: none !important;
}
}


.celta-contact-item:hover .celta-contact-value {
/* ===================================================================
  color: var(--celta-blue) !important;
  LAYOUT DO SISTEMA ERP (SIDEBAR + CONTEÚDO)
}
=================================================================== */


.celta-contact-item:hover .celta-contact-value a {
.celta-full-width { width: 100%; }
  color: var(--celta-blue) !important;
}


@media (max-width: 700px) {
  .celta-contact-box {
    flex-direction: column;
  }
  .celta-contact-item {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }
}
/* LISTAS DE LINKS */
.celta-link-list ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.celta-link-list li {
  margin-bottom: 12px !important;
  padding-left: 0 !important;
  background: none !important;
}
.celta-link-list a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.celta-link-list a:hover {
  color: var(--celta-blue);
}
.celta-link-list a::before {
  content: "\F285";
  /* Chevron Right */
  font-family: "bootstrap-icons";
  color: var(--celta-border-code);
  margin-right: 10px;
  font-size: 1.1em;
  font-weight: bold;
}
.celta-link-list a.external::before {
  content: "\F30A";
  /* Download Icon */
}
/* LOGO SVG (BG) */
.celta-logo-svg {
  background-image: url('/resources/assets/celta-logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 350px;
}
@media (max-width: 768px) {
  .celta-logo-svg {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* HERO CARD */
.celta-hero-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--celta-border-light);
  overflow: hidden;
  margin-bottom: 35px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.celta-hero-main {
  padding: 40px;
  border-right: 1px solid #f1f5f9;
}
.celta-hero-sidebar {
  background: var(--celta-bg-light);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .celta-hero-card {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .celta-hero-main {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 30px 20px;
  }
  .celta-hero-sidebar {
    padding: 30px 20px;
  }
}
/* ERP SIMULATOR (DESKTOP) */
.erp-container {
.erp-container {
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   height: 85vh;
   height: 85vh; /* Altura fixa para simular aplicação */
   background-color: #f0f2f5;
   background-color: #f0f2f5;
   border: 1px solid #d1d5db;
   border: 1px solid #d1d5db;
   border-radius: 4px;
   border-radius: 4px;
   overflow: hidden;
   overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
   font-family: var(--celta-font-sans);
   font-family: var(--celta-font-sans);
   position: relative;
   margin: 20px 0;
}
 
@media (min-width: 768px) {
  .erp-container {
    grid-template-columns: 1fr 1fr !important;
  }
}
}


/* --- BARRA SUPERIOR (TOP BAR) --- */
.erp-top-bar {
.erp-top-bar {
   background-color: #31c131;
   background-color: var(--celta-green);
   height: 50px;
   height: 50px;
   display: flex;
   display: flex;
Linha 849: Linha 84:
   padding: 0 20px;
   padding: 0 20px;
   color: white;
   color: white;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 20; /* Acima dos submenus */
  z-index: 10;
   box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
}


.erp-brand {
.erp-brand {
   font-weight: 600;
   font-weight: 700;
   text-transform: uppercase;
   font-size: 1.1em;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 10px;
   gap: 10px;
  text-transform: uppercase;
}
}


.erp-user-actions {
.erp-user-actions {
   display: flex;
   display: flex;
   gap: 15px;
   gap: 10px;
}
}


Linha 869: Linha 105:
   border: 1px solid rgba(255, 255, 255, 0.6);
   border: 1px solid rgba(255, 255, 255, 0.6);
   border-radius: 50%;
   border-radius: 50%;
   width: 32px;
   width: 30px;
   height: 32px;
   height: 30px;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   font-size: 1.1em;
   font-size: 1.1em;
  cursor: pointer;
}
}


/* --- CORPO PRINCIPAL --- */
.erp-body {
.erp-body {
   display: flex;
   display: flex;
   flex: 1;
   flex: 1;
   overflow: hidden;
   overflow: hidden;
  position: relative; /* Importante para posicionamento absoluto dos menus */
}
}


/* --- SIDEBAR (MENU LATERAL ESQUERDO) --- */
.erp-sidebar {
.erp-sidebar {
   width: 260px;
   width: 260px;
   background-color: #ffffff;
   background-color: #ffffff;
   border-right: 1px solid #e0e0e0;
   border-right: 1px solid #e0e0e0;
  overflow-y: auto;
  display: flex;
   flex-direction: column;
   flex-direction: column;
  z-index: 15;
   padding-top: 10px;
   padding-top: 10px;
  overflow-y: auto;
   flex-shrink: 0;
   flex-shrink: 0;
}
}


/* ITENS DO MENU LATERAL */
.erp-menu-item {
.erp-menu-item {
   padding: 12px 20px;
   padding: 12px 20px;
   color: var(--celta-text-main);
   color: #444;
  cursor: pointer;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   text-decoration: none !important;
   border-left: 4px solid transparent;
  transition: all 0.2s;
   font-size: 0.95em;
   font-size: 0.95em;
   font-weight: 500;
   font-weight: 500;
   transition: background 0.2s, color 0.2s;
   text-decoration: none !important;
   border-left: 4px solid transparent;
}
 
.erp-menu-item:hover {
  background-color: #f5f5f5;
  color: #000;
}
 
/* Item Ativo (Clicado) */
.erp-menu-item.active,  
[class*="erp-click-"].active {
  background-color: #e8f5e9;
  color: var(--celta-green);
   border-left-color: var(--celta-green);
}
}


Linha 910: Linha 167:
   width: 24px;
   width: 24px;
   text-align: center;
   text-align: center;
   color: #555;
   color: #666;
}
}


.erp-menu-item:hover {
.erp-menu-item.active i {
   background-color: #f5f5f5;
   color: var(--celta-green);
  color: #000;
}
}


.erp-menu-item.active {
/* --- ESTILO GENÉRICO PARA BOTÕES DE MENU --- */
  background-color: #e8f5e9;
/* Isso garante a mãozinha em qualquer classe que comece com erp-click- */
  color: #2e7d32;
[class*="erp-click-"] {
  border-left-color: #3bd648;
    cursor: pointer;
}
 
.erp-menu-item.active i {
  color: #2e7d32;
}
}


/* --- ÁREA DE CONTEÚDO (DIREITA) --- */
.erp-content-stage {
.erp-content-stage {
   flex: 1;
   flex: 1;
   position: relative;
   background-color: #f9f9f9;
   padding: 30px;
   padding: 30px;
   overflow-y: auto;
   overflow-y: auto;
  position: relative;
}
}


/* Logo de Fundo (Marca D'água) */
.erp-bg-logo {
.erp-bg-logo {
   position: absolute;
   position: absolute;
Linha 941: Linha 196:
   width: 300px;
   width: 300px;
   height: 300px;
   height: 300px;
   background-image: url('/resources/assets/celta-logo.svg');
  /* Ajuste o caminho da imagem conforme sua Wiki */
   background-image: url('/resources/assets/celta-logo.svg');  
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   background-position: bottom right;
   background-position: bottom right;
Linha 959: Linha 215:
}
}


/* --- FOOTER DO SISTEMA --- */
.erp-footer-bar {
.erp-footer-bar {
   background-color: #31c131;
   background-color: var(--celta-green);
   height: 30px;
   height: 30px;
   display: flex;
   display: flex;
Linha 967: Linha 224:
   padding: 0 15px;
   padding: 0 15px;
   font-size: 0.75em;
   font-size: 0.75em;
   color: #fff;
   color: white;
   font-weight: 600;
   font-weight: 600;
}
}


/* ERP SIMULATOR (MOBILE FIX) */
/* ===================================================================
@media (max-width: 768px) {
  SUBMENUS (O NOVO VISUAL MELHORADO)
  .erp-container {
=================================================================== */
    height: auto !important;
    min-height: 80vh;
  }


  .erp-body {
/* Overlay Transparente (ocupa a área da direita) */
    flex-direction: column !important;
.erp-submenu-overlay {
  }
 
  .erp-sidebar {
    width: 100% !important;
    height: auto !important;
    max-height: 250px;
    border-right: none !important;
    border-bottom: 1px solid #e0e0e0;
  }
 
  .erp-bg-logo {
    display: none !important;
  }
 
  .erp-content-stage {
    padding: 15px !important;
  }
 
  .erp-user-actions {
    display: none !important;
  }
}
 
/* SUBMENU LATERAL (aparece quando clica em "Principal") */
.erp-submenu {
   position: absolute;
   position: absolute;
  left: 260px; /* largura da sidebar */
   top: 0;
   top: 0;
   width: 600px;
  left: 0;
   width: 100%;
   height: 100%;
   height: 100%;
   background: #f8f9fa;
   background-color: transparent;  
  border-right: 1px solid #e0e0e0;
  display: none; /* Oculto por padrão */
  padding: 20px;
  z-index: 100;
  display: none !important; /* oculto por padrão */
  z-index: 5;
  overflow-y: auto;
}
 
/* --- ESTILO DOS SUBMENUS (GENÉRICO) --- */
.erp-submenu-overlay {
    position: absolute;
    top: 0;
    left: 260px; /* Largura do menu lateral + padding */
    width: 650px; /* Largura do submenu */
    height: 100%;
    background-color: transparent;  
    display: none; /* Oculto por padrão */
    z-index: 100;
}
}


/* Painel do Submenu */
.erp-submenu-panel {
.erp-submenu-panel {
    background-color: #f0f2f5;
  width: 100%;
    border-right: 1px solid #ccc;
  height: 100%;
    border-bottom: 1px solid #ccc;
  padding: 0;
    width: 100%;
  box-sizing: border-box;
    height: 100%;
  overflow-y: auto;
    padding: 20px;
  border: none;
    box-sizing: border-box;
  box-shadow: none;
    overflow-y: auto;
  /* Fundo transparente para ver a logo, ou cor sólida se preferir */
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
  background: transparent;  
}
}


/* Grid das 4 Colunas */
/* GRID DE COLUNAS (Layout de 4 colunas alinhado ao topo) */
.sys-columns-grid {
.sys-columns-grid {
    display: grid;
  display: grid;
    grid-template-columns: repeat(2, 1fr); /* Começa com 2 colunas */
  grid-template-columns: repeat(4, 1fr); /* 4 Colunas por padrão */
    gap: 10px;
  gap: 15px;
}
  align-items: start; /* O SEGREDO: Alinha itens no topo, sem esticar */
@media (min-width: 1200px) {
    .sys-columns-grid { grid-template-columns: repeat(4, 1fr); }
}
}


/* CARTÃO DA COLUNA (Caixinha Branca) */
.sys-column {
.sys-column {
    background: white;
  background: white;
    border: 1px solid #ccc;
  border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 4px;
  overflow: hidden;
}
}


/* CABEÇALHO DA COLUNA (Verde) */
.sys-col-header {
.sys-col-header {
    background-color: #31c131; /* Verde Celta */
  background-color: var(--celta-green);
    color: white;
  color: white;
    padding: 8px;
  padding: 8px 10px;
    text-align: center;
  text-align: center;
    font-weight: bold;
  font-weight: 700;
    font-size: 0.9em;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
}


/* ITENS DA LISTA */
.sys-col-item {
.sys-col-item {
    padding: 8px 15px;
  padding: 8px 15px;
    border-bottom: 1px solid #eee;
  border-bottom: 1px solid #f0f0f0;
    font-size: 0.85em;
  font-size: 0.85em;
    cursor: pointer;
  cursor: pointer;
    color: #333;
  color: #333;
  transition: background 0.1s;
}
}
.sys-col-item:hover {
 
    background-color: #e9ecef;
.sys-col-item:last-child {
    color: #000;
  border-bottom: none;
    font-weight: 500;
}
.sys-separator {
    height: 10px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
}


/* --- LÓGICA DE BOTÕES ATIVOS (GENÉRICA) --- */
.sys-col-item:hover {
/* Isso aplica a mãozinha e a cor verde para QUALQUER menu (Principal, Compras, etc) */
  background-color: #e9ecef;
 
  color: #000;
[class*="erp-click-"] {
  font-weight: 500;
    cursor: pointer;
}
}


[class*="erp-click-"].active {
/* Corrige links da Wiki dentro dos itens */
    background-color: #e8f5e9;
.sys-col-item a {
    color: #2e7d32;
  display: block; /* Ocupa todo o espaço do item */
    border-left: 4px solid #2e7d32;
  width: 100%;
  height: 100%;
  color: inherit !important; /* Herda a cor do item, não azul de link */
}
}


/* CORREÇÃO PARA LINKS DA SIDEBAR (Remove sublinhado e espaçamento) */
/* Separador cinza dentro da lista */
/* Isso resolve o problema de links criados com [[...]] */
.sys-separator {
.erp-sidebar a {
  height: 10px;
    text-decoration: none !important;
  background: #f8f9fa;
    display: block !important;
  border-top: 1px solid #e0e0e0;
    color: inherit !important;
  border-bottom: 1px solid #e0e0e0;
    border: none !important;
}
.erp-sidebar a:hover {
    text-decoration: none !important;
}
}


/* =========================================
/* ===================================================================
   BANNER  
   BANNER SECUNDÁRIO (NOVIDADE)
  ========================================= */
=================================================================== */
.banner-secondary {
.banner-secondary {
     display: flex;
     display: flex;
Linha 1 189: Linha 400:
     transform: translateY(-2px);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Remove sublinhado se for link */
    color: var(--celta-blue);
}
/* Animação para o Banner */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===================================================================
  ELEMENTOS GERAIS DA WIKI (Alerts, Badges, Tabelas)
=================================================================== */
/* MONOSPACE & CODE */
code {
  font-family: var(--celta-font-mono) !important;
  font-size: 0.9em;
  background-color: var(--celta-bg-code);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--celta-text-dark);
  border: 1px solid var(--celta-border-code);
}
/* CAIXAS DE ALERTA */
.celta-box {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 6px;
  border-left: 4px solid #ccc;
  background-color: #f9f9f9;
  font-size: 0.93em;
}
.celta-box-title { font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 0.9em; }
.celta-info { background: var(--celta-bg-info); border-color: var(--celta-blue); }
.celta-info .celta-box-title { color: var(--celta-blue); }
.celta-success { background: var(--celta-bg-success); border-color: var(--celta-green); }
.celta-success .celta-box-title { color: #155724; }
.celta-warning { background: var(--celta-bg-warning); border-color: var(--celta-yellow); }
.celta-warning .celta-box-title { color: #856404; }
.celta-danger { background: var(--celta-bg-danger); border-color: var(--celta-red); }
.celta-danger .celta-box-title { color: var(--celta-red); }
/* TABELAS */
.celta-table {
  width: 100%; border-collapse: collapse; border-radius: 8px;
  overflow: hidden; box-shadow: 0 0 0 1px #e0e0e0;
  margin: 15px 0 25px 0;
}
.celta-table th { background-color: var(--celta-dark); color: white; padding: 12px 15px; text-align: left; font-weight: 600; }
.celta-table td { padding: 12px 15px; border-bottom: 1px solid #eee; vertical-align: top; }
.celta-col-key { background-color: var(--celta-bg-light); font-weight: 600; width: 30%; }
/* PRINTS DE TELA */
.celta-print-container { margin: 30px auto; text-align: center; max-width: 100%; }
.celta-print-img {
  max-width: 100%; height: auto; border: 1px solid var(--celta-border-light);
  border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: block; margin: 0 auto; max-height: 600px;
}
.celta-print-caption {
  margin-top: 10px; font-size: 0.85em; color: var(--celta-text-muted);
  font-style: italic; text-align: center; line-height: 1.4;
}
/* ===================================================================
  RESPONSIVIDADE
=================================================================== */
/* Tablets e Telas Médias */
@media (max-width: 1200px) {
  .sys-columns-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sys-columns-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Celulares */
@media (max-width: 768px) {
  .erp-container { height: auto !important; min-height: 80vh; }
  .erp-body { flex-direction: column !important; }
  .erp-sidebar { width: 100% !important; height: auto !important; max-height: 250px; border-right: none !important; border-bottom: 1px solid #e0e0e0; }
  .erp-bg-logo { display: none !important; }
  .erp-content-stage { padding: 15px !important; }
  .erp-user-actions { display: none !important; }
 
  /* Submenu vira lista única no mobile */
  .sys-columns-grid { grid-template-columns: 1fr; }
 
  /* Ajuste de tabelas */
  .celta-col-key, .celta-col-value { display: block; width: 100%; }
 
  /* Banner responsivo */
  .banner-secondary { flex-direction: column; text-align: center; }
  .banner-content { max-width: 100%; margin-bottom: 20px; }
}
}

Edição das 04h40min de 7 de dezembro de 2025

/* ===================================================================
   CELTA WIKI FRAMEWORK - ESTILO COMPLETO (REFATORADO)
=================================================================== 
*/

:root {
  /* --- PALETA DE CORES CELTA --- */
  --celta-green: #31c131;       /* Verde Principal (Brand) */
  --celta-green-hover: #28a028; /* Verde Escuro (Hover) */
  --celta-blue: #3366cc;        /* Azul Celta */
  --celta-blue-dark: #1a4696;   /* Azul Escuro (Novo - Para Degradê) */
  --celta-dark: #2c3e50;
  --celta-yellow: #ffc107;
  --celta-red: #dc3545;

  /* --- FUNDOS & BORDAS --- */
  --celta-bg-light: #f8f9fa;
  --celta-bg-code: #e2e8f0;
  --celta-bg-info: #f0f7ff;
  --celta-bg-success: #d1e7dd;
  --celta-bg-warning: #fff3cd;
  --celta-bg-danger: #fff5f5;
  
  --celta-border-light: #e2e8f0;
  --celta-border-code: #cbd5e1;

  /* --- MEDIDAS & SOMBRAS (NOVAS) --- */
  --radius-md: 12px;
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* --- TEXTO & FONTES --- */
  --celta-text-main: #333;
  --celta-text-muted: #64748b;
  --celta-text-dark: #0f172a;
  
  --celta-font-sans: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --celta-font-mono: 'Consolas', 'Monaco', monospace;
}

/* --- RESET BÁSICO PARA O WIKI --- */
body {
  font-family: var(--celta-font-sans);
  background-color: #f4f4f4;
}

/* Remove sublinhados padrão de links dentro do container do sistema */
.erp-container a {
    text-decoration: none !important;
    color: inherit !important;
    border-bottom: none !important;
}
.erp-container a:hover {
    text-decoration: none !important;
    color: inherit !important;
}

/* ===================================================================
   LAYOUT DO SISTEMA ERP (SIDEBAR + CONTEÚDO)
=================================================================== */

.celta-full-width { width: 100%; }

.erp-container {
  display: flex;
  flex-direction: column;
  height: 85vh; /* Altura fixa para simular aplicação */
  background-color: #f0f2f5;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  font-family: var(--celta-font-sans);
  margin: 20px 0;
}

/* --- BARRA SUPERIOR (TOP BAR) --- */
.erp-top-bar {
  background-color: var(--celta-green);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: white;
  z-index: 20; /* Acima dos submenus */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.erp-brand {
  font-weight: 700;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.erp-user-actions {
  display: flex;
  gap: 10px;
}

.erp-icon-circle {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  cursor: pointer;
}

/* --- CORPO PRINCIPAL --- */
.erp-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative; /* Importante para posicionamento absoluto dos menus */
}

/* --- SIDEBAR (MENU LATERAL ESQUERDO) --- */
.erp-sidebar {
  width: 260px;
  background-color: #ffffff;
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 15;
  padding-top: 10px;
  flex-shrink: 0;
}

/* ITENS DO MENU LATERAL */
.erp-menu-item {
  padding: 12px 20px;
  color: #444;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-left: 4px solid transparent;
  transition: all 0.2s;
  font-size: 0.95em;
  font-weight: 500;
  text-decoration: none !important;
}

.erp-menu-item:hover {
  background-color: #f5f5f5;
  color: #000;
}

/* Item Ativo (Clicado) */
.erp-menu-item.active, 
[class*="erp-click-"].active {
  background-color: #e8f5e9;
  color: var(--celta-green);
  border-left-color: var(--celta-green);
}

.erp-menu-item i {
  font-size: 1.3em;
  margin-right: 15px;
  width: 24px;
  text-align: center;
  color: #666;
}

.erp-menu-item.active i {
  color: var(--celta-green);
}

/* --- ESTILO GENÉRICO PARA BOTÕES DE MENU --- */
/* Isso garante a mãozinha em qualquer classe que comece com erp-click- */
[class*="erp-click-"] {
    cursor: pointer;
}

/* --- ÁREA DE CONTEÚDO (DIREITA) --- */
.erp-content-stage {
  flex: 1;
  background-color: #f9f9f9;
  padding: 30px;
  overflow-y: auto;
  position: relative;
}

/* Logo de Fundo (Marca D'água) */
.erp-bg-logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 300px;
  height: 300px;
  /* Ajuste o caminho da imagem conforme sua Wiki */
  background-image: url('/resources/assets/celta-logo.svg'); 
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.erp-widgets-area {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}

/* --- FOOTER DO SISTEMA --- */
.erp-footer-bar {
  background-color: var(--celta-green);
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  font-size: 0.75em;
  color: white;
  font-weight: 600;
}

/* ===================================================================
   SUBMENUS (O NOVO VISUAL MELHORADO)
=================================================================== */

/* Overlay Transparente (ocupa a área da direita) */
.erp-submenu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent; 
  display: none; /* Oculto por padrão */
  z-index: 100;
}

/* Painel do Submenu */
.erp-submenu-panel {
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  overflow-y: auto;
  border: none;
  box-shadow: none;
  /* Fundo transparente para ver a logo, ou cor sólida se preferir */
  background: transparent; 
}

/* GRID DE COLUNAS (Layout de 4 colunas alinhado ao topo) */
.sys-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Colunas por padrão */
  gap: 15px;
  align-items: start; /* O SEGREDO: Alinha itens no topo, sem esticar */
}

/* CARTÃO DA COLUNA (Caixinha Branca) */
.sys-column {
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 4px;
  overflow: hidden;
}

/* CABEÇALHO DA COLUNA (Verde) */
.sys-col-header {
  background-color: var(--celta-green);
  color: white;
  padding: 8px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ITENS DA LISTA */
.sys-col-item {
  padding: 8px 15px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.85em;
  cursor: pointer;
  color: #333;
  transition: background 0.1s;
}

.sys-col-item:last-child {
  border-bottom: none;
}

.sys-col-item:hover {
  background-color: #e9ecef;
  color: #000;
  font-weight: 500;
}

/* Corrige links da Wiki dentro dos itens */
.sys-col-item a {
  display: block; /* Ocupa todo o espaço do item */
  width: 100%;
  height: 100%;
  color: inherit !important; /* Herda a cor do item, não azul de link */
}

/* Separador cinza dentro da lista */
.sys-separator {
  height: 10px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* ===================================================================
   BANNER SECUNDÁRIO (NOVIDADE)
=================================================================== */
.banner-secondary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--celta-blue) 0%, var(--celta-blue-dark) 100%);
    border-radius: var(--radius-md);
    padding: 30px 40px;
    margin-bottom: 60px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.banner-secondary::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.banner-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.banner-btn {
    background: white;
    color: var(--celta-blue-dark);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.banner-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Remove sublinhado se for link */
    color: var(--celta-blue);
}

/* Animação para o Banner */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   ELEMENTOS GERAIS DA WIKI (Alerts, Badges, Tabelas)
=================================================================== */

/* MONOSPACE & CODE */
code {
  font-family: var(--celta-font-mono) !important;
  font-size: 0.9em;
  background-color: var(--celta-bg-code);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--celta-text-dark);
  border: 1px solid var(--celta-border-code);
}

/* CAIXAS DE ALERTA */
.celta-box {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 6px;
  border-left: 4px solid #ccc;
  background-color: #f9f9f9;
  font-size: 0.93em;
}
.celta-box-title { font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 0.9em; }

.celta-info { background: var(--celta-bg-info); border-color: var(--celta-blue); }
.celta-info .celta-box-title { color: var(--celta-blue); }

.celta-success { background: var(--celta-bg-success); border-color: var(--celta-green); }
.celta-success .celta-box-title { color: #155724; }

.celta-warning { background: var(--celta-bg-warning); border-color: var(--celta-yellow); }
.celta-warning .celta-box-title { color: #856404; }

.celta-danger { background: var(--celta-bg-danger); border-color: var(--celta-red); }
.celta-danger .celta-box-title { color: var(--celta-red); }

/* TABELAS */
.celta-table {
  width: 100%; border-collapse: collapse; border-radius: 8px;
  overflow: hidden; box-shadow: 0 0 0 1px #e0e0e0;
  margin: 15px 0 25px 0;
}
.celta-table th { background-color: var(--celta-dark); color: white; padding: 12px 15px; text-align: left; font-weight: 600; }
.celta-table td { padding: 12px 15px; border-bottom: 1px solid #eee; vertical-align: top; }
.celta-col-key { background-color: var(--celta-bg-light); font-weight: 600; width: 30%; }

/* PRINTS DE TELA */
.celta-print-container { margin: 30px auto; text-align: center; max-width: 100%; }
.celta-print-img {
  max-width: 100%; height: auto; border: 1px solid var(--celta-border-light);
  border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: block; margin: 0 auto; max-height: 600px;
}
.celta-print-caption {
  margin-top: 10px; font-size: 0.85em; color: var(--celta-text-muted);
  font-style: italic; text-align: center; line-height: 1.4;
}

/* ===================================================================
   RESPONSIVIDADE
=================================================================== */

/* Tablets e Telas Médias */
@media (max-width: 1200px) {
  .sys-columns-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .sys-columns-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Celulares */
@media (max-width: 768px) {
  .erp-container { height: auto !important; min-height: 80vh; }
  .erp-body { flex-direction: column !important; }
  .erp-sidebar { width: 100% !important; height: auto !important; max-height: 250px; border-right: none !important; border-bottom: 1px solid #e0e0e0; }
  .erp-bg-logo { display: none !important; }
  .erp-content-stage { padding: 15px !important; }
  .erp-user-actions { display: none !important; }
  
  /* Submenu vira lista única no mobile */
  .sys-columns-grid { grid-template-columns: 1fr; }
  
  /* Ajuste de tabelas */
  .celta-col-key, .celta-col-value { display: block; width: 100%; }
  
  /* Banner responsivo */
  .banner-secondary { flex-direction: column; text-align: center; }
  .banner-content { max-width: 100%; margin-bottom: 20px; }
}