* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --azul: #003366;
  --vermelho: #cc0000;
  --amarelo: #ffcc00;
  --branco: #ffffff;
  --roxo1: #8e2de2;
  --roxo2: #4a00e0;
  --cinza-claro: #f5f7fa;
  --cinza-escuro: #2c3e50;
  --texto-claro: #333;
  --texto-escuro: #f0f0f0;
  --fundo-claro: linear-gradient(135deg, #e0f2ff, #ffffff);
  --fundo-escuro: linear-gradient(135deg, #1a1a2e, #16213e);
  --card-claro: #ffffff;
  --card-escuro: #202040;
  --sombra-clara: rgba(0, 0, 0, 0.1);
  --sombra-escura: rgba(0, 0, 0, 0.3);
}

html, body {
  height: 100%;
  background: var(--fundo-claro);
  background-attachment: fixed;
  color: var(--texto-claro);
  scroll-behavior: smooth;
  overflow-x: hidden;
  line-height: 1.6;
  transition: all 0.3s ease;
}

body.dark {
  background: var(--fundo-escuro);
  color: var(--texto-escuro);
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  background: var(--card-claro);
  border-radius: 20px;
  box-shadow: 0 12px 25px var(--sombra-clara);
  overflow: hidden;
  transition: all 0.3s ease;
}

body.dark .container {
  background: var(--card-escuro);
  box-shadow: 0 12px 25px var(--sombra-escura);
}

/* HEADER MELHORADO */
header.container {
  background: linear-gradient(135deg, var(--azul), #004080);
  padding: 25px 0 15px;
  text-align: center;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
  position: relative;
  border-bottom: 3px solid var(--amarelo);
}

.logo-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.logo-img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  background: var(--amarelo);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #ffffff, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* MENU SUPER MELHORADO */
.menu-flutuante {
  position: absolute;
  top: 25px;
  right: 25px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.2));
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  z-index: 100;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-flutuante:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.3));
  transform: scale(1.1) rotate(90deg);
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  display: none;
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0.15));
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.nav-menu.open {
  display: block;
  animation: slideDown 0.4s ease;
}

.menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  padding: 0;
  margin: 0;
}

.menu li {
  width: 100%;
  text-align: center;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 16px 25px;
  border-radius: 12px;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.1));
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.menu a::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;
}

.menu a:hover::before {
  left: 100%;
}

.menu a:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.2));
  transform: translateX(8px) scale(1.02);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.menu a i {
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.menu a:hover i {
  transform: scale(1.2);
}

/* Efeito específico para cada item do menu */
.menu li:nth-child(1) a {
  background: linear-gradient(135deg, rgba(74, 0, 224, 0.3), rgba(142, 45, 226, 0.2));
}

.menu li:nth-child(1) a:hover {
  background: linear-gradient(135deg, rgba(74, 0, 224, 0.5), rgba(142, 45, 226, 0.4));
}

.menu li:nth-child(2) a {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.3), rgba(0, 153, 255, 0.2));
}

.menu li:nth-child(2) a:hover {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.5), rgba(0, 153, 255, 0.4));
}

/* MAIN CONTENT */
main {
  padding: 40px;
  animation: fadeIn 0.8s ease;
  min-height: 60vh;
}

main h1 {
  font-size: 1.8rem;
  color: var(--azul);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

body.dark main h1 {
  color: var(--texto-escuro);
}

/* FORMULÁRIOS */
.input-icon-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.input-icon-wrapper i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #666;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  z-index: 2;
}

body.dark .input-icon-wrapper i {
  color: #bdc3c7;
}

input, select {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  background-color: #fafafa;
  transition: 0.3s ease;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

body.dark input, 
body.dark select {
  background: #2a2a3a;
  color: var(--texto-escuro);
  border-color: #444;
}

input:focus, select:focus {
  border-color: var(--roxo1);
  box-shadow: 0 0 8px rgba(142, 45, 226, 0.3);
  outline: none;
  background: white;
}

body.dark input:focus,
body.dark select:focus {
  background: #333344;
}

input::placeholder {
  color: #999;
  font-family: 'Poppins', sans-serif;
}

body.dark input::placeholder {
  color: #aaa;
}

button {
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--roxo1), var(--roxo2));
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(142, 45, 226, 0.3);
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

button::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.5s ease;
}

button:hover::before {
  left: 100%;
}

button:hover {
  background: linear-gradient(135deg, #7a1de2, #5a00e0);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(142, 45, 226, 0.4);
}

button:active {
  transform: scale(0.98);
}

/* LINKS E TEXTOS */
p {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}

body.dark p {
  color: #bdc3c7;
}

a {
  color: var(--roxo1);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--roxo2);
  text-decoration: underline;
}

body.dark a {
  color: #a78bfa;
}

body.dark a:hover {
  color: #7e57c2;
}

/* RESULTADO */
.resultado {
  margin-top: 25px;
  padding: 25px;
  border-radius: 12px;
  background: #f8f9fa;
  border-left: 5px solid var(--roxo1);
  animation: fadeIn 0.5s ease;
}

body.dark .resultado {
  background: #2c3e50;
}

.resultado.aprovado {
  background: #e8f5e8;
  border-left-color: #4caf50;
}

.resultado.reprovado {
  background: #ffebee;
  border-left-color: #f44336;
}

body.dark .resultado.aprovado {
  background: #1b5e20;
  border-left-color: #66bb6a;
}

body.dark .resultado.reprovado {
  background: #b71c1c;
  border-left-color: #ef5350;
}

.resultado h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  text-align: center;
  color: #333;
}

body.dark .resultado h3 {
  color: #f0f0f0;
}

.resultado p {
  margin: 10px 0;
  text-align: left;
  color: #555;
}

body.dark .resultado p {
  color: #ddd;
}

.aprovado-text {
  color: #2e7d32;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 15px !important;
  text-align: center !important;
}

.reprovado-text {
  color: #c62828;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 15px !important;
  text-align: center !important;
}

body.dark .aprovado-text {
  color: #81c784;
}

body.dark .reprovado-text {
  color: #ef9a9a;
}

/* USUÁRIO LOGADO */
.usuario-logado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f5f0ff, #e3f2fd);
  color: #5e35b1;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1f5fe;
  font-size: 1.1rem;
}

body.dark .usuario-logado {
  background: linear-gradient(135deg, #2a2a4a, #1a237e);
  color: #b39ddb;
  border-color: #283593;
}

.botao-sair {
  background: white;
  color: #5e35b1;
  font-weight: bold;
  border: 2px solid #5e35b1;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.9rem;
  width: auto;
  min-width: 120px;
  font-family: 'Poppins', sans-serif;
}

body.dark .botao-sair {
  background: #3a3a5a;
  color: #b39ddb;
  border-color: #b39ddb;
}

.botao-sair:hover {
  background: #5e35b1;
  color: white;
  transform: translateY(-2px);
}

body.dark .botao-sair:hover {
  background: #b39ddb;
  color: #2a2a4a;
}

/* MENSAGENS */
.mensagem {
  position: fixed;
  top: 25px;
  right: 25px;
  padding: 18px 24px;
  border-radius: 12px;
  color: white;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.4s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  font-weight: 500;
  font-size: 0.95rem;
}

.mensagem.sucesso {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-left: 5px solid #2ecc71;
}

.mensagem.erro {
  background: linear-gradient(135deg, #e74c3c, #ff6b6b);
  border-left: 5px solid #ff6b6b;
}

/* BOTÃO TEMA */
.btn-tema {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--amarelo);
  color: var(--azul);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-tema:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ESTADOS */
.hidden {
  display: none !important;
}

/* ANIMAÇÕES MELHORADAS */
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .container {
    margin: 10px;
    border-radius: 15px;
  }
  
  header.container {
    padding: 20px 15px;
  }
  
  .logo-img {
    height: 70px;
    width: 70px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  main {
    padding: 25px;
  }
  
  .menu-flutuante {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .usuario-logado {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 15px;
  }
  
  .botao-sair {
    width: 100%;
    min-width: auto;
  }
  
  .menu a {
    padding: 14px 20px;
    font-size: 1rem;
    justify-content: center;
  }
  
  .nav-menu {
    padding: 15px;
  }
  
  .mensagem {
    left: 15px;
    right: 15px;
    max-width: none;
    top: 15px;
    padding: 15px 20px;
  }
  
  .btn-tema {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  input, select {
    padding: 14px 16px 14px 45px;
    font-size: 15px;
  }
  
  button {
    padding: 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 20px 15px;
  }
  
  main h1 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 8px;
  }
  
  .logo-titulo {
    flex-direction: column;
    gap: 10px;
  }
  
  .logo-img {
    height: 60px;
    width: 60px;
  }
  
  header h1 {
    font-size: 1.8rem;
  }
  
  p {
    font-size: 0.95rem;
    margin-top: 15px;
  }
  
  .input-icon-wrapper {
    margin-bottom: 15px;
  }
  
  .menu a {
    padding: 12px 15px;
    font-size: 0.95rem;
    gap: 10px;
  }
  
  .menu a i {
    font-size: 1.1rem;
  }
}




/* ===== TABELA NOTAS ===== */
.tabela-wrapper {
  width: 100%;
  overflow-x: auto; /* ativa scroll lateral */
}

.tabela-notas {
  width: 100%;
  min-width: 950px; /* força barra de rolagem se a tela for menor */
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.tabela-notas thead {
  background: #003366;
  color: white;
  text-align: center;
  font-weight: 600;
}

.tabela-notas th, .tabela-notas td {
  padding: 12px 15px;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid #ddd;
  white-space: nowrap; /* evita quebra feia */
}

.tabela-notas tbody tr:hover {
  background: rgba(0,0,0,0.03);
}

.tabela-notas .aprovado {
  background: #2e7d32;
  color: #fff;
  font-weight: 600;
}

.tabela-notas .reprovado {
  background: #c62828;
  color: #fff;
  font-weight: 600;
}

.info-sistema {
  background: #002b5c;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}





.btn-excel {
  background-color: #217346;
  color: white;
}

.btn-excel:hover {
  background-color: #1a5c38;
}







/* ===== ESTATÍSTICAS MELHORADAS ===== */
.estatisticas {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8faff, #ffffff);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(0, 51, 102, 0.1);
}

body.dark .estatisticas {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.estatisticas h3 {
    text-align: center;
    margin-bottom: 35px;
    color: #003366;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.estatisticas h3 i {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5em;
}

body.dark .estatisticas h3 {
    color: #f0f0f0;
}

.estatisticas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* AGORA SÃO 3 COLUNAS */
    gap: 25px;
    margin-bottom: 40px;
}

.estatistica-item {
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
    color: #003366;
    padding: 30px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 51, 102, 0.1);
}

body.dark .estatistica-item {
    background: linear-gradient(135deg, #202040, #25254d);
    color: #f0f0f0;
    border-color: rgba(255, 255, 255, 0.1);
}

.estatistica-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.estatistica-item:hover::before {
    left: 100%;
}

.estatistica-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.25);
}

.estatistica-item .icone {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.estatistica-item .valor {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #003366, #004080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

body.dark .estatistica-item .valor {
    background: linear-gradient(135deg, #ffcc00, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.estatistica-item .rotulo {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #666;
}

body.dark .estatistica-item .rotulo {
    color: #bdc3c7;
}

/* Cores específicas para cada estatística com ícones */
.estatistica-item:nth-child(1) .icone {
    color: #003366;
}
.estatistica-item:nth-child(1):hover {
    border-color: #003366;
}

.estatistica-item:nth-child(2) .icone {
    color: #cc0000;
}
.estatistica-item:nth-child(2):hover {
    border-color: #cc0000;
}

.estatistica-item:nth-child(3) .icone {
    color: #2e7d32;
}
.estatistica-item:nth-child(3):hover {
    border-color: #2e7d32;
}

.estatistica-item:nth-child(4) .icone {
    color: #c62828;
}
.estatistica-item:nth-child(4):hover {
    border-color: #c62828;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .estatisticas {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .estatisticas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .estatistica-item {
        padding: 25px 20px;
    }
    
    .estatistica-item .valor {
        font-size: 2.5rem;
    }
    
    .estatistica-item .icone {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .estatisticas-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .estatistica-item {
        padding: 20px 15px;
    }
    
    .estatistica-item .valor {
        font-size: 2.2rem;
    }
}












/* Estilos para mensagens flutuantes */
.mensagem-flutuante {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mensagem-flutuante.show {
  transform: translateX(0);
}

.mensagem-flutuante.sucesso {
  background: #10b981;
  border-left: 4px solid #059669;
}

.mensagem-flutuante.erro {
  background: #ef4444;
  border-left: 4px solid #dc2626;
}

.mensagem-flutuante i {
  font-size: 1.2em;
}

/* Estilo para a informação da sala */
.sala-info {
  background: rgba(110, 69, 226, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  margin-left: 10px;
  border: 1px solid rgba(110, 69, 226, 0.3);
  color: #6e45e2;
  font-weight: 500;
}

/* No tema escuro */
body.dark .sala-info {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Responsividade para a informação do usuário */
.usuario-logado {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .sala-info {
    margin-left: 0;
    margin-top: 5px;
  }
  
  .mensagem-flutuante {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .usuario-logado {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Estilos para resultados */
.resultado-sucesso {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.notas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.nota-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.media-final {
  background: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

.nota-label {
  font-weight: 500;
}

.nota-valor {
  font-weight: bold;
}







