/* ========================================
   PWS ERP - Estilo Tecnológico Moderno
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #1E3B2F;
  --primary-light: #2a5242;
  --primary-dark: #152a22;
  --accent-cyan: #00d4ff;
  --accent-green: #00ff88;
  --accent-purple: #8b5cf6;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --bg-page: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-green) 100%);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-bottom: 60px;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Focus states com estilo tech */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25);
  outline: none;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--text-secondary);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ========================================
   Botões - Estilo Tech
   ======================================== */

.btn {
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 14px rgba(30, 59, 47, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 59, 47, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(30, 59, 47, 0.35);
}

/* Botão accent/tech */
.btn-accent {
  background: var(--gradient-accent);
  border: none;
  color: var(--bg-dark);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
  color: var(--bg-dark);
}

/* ========================================
   Badges - Estilo Tech
   ======================================== */

.badge {
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.4em 0.8em;
  border-radius: 6px;
}

.badge.bg-success { 
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important; 
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge.bg-info { 
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.badge.bg-warning { 
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important; 
  color: #000 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge.bg-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge.bg-primary {
  background: var(--gradient-primary) !important;
  box-shadow: 0 2px 8px rgba(30, 59, 47, 0.3);
}

.badge.bg-secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
}

/* ========================================
   Dashboard Styles
   ======================================== */

.dashboard-container {
  padding: 20px 0;
}

.dashboard-container h4 {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.25rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.dashboard-container h4 i {
  margin-right: 0.5rem;
  color: var(--accent-cyan);
}

/* Stats Cards Row */
.stats-cards-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  padding-bottom: 0.5rem;
}

.stats-cards-row::-webkit-scrollbar {
  height: 6px;
}

.stats-cards-row::-webkit-scrollbar-track {
  background: var(--bg-page);
  border-radius: 10px;
}

.stats-cards-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
  border-radius: 10px;
}

.stats-cards-row > div {
  flex: 1 1 0;
  min-width: 200px;
}

/* Stats card row variants */
.stats-cards-row-4 > div { flex: 1 1 calc(25% - 0.75rem); }
.stats-cards-row-5 > div { flex: 1 1 calc(20% - 0.8rem); }
.stats-cards-row-6 > div { flex: 1 1 calc(16.67% - 0.83rem); }

@media (min-width: 1200px) {
  .stats-cards-row {
    flex-wrap: nowrap;
    overflow-x: visible;
  }
  
  .stats-cards-row-4 > div,
  .stats-cards-row-5 > div,
  .stats-cards-row-6 > div {
    min-width: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .stats-cards-row-4 > div,
  .stats-cards-row-5 > div,
  .stats-cards-row-6 > div {
    min-width: 200px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .stats-cards-row-4 > div,
  .stats-cards-row-5 > div,
  .stats-cards-row-6 > div {
    flex: 1 1 calc(33.33% - 0.67rem);
    min-width: 200px;
  }
}

@media (max-width: 767px) {
  .stats-cards-row-4 > div,
  .stats-cards-row-5 > div,
  .stats-cards-row-6 > div {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 180px;
  }
}

/* Stat Card Link */
.stat-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  cursor: pointer;
}

.stat-card-link:hover {
  color: inherit;
}

/* Stat Card - Estilo Tech */
.stat-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  height: 100%;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(0, 212, 255, 0.2);
}

.stat-card:hover::before {
  opacity: 1;
}

/* Stat Card Icon - Estilo Tech com gradiente */
.stat-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  margin-right: 20px;
  border-radius: var(--border-radius-md);
  background: var(--gradient-primary);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem !important;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 59, 47, 0.3);
  transition: all var(--transition-normal);
}

.stat-card:hover .stat-card-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(30, 59, 47, 0.4);
}

.stat-card-primary .stat-card-icon { background: var(--gradient-primary); }
.stat-card-warning .stat-card-icon { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.stat-card-info .stat-card-icon { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.stat-card-success .stat-card-icon { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.stat-card-danger .stat-card-icon { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.stat-card-secondary .stat-card-icon { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }

.stat-card-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.stat-card-content p {
  margin: 4px 0 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Metric Card */
.metric-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: var(--shadow-md);
  height: 100%;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.metric-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 212, 255, 0.2);
}

.metric-card h5 {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  margin: 20px 0;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Chart Card */
.chart-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: var(--shadow-md);
  height: 100%;
  border: 1px solid var(--border-color);
}

.chart-card h5 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ========================================
   Tickets Grid - Estilo Tech
   ======================================== */

.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ticket-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--primary-color);
  position: relative;
  border: 1px solid var(--border-color);
  border-left-width: 4px;
}

.ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.ticket-card.prioridade-urgente { border-left-color: #ef4444; }
.ticket-card.prioridade-alta { border-left-color: #f59e0b; }
.ticket-card.prioridade-normal { border-left-color: var(--primary-color); }
.ticket-card.prioridade-baixa { border-left-color: #6b7280; }

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
}

.ticket-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.ticket-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 10px 0;
  line-height: 1.4;
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 15px 0;
}

.ticket-info-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ticket-info-item i {
  margin-right: 10px;
  width: 20px;
  color: var(--accent-cyan);
}

.ticket-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.ticket-actions {
  display: flex;
  gap: 8px;
}

/* ========================================
   Navbar - Estilo Tech
   ======================================== */

.navbar {
  box-shadow: var(--shadow-md);
  background: var(--primary-color) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand, .nav-link {
  color: white !important;
  font-weight: 500;
}

.nav-link {
  transition: all var(--transition-normal);
  border-radius: var(--border-radius-sm);
  margin: 0 2px;
}

.nav-link:hover {
  color: var(--accent-cyan) !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ========================================
   Cards - Estilo Tech
   ======================================== */

.card {
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg) !important;
}

.card-header {
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0 !important;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.card-modern {
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ========================================
   Tables - Estilo Tech
   ======================================== */

.table-modern {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table-modern thead {
  background: var(--gradient-primary);
  color: white;
}

.table-modern thead th {
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 1rem;
  border: none;
}

.table-modern tbody tr {
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--border-color);
}

.table-modern tbody tr:hover {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.05) 0%, transparent 100%);
}

.table-modern tbody tr:last-child {
  border-bottom: none;
}

.table-responsive {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

/* ========================================
   Badges Modernos
   ======================================== */

.badge-modern {
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-size: 0.8rem;
}

/* ========================================
   Forms - Estilo Tech
   ======================================== */

.form-control, .form-select {
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: all var(--transition-normal);
  background: var(--bg-card);
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
  background: var(--bg-card);
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-check-input {
  border: 2px solid var(--border-color);
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ========================================
   Info Items
   ======================================== */

.border-bottom {
  border-color: var(--border-color) !important;
}

.info-item {
  display: flex;
  align-items: start;
  margin-bottom: 1rem;
}

.info-item i {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.info-item .info-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.info-item .info-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* ========================================
   Scrollbar personalizada
   ======================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-page);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ========================================
   Animações
   ======================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes slideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   Utilities Tech
   ======================================== */

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

.border-accent {
  border-color: var(--accent-cyan) !important;
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.tech-border {
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.tech-border:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--shadow-glow);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 575.98px) {
  .tickets-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .stat-card-icon {
    margin-right: 0;
    margin-bottom: 12px;
    font-size: 2rem;
  }
  
  .stat-card-content h3 {
    font-size: 1.8rem;
  }
  
  .table {
    font-size: 0.875rem;
  }
  
  .table th,
  .table td {
    padding: 0.5rem;
  }
  
  .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
  }
  
  .navbar-brand img {
    height: 30px !important;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .tickets-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .stat-card {
    padding: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .tickets-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  
  .sidebar {
    width: 200px !important;
  }
  
  main {
    margin-left: 200px !important;
  }
}

@media (min-width: 992px) {
  .sidebar {
    width: 250px !important;
  }
  
  main {
    margin-left: 250px !important;
  }
}

@media (max-width: 767.98px) {
  .table-responsive {
    font-size: 0.875rem;
  }
  
  .form-control,
  .form-select {
    font-size: 1rem;
  }
  
  .btn-group-vertical {
    width: 100%;
  }
  
  .btn-group-vertical > .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Sidebar responsivo */
@media (max-width: 767.98px) {
  .sidebar {
    position: fixed !important;
    top: 0;
    left: -250px;
    transition: left var(--transition-normal);
    z-index: 1040;
    width: 250px !important;
    display: block !important;
  }
  
  .sidebar.show {
    left: 0 !important;
  }
  
  main {
    margin-left: 0 !important;
    width: 100% !important;
  }
  
  .sidebar-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1050;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    display: block;
    box-shadow: var(--shadow-md);
  }
  
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1039;
    display: none;
    backdrop-filter: blur(4px);
  }
  
  .sidebar-overlay.show {
    display: block;
  }
}

@media (min-width: 768px) {
  .sidebar-toggle {
    display: none !important;
  }
  
  .sidebar {
    left: 0 !important;
    display: block !important;
  }
  
  main {
    margin-left: 250px !important;
  }
  
  .sidebar-overlay {
    display: none !important;
  }
}

/* ========================================
   Loading States
   ======================================== */

.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   Toast/Alert Styles
   ======================================== */

.alert {
  border-radius: var(--border-radius-sm);
  border: none;
  box-shadow: var(--shadow-md);
}

.alert-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  border-left: 4px solid #10b981;
  color: #065f46;
}

.alert-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
  border-left: 4px solid #ef4444;
  color: #991b1b;
}

.alert-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
  border-left: 4px solid #f59e0b;
  color: #92400e;
}

.alert-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-left: 4px solid #3b82f6;
  color: #1e40af;
}

/* ========================================
   Layout Tabela Index (cabeçalho fixo)
   ======================================== */

.table-index-wrapper {
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  overflow-x: auto;
}

.table-index-wrapper .table {
  font-size: 0.875rem;
}

.thead-fixo th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #e9ecef !important;
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.1);
  white-space: nowrap;
}
