/* ===================================
   Sistema de Ordens de Serviço v2.0
   Tema: Modern Purple Gradient
   =================================== */

:root {
  --primary: #667eea;
  --secondary: #764ba2;
  --success: #48bb78;
  --danger: #f56565;
  --warning: #ed8936;
  --info: #4299e1;
  --dark: #2d3748;
  --light: #f7fafc;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hover: linear-gradient(135deg, #5a67d8 0%, #6b4199 100%);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
  min-height: 100vh;
  color: #2d3748 !important;
  line-height: 1.6;
}

.card-modern,
.table-modern,
.modal-modern .modal-content {
  background: white !important;
  color: #2d3748 !important;
}

.form-modern .form-control,
.form-modern .form-select {
  background: white !important;
  border-color: #e2e8f0 !important;
  color: #2d3748 !important;
}

/* ========== SCROLLBAR CUSTOMIZADA ========== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 10px;
}

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

/* ========== HEADER MODERNO ========== */
.header-main {
  background: var(--gradient);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.logo-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* ========== NAVEGAÇÃO MODERNA ========== */
.nav-modern {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-modern .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.nav-modern .nav-link:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.nav-modern .nav-link:hover:before {
  left: 0;
}

.nav-modern .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.nav-modern .dropdown-menu {
  background: white;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  margin-top: 0.5rem;
  animation: slideDown 0.3s ease;
}

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

.nav-modern .dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  font-weight: 500;
  color: var(--dark);
}

.nav-modern .dropdown-item:hover {
  background: var(--gradient);
  color: white;
  transform: translateX(5px);
}

.nav-modern .dropdown-item i {
  width: 20px;
  margin-right: 10px;
}

/* ========== CARDS MODERNOS ========== */
.card-modern {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
  border: none;
  position: relative;
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.card-modern .card-header {
  background: var(--gradient);
  color: white;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border: none;
}

.card-modern .card-body {
  padding: 1.5rem;
}

/* ========== FORMULÁRIOS MODERNOS ========== */
.form-modern .form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-modern .form-control,
.form-modern .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
}

.form-modern .form-control:focus,
.form-modern .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
}

.form-modern textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ========== BOTÕES MODERNOS ========== */
.btn-modern {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn-modern:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-modern:hover:before {
  width: 300px;
  height: 300px;
}

.btn-gradient {
  background: var(--gradient);
  color: white;
}

.btn-gradient:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-success-modern {
  background: var(--success);
  color: white;
}

.btn-success-modern:hover {
  background: #38a169;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-danger-modern {
  background: var(--danger);
  color: white;
}

.btn-danger-modern:hover {
  background: #e53e3e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-warning-modern {
  background: var(--warning);
  color: white;
}

.btn-warning-modern:hover {
  background: #dd7624;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-info-modern {
  background: var(--info);
  color: white;
}

.btn-info-modern:hover {
  background: #3182ce;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

/* ========== TABELAS MODERNAS ========== */
.table-modern {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.table-modern thead th {
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 1rem;
  border: none;
}

.table-modern tbody tr {
  transition: var(--transition);
}

.table-modern tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
  transform: scale(1.01);
}

.table-modern tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-top: 1px solid #e2e8f0;
}

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

/* ========== BADGES E STATUS ========== */
.badge-modern {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gradient {
  background: var(--gradient);
  color: white;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-badge.aberto {
  background: rgba(72, 187, 120, 0.1);
  color: var(--success);
}

.status-badge.em-atendimento {
  background: rgba(237, 137, 54, 0.1);
  color: var(--warning);
}

.status-badge.fechado {
  background: rgba(245, 101, 101, 0.1);
  color: var(--danger);
}

.status-badge:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 currentColor;
  }
  70% {
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* ========== ALERTAS MODERNOS ========== */
.alert-modern {
  border: none;
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.alert-success-modern {
  background: rgba(72, 187, 120, 0.1);
  color: var(--success);
  border-left: 4px solid var(--success);
}

.alert-danger-modern {
  background: rgba(245, 101, 101, 0.1);
  color: var(--danger);
  border-left: 4px solid var(--danger);
}

.alert-warning-modern {
  background: rgba(237, 137, 54, 0.1);
  color: var(--warning);
  border-left: 4px solid var(--warning);
}

.alert-info-modern {
  background: rgba(66, 153, 225, 0.1);
  color: var(--info);
  border-left: 4px solid var(--info);
}

/* ========== PAGINAÇÃO MODERNA ========== */
.pagination-modern {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.pagination-modern .page-link {
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--dark);
  font-weight: 600;
  transition: var(--transition);
  background: white;
  box-shadow: var(--shadow-sm);
}

.pagination-modern .page-link:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pagination-modern .page-item.active .page-link {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.pagination-modern .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== MODAL MODERNA ========== */
.modal-modern .modal-content {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.modal-modern .modal-header {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 1.5rem;
}

.modal-modern .modal-title {
  font-weight: 700;
  font-size: 1.25rem;
}

.modal-modern .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modal-modern .modal-body {
  padding: 2rem;
}

.modal-modern .modal-footer {
  border: none;
  padding: 1.5rem;
  background: #f8f9fa;
}

/* ========== DASHBOARD CARDS ========== */
.stat-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-card .stat-icon {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  color: #718096;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-progress {
  margin-top: 1rem;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.stat-card .stat-progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 1s ease;
}

/* ========== HERO SECTION ========== */
.hero-section {
  background: var(--gradient);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

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

/* ========== COMENTÁRIOS SECTION ========== */
.comentarios-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: var(--border-radius);
}

.comentario-item {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  border-left: 3px solid var(--primary);
}

.comentario-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.comentario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comentario-autor {
  font-weight: 600;
  color: var(--dark);
}

.comentario-data {
  font-size: 0.85rem;
  color: #718096;
}

.comentario-texto {
  color: #4a5568;
  line-height: 1.6;
}

/* ========== FOOTER MODERNO ========== */
.footer-modern {
  background: var(--gradient);
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.footer-content {
  text-align: center;
}

.footer-text {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.footer-link {
  color: white;
  text-decoration: underline;
  transition: var(--transition);
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* ========== LOADING SPINNER ========== */
.spinner-modern {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========== UTILITIES ========== */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.shadow-modern {
  box-shadow: var(--shadow-lg);
}

.rounded-modern {
  border-radius: var(--border-radius);
}

.transition-modern {
  transition: var(--transition);
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .stat-card {
    margin-bottom: 1rem;
  }
  
  .table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
  }
  
  .nav-modern {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== ANIMAÇÕES EXTRAS ========== */
.fade-in {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-in-left {
  animation: slideInLeft 0.5s ease;
}

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

.zoom-in {
  animation: zoomIn 0.5s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}



/* ========== PRINT STYLES ========== */
@media print {
  .header-main,
  .footer-modern,
  .btn-modern,
  .nav-modern {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card-modern {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}



/* ============ Estilos para a área de anexos ============== */
.drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    position: relative;
}

.drop-zone:hover {
    border-color: #667eea;
    background-color: #f0f0ff;
}

.drop-zone.dragover {
    border-color: #667eea;
    background-color: #e8ebff;
    transform: scale(1.02);
}

.drop-zone-content {
    pointer-events: none;
}

.file-item {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.file-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.file-item .btn-outline-danger {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.file-item:hover .btn-outline-danger {
    opacity: 1;
}

/* Animação de entrada */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-item {
    animation: slideIn 0.3s ease;
}

/* Responsividade */
@media (max-width: 768px) {
    .drop-zone {
        padding: 20px;
    }
    
    .drop-zone-content i {
        font-size: 2rem !important;
    }
}

/* ============================================
   MELHORIAS DE CONTRASTE PARA ABAS DO PERFIL
   ============================================ */

/* Abas melhoradas com contraste otimizado */
.nav-tabs.card-header-tabs {
  border: none;
  margin-bottom: 0;
}

.nav-tabs.card-header-tabs .nav-item {
  margin-bottom: 0;
}

.nav-tabs.card-header-tabs .nav-link {
  /* Estado padrão - texto branco com fundo semi-transparente */
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85) !important;
  border: 2px solid transparent;
  border-radius: 10px 10px 0 0;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-right: 4px;
}

.nav-tabs.card-header-tabs .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.nav-tabs.card-header-tabs .nav-link:hover::before {
  left: 100%;
}

/* Estado hover - mais contraste e efeito */
.nav-tabs.card-header-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white !important;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Estado ativo - fundo branco com texto escuro */
.nav-tabs.card-header-tabs .nav-link.active {
  background: white !important;
  color: #2d3748 !important;
  border-color: white;
  text-shadow: none;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

/* Efeito de indicador na aba ativa */
.nav-tabs.card-header-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Melhorar ícones nas abas */
.nav-tabs.card-header-tabs .nav-link i {
  margin-right: 8px;
  font-size: 1rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.nav-tabs.card-header-tabs .nav-link.active i {
  filter: none;
  color: var(--primary);
}

/* Ajustar o card-header para melhor integração */
.card-modern .card-header {
  padding-bottom: 0;
  border-bottom: none;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  .nav-tabs.card-header-tabs .nav-link {
    padding: 10px 12px;
    font-size: 0.85rem;
    margin-right: 2px;
  }
  
  .nav-tabs.card-header-tabs .nav-link i {
    margin-right: 6px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .nav-tabs.card-header-tabs {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .nav-tabs.card-header-tabs .nav-link {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.8rem;
    border-radius: 8px;
    margin-right: 0;
  }
  
  .nav-tabs.card-header-tabs .nav-link.active::after {
    display: none;
  }
}

/* Animações extras para suavidade */
@keyframes tabActivate {
  0% {
    transform: translateY(-2px) scale(0.98);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.nav-tabs.card-header-tabs .nav-link.active {
  animation: tabActivate 0.3s ease-out;
}

/* Melhorar a transição do conteúdo das abas */
.tab-content {
  background: white;
  border-radius: 0 0 12px 12px;
  padding: 1.5rem;
}

.tab-pane {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.tab-pane.active {
  opacity: 1;
  transform: translateY(0);
}

/* Versão alternativa com cores ainda mais contrastantes (descomente se necessário) */
/*
.nav-tabs.card-header-tabs .nav-link {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.nav-tabs.card-header-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: white !important;
}

.nav-tabs.card-header-tabs .nav-link.active {
  background: white !important;
  color: #1a202c !important;
  border-color: white;
  font-weight: 700;
}
*/


/* ========== LOGO UFC CUSTOMIZADO ========== */
.logo-section {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.5rem 0;
}

.logo-ufc {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1); /* Deixa o logo branco */
  transition: transform 0.3s ease;
}

.logo-ufc:hover {
  transform: scale(1.05);
}

.logo-divider {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.logo-text {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  margin: 0;
  line-height: 1.2;
}

.logo-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsividade do Logo */
@media (max-width: 768px) {
  .logo-ufc {
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .logo-subtitle {
    font-size: 0.75rem;
  }
  
  .logo-divider {
    height: 35px;
  }
}

@media (max-width: 480px) {
  .logo-section {
    gap: 0.8rem;
  }
  
  .logo-subtitle {
    display: none; /* Esconde o subtítulo em telas muito pequenas */
  }
}
