  /* ============================================
   BURITIS AGOSTINIANO - THEME OVERRIDE
   ============================================
   Paleta Militar:
   #448A89 → Verde militar escuro (primary)
   #613387 → Roxo institucional (secondary)
   #EF7C38 → Dourado/oliva claro (accent)
   #ffffff → Bege envelhecido (text light)
   #1a1a2e → Preto profundo (dark)
   ============================================ */

:root {
  /* Primary Colors */
  --primarycolor: #448A89 !important;
  --primary-color: #448A89 !important;
  --main-color: #448A89 !important;
  --primary: #448A89 !important;
  
  /* Secondary Colors */
  --secondarycolor: #613387 !important;
  --secondary-color: #613387 !important;
  --primary-color-light: #448A89 !important;
  --primary-light: #448A89 !important;
  --primary-dark: #2d6160 !important;
  
  /* Accent Colors */
  --accent-color: #EF7C38 !important;
  --accent: #EF7C38 !important;
  --chart-color: #EF7C38 !important;
  --alert-color: #448A89 !important;
  
  /* Text Colors */
  --font-color: #333 !important;
  --text-color: #333 !important;
  --details: #333 !important;
  
  /* Background Colors */
  --dark-color: #1a1a2e !important;
  --light-bg: #ffffff !important;
  --very-light-bg: #ffffff !important;
  --very-very-light-bg: #ffffff !important;
  --background-color: #ffffff !important;
  --bg-light: #ffffff !important;
  --bg-white: #ffffff !important;
  --shadowcolor: #e0e0e0 !important;
  
  /* Keyboard Navigation Colors */
  --kb-primary: 68, 138, 137 !important;
  --kb-secondary: 97, 51, 135 !important;
  
  /* Gradients */
  --primary-gradient: #448A89 !important;
  --secondary-gradient: #613387 !important;
}

/* Body Background */
body.buritis-agostiniano {
  background: #ffffff !important;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */
body.buritis-agostiniano .modern-sidebar {
  background: #448A89 !important;
  border-right: 1px solid rgba(239, 124, 56, 0.3) !important;
}

body.buritis-agostiniano .modern-sidebar .nav-item {
  color: #ffffff !important;
}

body.buritis-agostiniano .modern-sidebar .nav-item:hover {
  background-color: rgba(239, 124, 56, 0.3) !important;
  color: #ffffff !important;
}

body.buritis-agostiniano .modern-sidebar .nav-item:hover::before {
  background: rgba(239, 124, 56, 0.2) !important;
}

body.buritis-agostiniano .modern-sidebar .nav-icon,
body.buritis-agostiniano .modern-sidebar .nav-icon i,
body.buritis-agostiniano .modern-sidebar i {
  color: #EF7C38 !important;
}

body.buritis-agostiniano .modern-sidebar .nav-item:hover i,
body.buritis-agostiniano .modern-sidebar .nav-item:hover .nav-icon {
  color: #ffffff !important;
}

body.buritis-agostiniano .modern-sidebar .brand-name {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.buritis-agostiniano .modern-sidebar .user-name,
body.buritis-agostiniano .modern-sidebar .user-name-display {
  color: #ffffff !important;
}

body.buritis-agostiniano .modern-sidebar .nav-section-title {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.buritis-agostiniano .modern-sidebar .sidebar-toggle {
  background: #448A89 !important;
}

/* ============================================
   BUTTONS
   ============================================ */
body.buritis-agostiniano .btn-primary,
.buritis-agostiniano .btn-primary {
  background: #448A89 !important;
  border-color: #448A89 !important;
  color: #fff !important;
}

body.buritis-agostiniano .btn-primary:hover,
.buritis-agostiniano .btn-primary:hover {
  background: #448A89 !important;
  border-color: #448A89 !important;
}

body.buritis-agostiniano .btn-outline-primary {
  color: #448A89 !important;
  border-color: #448A89 !important;
}

body.buritis-agostiniano .btn-outline-primary:hover {
  background-color: #448A89 !important;
  color: #ffffff !important;
}

/* ============================================
   CARDS & CONTAINERS
   ============================================ */
body.buritis-agostiniano .card {
  border-color: rgba(68, 138, 137, 0.1) !important;
}

body.buritis-agostiniano .card:hover {
  border-color: rgba(68, 138, 137, 0.3) !important;
}

/* ============================================
   LINKS & TEXT
   ============================================ */
body.buritis-agostiniano a:not(.nav-item):not(.btn):not(.qc-btn) {
  color: var(--bg-white);
}

body.buritis-agostiniano a:not(.nav-item):not(.btn):not(.qc-btn):hover {
  color: var(--bg-white);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
body.buritis-agostiniano .form-control:focus {
  border-color: #448A89 !important;
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.15) !important;
}

body.buritis-agostiniano .form-check-input:checked {
  background-color: #448A89 !important;
  border-color: #448A89 !important;
}

/* ============================================
   BADGES & ALERTS
   ============================================ */
body.buritis-agostiniano .badge-primary,
body.buritis-agostiniano .bg-primary {
  background-color: #448A89 !important;
}

body.buritis-agostiniano .text-primary {
  color: #448A89 !important;
}

/* ============================================
   CHARTS
   ============================================ */
body.buritis-agostiniano .chart-container {
  --chart-primary: #448A89;
  --chart-secondary: #613387;
  --chart-accent: #EF7C38;
}

/* ============================================
   KEYBOARD NAVIGATION OVERRIDE
   ============================================ */
body.buritis-agostiniano {
  --kb-primary: 68, 138, 137;
  --kb-secondary: 97, 51, 135;
}

body.buritis-agostiniano .keyboard-focused {
  border-color: rgba(68, 138, 137, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(68, 138, 137, 0.15) !important;
}

/* ============================================
   MOBILE MENU
   ============================================ */
body.buritis-agostiniano .mobile-menu-btn {
  background: #448A89 !important;
}

/* ============================================
   SCROLLBAR
   ============================================ */
body.buritis-agostiniano ::-webkit-scrollbar-thumb {
  background: rgba(68, 138, 137, 0.4);
}

body.buritis-agostiniano ::-webkit-scrollbar-thumb:hover {
  background: rgba(68, 138, 137, 0.6);
}

/* ============================================
   GLOBAL HOVER & FOCUS OVERRIDES
   ============================================ */

/* Links hover */
body.buritis-agostiniano a:hover,
body.buritis-agostiniano a:focus {
  color: #EF7C38 !important;
}

/* All buttons hover/focus */
body.buritis-agostiniano .btn:hover,
body.buritis-agostiniano .btn:focus,
body.buritis-agostiniano button:hover,
body.buritis-agostiniano button:focus {
  border-color: #448A89 !important;
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .btn-secondary:hover,
body.buritis-agostiniano .btn-secondary:focus {
  background: #448A89 !important;
  border-color: #448A89 !important;
}

body.buritis-agostiniano .btn-success:hover,
body.buritis-agostiniano .btn-success:focus {
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.2) !important;
}

/* Cards hover */
body.buritis-agostiniano .card:hover,
body.buritis-agostiniano .card:focus {
  border-color: rgba(68, 138, 137, 0.4) !important;
  box-shadow: 0 8px 25px rgba(68, 138, 137, 0.15) !important;
}

/* Input focus */
body.buritis-agostiniano input:focus,
body.buritis-agostiniano textarea:focus,
body.buritis-agostiniano select:focus,
body.buritis-agostiniano .form-select:focus {
  border-color: #448A89 !important;
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.15) !important;
  outline: none !important;
}

/* ============================================
   ESCOLHA-PROVA PAGE OVERRIDES
   ============================================ */

/* Materia cards */
body.buritis-agostiniano .materia-card {
  border: 1px solid rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .materia-card:hover {
  border-color: rgba(68, 138, 137, 0.5) !important;
  box-shadow: 0 20px 40px rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .materia-card:hover .materia-icon {
  color: #448A89 !important;
}

body.buritis-agostiniano .materia-card:hover .materia-name {
  color: #448A89 !important;
}

body.buritis-agostiniano .materia-card.active {
  background: rgba(68, 138, 137, 0.9) !important;
  border-color: rgba(68, 138, 137, 0.8) !important;
  box-shadow: 0 15px 35px rgba(68, 138, 137, 0.3) !important;
}

body.buritis-agostiniano .materia-card.active .materia-icon,
body.buritis-agostiniano .materia-card.active .materia-name {
  color: #ffffff !important;
}

body.buritis-agostiniano .materia-icon {
  color: #448A89 !important;
  filter: drop-shadow(0 2px 4px rgba(68, 138, 137, 0.2)) !important;
}

/* Questao options */
body.buritis-agostiniano .questao-option {
  color: #448A89 !important;
  border-color: rgba(68, 138, 137, 0.3) !important;
}

body.buritis-agostiniano .questao-option:hover:not(.active) {
  border-color: #448A89 !important;
  color: #448A89 !important;
  box-shadow: 0 4px 12px rgba(68, 138, 137, 0.15) !important;
}

body.buritis-agostiniano .questao-option.active {
  background: #448A89 !important;
  border-color: #448A89 !important;
  box-shadow: 0 4px 12px rgba(68, 138, 137, 0.3) !important;
}

/* Prova options */
body.buritis-agostiniano .prova-option {
  color: #448A89 !important;
}

body.buritis-agostiniano .prova-option:hover {
  background: rgba(68, 138, 137, 0.08) !important;
}

body.buritis-agostiniano .prova-option.active {
  color: #448A89 !important;
}

body.buritis-agostiniano .prova-option.active::after {
  background: #448A89 !important;
}

/* Tipo questao options */
body.buritis-agostiniano .tipo-questao-option {
  border-color: rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .tipo-questao-option:hover,
body.buritis-agostiniano .tipo-questao-option.active {
  border-color: #448A89 !important;
  box-shadow: 0 6px 20px rgba(68, 138, 137, 0.3) !important;
}

body.buritis-agostiniano .tipo-questao-option::before {
  background: #448A89 !important;
}

body.buritis-agostiniano .tipo-questao-option i {
  color: #448A89 !important;
}

body.buritis-agostiniano .tipo-questao-option:hover i,
body.buritis-agostiniano .tipo-questao-option.active i {
  color: #ffffff !important;
}

/* Status badge */
body.buritis-agostiniano .status-badge {
  background: rgba(68, 138, 137, 0.1) !important;
  border-color: rgba(68, 138, 137, 0.3) !important;
  color: #448A89 !important;
}

body.buritis-agostiniano .status-dot {
  background: #448A89 !important;
}

/* Title gradient */
body.buritis-agostiniano .title-gradient {
  background: #448A89 !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Section title */
body.buritis-agostiniano .section-title::after {
  background: #448A89 !important;
  box-shadow: 0 2px 8px rgba(68, 138, 137, 0.3) !important;
}

/* Relatorios/Histórico */
body.buritis-agostiniano .relatorios i {
  color: #448A89 !important;
  background: rgba(68, 138, 137, 0.1) !important;
}

body.buritis-agostiniano .relatorios div:hover i {
  background: rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .relatorios div:hover .prova-nome {
  color: #448A89 !important;
}

body.buritis-agostiniano .relatorios div:hover .prova-data {
  background: rgba(68, 138, 137, 0.2) !important;
  color: #448A89 !important;
}

body.buritis-agostiniano .relatorios div:hover::before {
  background: #448A89 !important;
}

body.buritis-agostiniano .relatorios .prova-data {
  background: rgba(68, 138, 137, 0.1) !important;
}

body.buritis-agostiniano .relatorios::-webkit-scrollbar-thumb {
  background: rgba(68, 138, 137, 0.6) !important;
}

body.buritis-agostiniano .relatorios::-webkit-scrollbar-thumb:hover {
  background: rgba(68, 138, 137, 0.8) !important;
}

/* Slider */
body.buritis-agostiniano .questoes-slider::-webkit-slider-thumb {
  background: #448A89 !important;
}

body.buritis-agostiniano .questoes-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 4px 12px rgba(68, 138, 137, 0.4) !important;
}

body.buritis-agostiniano .questoes-slider::-moz-range-thumb {
  background: #448A89 !important;
}

body.buritis-agostiniano .slider-label {
  color: #448A89 !important;
}

/* Btn secundario */
body.buritis-agostiniano .btn-secundario {
  color: #448A89 !important;
}

body.buritis-agostiniano .btn-secundario:hover {
  background: rgba(68, 138, 137, 0.1) !important;
  border-color: #448A89 !important;
}

/* Sortable headers */
body.buritis-agostiniano .sortable:hover {
  background: rgba(68, 138, 137, 0.1) !important;
}

/* Loading spinner */
body.buritis-agostiniano .loading-spinner {
  border-top-color: #448A89 !important;
}

/* Header gradient */
body.buritis-agostiniano .header h1 {
  background: #448A89 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Prova form container gradient bar */
body.buritis-agostiniano .prova-form-container::before {
  background: #448A89 !important;
}

/* Simulados container gradient bar */
body.buritis-agostiniano #simulados-container::before {
  background: #448A89 !important;
}

/* Info card icons */
body.buritis-agostiniano .info-card i {
  background: #448A89 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

body.buritis-agostiniano .info-card:hover {
  box-shadow: 0 10px 25px rgba(68, 138, 137, 0.15) !important;
}

/* ============================================
   TABLE HOVER STATES
   ============================================ */
body.buritis-agostiniano .tabela-enem tr:hover,
body.buritis-agostiniano table tr:hover {
  background: rgba(68, 138, 137, 0.08) !important;
}

body.buritis-agostiniano .tabela-enem tr.selecionado {
  background: rgba(68, 138, 137, 0.15) !important;
}

/* ============================================
   BADGE OVERRIDES
   ============================================ */
body.buritis-agostiniano .badge:hover {
  transform: scale(1.05);
}

body.buritis-agostiniano .badge.bg-primary {
  background-color: #448A89 !important;
}

body.buritis-agostiniano .badge.bg-primary:hover {
  background-color: #448A89 !important;
}

/* ============================================
   NAV TABS HOVER
   ============================================ */
body.buritis-agostiniano .nav-tab:hover {
  color: #448A89 !important;
  background: rgba(68, 138, 137, 0.08) !important;
}

body.buritis-agostiniano .nav-tab:focus {
  outline: 2px solid #448A89 !important;
  outline-offset: 2px;
}

body.buritis-agostiniano .nav-tabs::-webkit-scrollbar-thumb:hover {
  background: #448A89 !important;
}

/* ============================================
   TUTORIAL CARDS HOVER
   ============================================ */
body.buritis-agostiniano .tutorial-card:hover {
  box-shadow: 0 20px 40px rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .tutorial-card:hover .tutorial-title {
  color: #448A89 !important;
}

body.buritis-agostiniano .btn-watch:hover {
  background: #448A89 !important;
}

body.buritis-agostiniano .btn-watch:focus {
  outline: 2px solid #448A89 !important;
  outline-offset: 2px;
}

/* ============================================
   DROPDOWN HOVER
   ============================================ */
body.buritis-agostiniano .dropdown-item:hover,
body.buritis-agostiniano .dropdown-item:focus {
  background-color: rgba(68, 138, 137, 0.1) !important;
  color: #448A89 !important;
}

body.buritis-agostiniano .dropdown-item.active,
body.buritis-agostiniano .dropdown-item:active {
  background-color: #448A89 !important;
  color: #ffffff !important;
}

/* ============================================
   LIST GROUP HOVER
   ============================================ */
body.buritis-agostiniano .list-group-item:hover {
  background-color: rgba(68, 138, 137, 0.08) !important;
}

body.buritis-agostiniano .list-group-item.active {
  background-color: #448A89 !important;
  border-color: #448A89 !important;
}

/* ============================================
   PAGINATION HOVER
   ============================================ */
body.buritis-agostiniano .page-link:hover {
  background-color: rgba(68, 138, 137, 0.1) !important;
  border-color: #448A89 !important;
  color: #448A89 !important;
}

body.buritis-agostiniano .page-item.active .page-link {
  background-color: #448A89 !important;
  border-color: #448A89 !important;
}

/* ============================================
   ACCORDION HOVER
   ============================================ */
body.buritis-agostiniano .accordion-button:hover {
  background-color: rgba(68, 138, 137, 0.08) !important;
}

body.buritis-agostiniano .accordion-button:focus {
  border-color: #448A89 !important;
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.15) !important;
}

body.buritis-agostiniano .accordion-button:not(.collapsed) {
  background-color: rgba(68, 138, 137, 0.1) !important;
  color: #448A89 !important;
}

/* ============================================
   MODAL FOCUS
   ============================================ */
body.buritis-agostiniano .modal-content {
  border-color: rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .btn-close:hover {
  opacity: 1;
}

body.buritis-agostiniano .btn-close:focus {
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.25) !important;
}

/* ============================================
   ALERT LINKS
   ============================================ */
body.buritis-agostiniano .alert a:hover {
  color: #448A89 !important;
}

/* ============================================
   CHECKBOX & RADIO FOCUS
   ============================================ */
body.buritis-agostiniano .form-check-input:focus {
  border-color: #448A89 !important;
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.15) !important;
}

body.buritis-agostiniano .form-check-input:hover {
  border-color: #448A89 !important;
}

/* ============================================
   SWITCH TOGGLE
   ============================================ */
body.buritis-agostiniano .form-switch .form-check-input:checked {
  background-color: #448A89 !important;
  border-color: #448A89 !important;
}

/* ============================================
   TOAST HOVER
   ============================================ */
body.buritis-agostiniano .toast:hover {
  box-shadow: 0 8px 25px rgba(68, 138, 137, 0.2) !important;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
body.buritis-agostiniano .progress-bar {
  background-color: #448A89 !important;
}

/* ============================================
   SPINNER
   ============================================ */
body.buritis-agostiniano .spinner-border {
  color: #448A89 !important;
}

body.buritis-agostiniano .spinner-grow {
  color: #448A89 !important;
}

/* ============================================
   BREADCRUMB HOVER
   ============================================ */
body.buritis-agostiniano .breadcrumb-item a:hover {
  color: #448A89 !important;
}

/* ============================================
   OFFCANVAS
   ============================================ */
body.buritis-agostiniano .offcanvas {
  border-color: rgba(68, 138, 137, 0.2) !important;
}

/* ============================================
   POPOVER & TOOLTIP
   ============================================ */
body.buritis-agostiniano .popover {
  border-color: rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .tooltip-inner {
  background-color: #448A89 !important;
}

body.buritis-agostiniano .bs-tooltip-top .tooltip-arrow::before,
body.buritis-agostiniano .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
  border-top-color: #448A89 !important;
}

/* ============================================
   KEYBOARD NAVIGATION FOCUS STATES
   ============================================ */
body.buritis-agostiniano .nav-item.keyboard-focused {
  background: rgba(68, 138, 137, 0.15) !important;
  box-shadow: 0 8px 25px rgba(68, 138, 137, 0.25) !important;
}

body.buritis-agostiniano .nav-item.keyboard-focused .nav-icon {
  color: #448A89 !important;
}

body.buritis-agostiniano .keyboard-focused {
  border-color: rgba(68, 138, 137, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(68, 138, 137, 0.15) !important;
}


/* ============================================
   ESCOLHA-PROVA HARDCODED COLOR OVERRIDES
   ============================================ */

/* Prova option hover - override rgba(59, 130, 246, 0.05) */
body.buritis-agostiniano .prova-option:hover {
  background: rgba(68, 138, 137, 0.08) !important;
}

/* Relatorios scrollbar - override rgba(0, 162, 232, 0.8) */
body.buritis-agostiniano .relatorios::-webkit-scrollbar-thumb:hover {
  background: rgba(68, 138, 137, 0.8) !important;
}

/* Relatorios hover icons - override rgba(0, 162, 232, 0.2) */
body.buritis-agostiniano .relatorios div:hover i {
  background: rgba(68, 138, 137, 0.2) !important;
}

/* Relatorios hover data - override rgba(0, 162, 232, 0.2) */
body.buritis-agostiniano .relatorios div:hover .prova-data {
  background: rgba(68, 138, 137, 0.2) !important;
  color: #448A89 !important;
}

/* Slider thumb hover - override rgba(0,162,232,0.4) */
body.buritis-agostiniano .questoes-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 4px 12px rgba(68, 138, 137, 0.4) !important;
}

/* Sortable hover - override rgba(0, 162, 232, 0.1) */
body.buritis-agostiniano .sortable:hover {
  background: rgba(68, 138, 137, 0.1) !important;
}

/* Conteudo item hover - override rgba(0, 162, 232, 0.05) */
body.buritis-agostiniano .conteudo-item:hover {
  border-color: #448A89 !important;
  background: rgba(68, 138, 137, 0.05) !important;
}

/* Topico item hover */
body.buritis-agostiniano .topico-item:hover {
  border-color: #448A89 !important;
  background: rgba(68, 138, 137, 0.05) !important;
}

/* Conteudo header topico hover */
body.buritis-agostiniano .conteudo-header-topico:hover {
  border-color: #448A89 !important;
  background: rgba(68, 138, 137, 0.05) !important;
}

body.buritis-agostiniano .conteudo-header-topico .btn-select-all:hover {
  background: #448A89 !important;
  color: #ffffff !important;
}

/* Btn control hover */
body.buritis-agostiniano .btn-control:hover {
  border-color: #448A89 !important;
  background: #448A89 !important;
  color: #ffffff !important;
}

/* Search input focus */
body.buritis-agostiniano .search-input:focus {
  border-color: #448A89 !important;
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.15) !important;
}

/* Materia card modern hover */
body.buritis-agostiniano .materia-card-modern:hover,
body.buritis-agostiniano .materia-card-modern.selected {
  border-color: #448A89 !important;
}

body.buritis-agostiniano .materia-card-modern::before {
  background: #448A89 !important;
}

/* Fonte option hover */
body.buritis-agostiniano .fonte-option:hover,
body.buritis-agostiniano .fonte-option.active {
  border-color: #448A89 !important;
  background: #448A89 !important;
}

/* Quick option hover */
body.buritis-agostiniano .quick-option:hover,
body.buritis-agostiniano .quick-option.active {
  border-color: #448A89 !important;
}

body.buritis-agostiniano .quick-option::before {
  background: #448A89 !important;
}

/* Custom range slider */
body.buritis-agostiniano .custom-range::-webkit-slider-thumb:hover {
  box-shadow: 0 4px 12px rgba(68, 138, 137, 0.3) !important;
}

/* Config card hover */
body.buritis-agostiniano .config-card:hover {
  border-color: rgba(68, 138, 137, 0.3) !important;
}

/* Btn pagination hover */
body.buritis-agostiniano .btn-pagination:hover:not(:disabled) {
  background: #448A89 !important;
  color: #ffffff !important;
}

/* Page number hover/active */
body.buritis-agostiniano .page-number:hover,
body.buritis-agostiniano .page-number.active {
  background: #448A89 !important;
  color: #ffffff !important;
}

/* Btn next hover */
body.buritis-agostiniano .btn-next:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(68, 138, 137, 0.3) !important;
}

/* Btn generate hover */
body.buritis-agostiniano .btn-generate:hover {
  box-shadow: 0 8px 25px rgba(68, 138, 137, 0.3) !important;
}

/* Keyboard navigable focus */
body.buritis-agostiniano .keyboard-navigable:focus {
  outline: 3px solid #448A89 !important;
}

/* ============================================
   GLOBAL VAR OVERRIDES FOR BURITIS AGOSTINIANO
   ============================================ */
body.buritis-agostiniano {
  --primary: #448A89 !important;
  --primary-color: #448A89 !important;
  --primarycolor: #448A89 !important;
  --main-color: #448A89 !important;
  --primary-light: #EF7C38 !important;
  --primary-dark: #448A89 !important;
  --accent: #EF7C38 !important;
  --accent-light: #EF7C38 !important;
  --focus-border: #448A89 !important;
  --focus-shadow: rgba(68, 138, 137, 0.3) !important;
  --gradient-primary: #448A89 !important;
  --gradient-secondary: #613387 !important;
}

/* ============================================
   ADDITIONAL LINK HOVER STATES
   ============================================ */
body.buritis-agostiniano a {
  color: #448A89;
}

body.buritis-agostiniano a:hover {
  color: #448A89 !important;
}

body.buritis-agostiniano a:focus {
  outline-color: #448A89 !important;
}

/* ============================================
   SELECTION HIGHLIGHT
   ============================================ */
body.buritis-agostiniano ::selection {
  background: rgba(68, 138, 137, 0.3);
  color: #1a1a2e;
}

body.buritis-agostiniano ::-moz-selection {
  background: rgba(68, 138, 137, 0.3);
  color: #1a1a2e;
}

/* ============================================
   OUTLINE FOCUS FOR ACCESSIBILITY
   ============================================ */
body.buritis-agostiniano *:focus-visible {
  outline: 2px solid #448A89 !important;
  outline-offset: 2px;
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */
body.buritis-agostiniano .btn-info:hover,
body.buritis-agostiniano .btn-info:focus {
  background-color: #448A89 !important;
  border-color: #448A89 !important;
}

body.buritis-agostiniano .btn-warning:hover,
body.buritis-agostiniano .btn-warning:focus {
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .btn-danger:hover,
body.buritis-agostiniano .btn-danger:focus {
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .btn-light:hover,
body.buritis-agostiniano .btn-light:focus {
  border-color: #448A89 !important;
}

body.buritis-agostiniano .btn-dark:hover,
body.buritis-agostiniano .btn-dark:focus {
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.2) !important;
}

body.buritis-agostiniano .btn-link:hover,
body.buritis-agostiniano .btn-link:focus {
  color: #448A89 !important;
}


/* ============================================
   BUTTON TEXT COLOR FIX - WHITE TEXT ON DARK BG
   ============================================ */

/* Garantir texto branco em botões com fundo escuro */
body.buritis-agostiniano .btn-primary,
body.buritis-agostiniano .btn-primary:hover,
body.buritis-agostiniano .btn-primary:focus,
body.buritis-agostiniano .btn-primary:active {
  color: #ffffff !important;
}

body.buritis-agostiniano .btn-secondary,
body.buritis-agostiniano .btn-secondary:hover,
body.buritis-agostiniano .btn-secondary:focus {
  color: #ffffff !important;
}

/* Materia card active - texto claro */
body.buritis-agostiniano .materia-card.active,
body.buritis-agostiniano .materia-card.active:hover {
  color: #ffffff !important;
}

body.buritis-agostiniano .materia-card.active .materia-icon,
body.buritis-agostiniano .materia-card.active .materia-name,
body.buritis-agostiniano .materia-card.active i {
  color: #ffffff !important;
}

/* Questao option active - texto branco */
body.buritis-agostiniano .questao-option.active {
  color: #ffffff !important;
}

/* Tipo questao option active - texto claro */
body.buritis-agostiniano .tipo-questao-option.active,
body.buritis-agostiniano .tipo-questao-option:hover {
  color: #ffffff !important;
}

body.buritis-agostiniano .tipo-questao-option.active span,
body.buritis-agostiniano .tipo-questao-option:hover span,
body.buritis-agostiniano .tipo-questao-option.active i,
body.buritis-agostiniano .tipo-questao-option:hover i {
  color: #ffffff !important;
}

/* Quick option active */
body.buritis-agostiniano .quick-option.active,
body.buritis-agostiniano .quick-option:hover {
  color: #ffffff !important;
}

/* Fonte option active */
body.buritis-agostiniano .fonte-option.active,
body.buritis-agostiniano .fonte-option:hover {
  color: #ffffff !important;
}

body.buritis-agostiniano .fonte-option.active .fonte-name,
body.buritis-agostiniano .fonte-option:hover .fonte-name,
body.buritis-agostiniano .fonte-option.active .fonte-desc,
body.buritis-agostiniano .fonte-option:hover .fonte-desc,
body.buritis-agostiniano .fonte-option.active i,
body.buritis-agostiniano .fonte-option:hover i {
  color: #ffffff !important;
}

/* Materia card modern selected */
body.buritis-agostiniano .materia-card-modern.selected,
body.buritis-agostiniano .materia-card-modern:hover {
  color: #ffffff !important;
}

body.buritis-agostiniano .materia-card-modern.selected .materia-name,
body.buritis-agostiniano .materia-card-modern:hover .materia-name {
  color: #ffffff !important;
}

/* Page number active */
body.buritis-agostiniano .page-number.active {
  color: #ffffff !important;
}

/* Btn pagination hover */
body.buritis-agostiniano .btn-pagination:hover:not(:disabled) {
  color: #ffffff !important;
}

/* Btn control hover */
body.buritis-agostiniano .btn-control:hover {
  color: #ffffff !important;
}

/* Badge primary */
body.buritis-agostiniano .badge.bg-primary {
  color: #ffffff !important;
}

/* List group item active */
body.buritis-agostiniano .list-group-item.active {
  color: #ffffff !important;
}

/* Dropdown item active */
body.buritis-agostiniano .dropdown-item.active,
body.buritis-agostiniano .dropdown-item:active {
  color: #ffffff !important;
}

/* Nav item keyboard focused */
body.buritis-agostiniano .nav-item.keyboard-focused {
  color: #ffffff !important;
}

/* Btn generate */
body.buritis-agostiniano .btn-generate,
body.buritis-agostiniano .btn-generate:hover {
  color: #ffffff !important;
}

/* Btn next */
body.buritis-agostiniano .btn-next,
body.buritis-agostiniano .btn-next:hover {
  color: #ffffff !important;
}

/* Selected subject item */
body.buritis-agostiniano .selected-subject-item {
  background: #448A89 !important;
  color: #ffffff !important;
}

/* Autonoma materia card active checkmark */
body.buritis-agostiniano #autonomaMateriasGrid .materia-card.active::after {
  background: #EF7C38 !important;
  color: #ffffff !important;
}


/* ============================================
   REDACOES PAGE - UPLOAD BUTTON FIX
   ============================================ */

body.buritis-agostiniano .upload-button,
body.buritis-agostiniano #upload-button {
  background-color: #448A89 !important;
  background: #448A89 !important;
  color: #ffffff !important;
  border-color: #448A89 !important;
}

body.buritis-agostiniano .upload-button:hover,
body.buritis-agostiniano #upload-button:hover {
  background: #448A89 !important;
  color: #ffffff !important;
}

body.buritis-agostiniano #redacao-button {
  background-color: #448A89 !important;
  color: #ffffff !important;
}

body.buritis-agostiniano #redacao-button:hover {
  background-color: #448A89 !important;
}

/* Tema text color */
body.buritis-agostiniano #tema-text {
  color: #448A89 !important;
}

/* Any cyan/blue buttons override */
body.buritis-agostiniano button[style*="background-color: #00a2e8"],
body.buritis-agostiniano button[style*="background: #00a2e8"],
body.buritis-agostiniano [style*="background-color: #00a2e8"],
body.buritis-agostiniano [style*="background: #00a2e8"] {
  background-color: #448A89 !important;
  background: #448A89 !important;
}

/* Override any inline cyan colors */
body.buritis-agostiniano [style*="color: #00a2e8"] {
  color: #448A89 !important;
}

/* Btn with bg-primary class */
body.buritis-agostiniano .bg-primary {
  background-color: #448A89 !important;
}

body.buritis-agostiniano .bg-info {
  background-color: #448A89 !important;
}

/* Text primary */
body.buritis-agostiniano .text-primary {
  color: #448A89 !important;
}

body.buritis-agostiniano .text-info {
  color: #448A89 !important;
}

/* Border primary */
body.buritis-agostiniano .border-primary {
  border-color: #448A89 !important;
}

/* Any button with primary styling */
body.buritis-agostiniano button.btn-primary,
body.buritis-agostiniano a.btn-primary,
body.buritis-agostiniano input.btn-primary,
body.buritis-agostiniano .btn.btn-primary {
  background: #448A89 !important;
  border-color: #448A89 !important;
  color: #ffffff !important;
}

body.buritis-agostiniano button.btn-primary:hover,
body.buritis-agostiniano a.btn-primary:hover,
body.buritis-agostiniano input.btn-primary:hover,
body.buritis-agostiniano .btn.btn-primary:hover {
  background: #448A89 !important;
  border-color: #448A89 !important;
  color: #ffffff !important;
}

/* Btn info override */
body.buritis-agostiniano .btn-info {
  background-color: #448A89 !important;
  border-color: #448A89 !important;
  color: #ffffff !important;
}

body.buritis-agostiniano .btn-info:hover {
  background-color: #448A89 !important;
  border-color: #448A89 !important;
}


/* ============================================
   TURMA PAGE - COMPLETE OVERRIDE
   ============================================ */

/* Override turma.css variables */
body.buritis-agostiniano {
  --primary-blue: #448A89 !important;
  --primary-blue-dark: #448A89 !important;
  --primary-blue-light: #EF7C38 !important;
}

/* Turma title */
body.buritis-agostiniano .turma-title,
body.buritis-agostiniano .turma-header h1 {
  color: #448A89 !important;
}

/* Stat cards icons */
body.buritis-agostiniano .stat-icon,
body.buritis-agostiniano .stat-card .stat-icon {
  background: #448A89 !important;
}

/* Access code card */
body.buritis-agostiniano .access-code-card {
  background: #448A89 !important;
}

/* Search input focus */
body.buritis-agostiniano .search-input:focus {
  border-color: #448A89 !important;
  box-shadow: 0 0 0 3px rgba(68, 138, 137, 0.1) !important;
}

/* Student card hover */
body.buritis-agostiniano .student-card:hover {
  border-color: #448A89 !important;
}

body.buritis-agostiniano .student-card:hover::before {
  background: #448A89 !important;
}

body.buritis-agostiniano .student-card:hover .student-actions {
  color: #448A89 !important;
}

/* Student avatar */
body.buritis-agostiniano .student-avatar {
  background: #448A89 !important;
}

/* Activity card hover */
body.buritis-agostiniano .activity-card:hover {
  border-color: #448A89 !important;
}

body.buritis-agostiniano .activity-card:hover::before {
  background: #448A89 !important;
}

/* Nav tabs active */
body.buritis-agostiniano .nav-tabs .nav-link.active {
  border-color: #448A89 !important;
  color: #448A89 !important;
}

body.buritis-agostiniano .nav-tabs .nav-link:hover {
  color: #448A89 !important;
}

/* Btn add student */
body.buritis-agostiniano .btn-add-student,
body.buritis-agostiniano .btn-primary-gradient {
  background: #448A89 !important;
  color: #ffffff !important;
}

body.buritis-agostiniano .btn-add-student:hover,
body.buritis-agostiniano .btn-primary-gradient:hover {
  background: #448A89 !important;
}

/* Aviso card hover */
body.buritis-agostiniano .aviso-card:hover {
  border-color: #448A89 !important;
}

body.buritis-agostiniano .aviso-card:hover::before {
  background: #448A89 !important;
}

/* Attachment item hover */
body.buritis-agostiniano .attachment-item:hover {
  border-color: #448A89 !important;
}

/* Remove border from prova selector pill (Lista Adaptavel area) */
body.buritis-agostiniano .prova-selector .selector-bg {
  border: none;
  box-shadow: none;
}

body.buritis-agostiniano .prova-option {
  border: none;
}

/* Attachment item default state - avoid transparent look */
body.buritis-agostiniano .attachment-item {
  background: #ffffff !important;
  backdrop-filter: none !important;
  border: 1px solid #dfe3e8 !important;
}

/* Buritis: page titles in tertiary color */
body.buritis-agostiniano .page-title,
body.buritis-agostiniano .title-gradient {
  color: #EF7C38 !important;
  background: #EF7C38 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Buritis: Fonte das Questoes hover in tertiary orange */
body.buritis-agostiniano .fonte-option:hover {
  border-color: #EF7C38 !important;
  background: #EF7C38 !important;
}

body.buritis-agostiniano .fonte-option:hover .fonte-name,
body.buritis-agostiniano .fonte-option:hover .fonte-desc,
body.buritis-agostiniano .fonte-option:hover i {
  color: #ffffff !important;
}

/* Buritis: wizard subtitles in secondary purple */
body.buritis-agostiniano .step-header p {
  color: #613387;
}

/* Buritis: Fonte das Questoes active + hover in tertiary orange */
body.buritis-agostiniano .fonte-option.active,
body.buritis-agostiniano .fonte-option:hover {
  border-color: #EF7C38 !important;
  background: #EF7C38 !important;
}

body.buritis-agostiniano .fonte-option.active .fonte-name,
body.buritis-agostiniano .fonte-option.active .fonte-desc,
body.buritis-agostiniano .fonte-option.active i,
body.buritis-agostiniano .fonte-option:hover .fonte-name,
body.buritis-agostiniano .fonte-option:hover .fonte-desc,
body.buritis-agostiniano .fonte-option:hover i {
  color: #ffffff !important;
}

/* Buritis: wizard main title in secondary purple (solid, no gradient) */
body.buritis-agostiniano .step-header h2 {
  background: none !important;
  color: #613387 !important;
  -webkit-text-fill-color: #613387 !important;
}

/* Buritis: historico/simulados section titles in secondary purple */
body.buritis-agostiniano .historico-title {
  background: none !important;
  color: #613387 !important;
  -webkit-text-fill-color: #613387 !important;
}

body.buritis-agostiniano .section-header-content .historico-icon {
  color: #613387 !important;
}

/* ============================================
   PROFESSOR CRIAR QUESTAO - BUTTON TEXT FIX
   ============================================ */
body.buritis-agostiniano .qc-btn,
body.buritis-agostiniano a.qc-btn,
body.buritis-agostiniano button.qc-btn {
  color: #415a77 !important;
  background: #ffffff !important;
  border-color: #dfe7f1 !important;
}

body.buritis-agostiniano .qc-btn:hover,
body.buritis-agostiniano a.qc-btn:hover,
body.buritis-agostiniano button.qc-btn:hover,
body.buritis-agostiniano .qc-btn:focus,
body.buritis-agostiniano a.qc-btn:focus,
body.buritis-agostiniano button.qc-btn:focus {
  color: #448A89 !important;
  background: #f8fafc !important;
  border-color: #448A89 !important;
}

body.buritis-agostiniano .qc-btn.primary,
body.buritis-agostiniano a.qc-btn.primary,
body.buritis-agostiniano button.qc-btn.primary,
body.buritis-agostiniano .qc-btn.primary:hover,
body.buritis-agostiniano a.qc-btn.primary:hover,
body.buritis-agostiniano button.qc-btn.primary:hover,
body.buritis-agostiniano .qc-btn.primary:focus,
body.buritis-agostiniano a.qc-btn.primary:focus,
body.buritis-agostiniano button.qc-btn.primary:focus {
  color: #ffffff !important;
  background: #448A89 !important;
  border-color: #448A89 !important;
}

/* ============================================
   SIDEBAR TOGGLE - BURITIS (INVERTED COLORS)
   ============================================ */
body.buritis-agostiniano .modern-sidebar .sidebar-toggle,
body.buritis-agostiniano .sidebar-toggle {
  background: #EF7C38 !important;
  border-color: #EF7C38 !important;
}

body.buritis-agostiniano .modern-sidebar .sidebar-toggle i,
body.buritis-agostiniano .modern-sidebar .sidebar-toggle .toggle,
body.buritis-agostiniano .sidebar-toggle i,
body.buritis-agostiniano .sidebar-toggle .toggle {
  color: #448A89 !important;
}

body.buritis-agostiniano .modern-sidebar .sidebar-toggle:hover,
body.buritis-agostiniano .modern-sidebar .sidebar-toggle:focus,
body.buritis-agostiniano .sidebar-toggle:hover,
body.buritis-agostiniano .sidebar-toggle:focus {
  background: #EF7C38 !important;
  border-color: #EF7C38 !important;
}

body.buritis-agostiniano .modern-sidebar .sidebar-toggle:hover i,
body.buritis-agostiniano .modern-sidebar .sidebar-toggle:focus i,
body.buritis-agostiniano .modern-sidebar .sidebar-toggle:hover .toggle,
body.buritis-agostiniano .modern-sidebar .sidebar-toggle:focus .toggle,
body.buritis-agostiniano .sidebar-toggle:hover i,
body.buritis-agostiniano .sidebar-toggle:focus i,
body.buritis-agostiniano .sidebar-toggle:hover .toggle,
body.buritis-agostiniano .sidebar-toggle:focus .toggle {
  color: #448A89 !important;
}

  
.question-number {
  font-weight: bold;
  font-size: 0.85rem;
  line-height: 1;
  color: #448A89 !important;
}