/* =========================================
   1. Variáveis e Reset Global
   ========================================= */
:root {
  --bg-color: #0f0c29;
  --bg-gradient: linear-gradient(to right, #24243e, #302b63, #0f0c29);
  --primary-color: #7b2cbf; /* Roxo principal */
  --accent-color: #00d4ff; /* Azul Ciano Neon */
  --text-color: #ffffff;
  --text-muted: #a0a0a0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(0, 0, 0, 0.3);
  --error-color: #ff4757;

  /* Fontes */
  --font-main: "Urbanist", sans-serif;
  --font-display: "Uncage-Bold", "Gilroy-Bold", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--text-color);
  height: 100vh;
  overflow: auto; /* Impede rolagem indesejada */
  position: relative;
}

/* =========================================
   2. Background Animado (Orbs)
   ========================================= */
.login-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Fica atrás de tudo */
  overflow: hidden;
}

.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px); /* O segredo do efeito neon difuso */
  opacity: 0.6;
  animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  bottom: -50px;
  right: -50px;
  animation-delay: -2s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: #ff00de; /* Um rosa para contraste */
  top: 40%;
  left: 40%;
  opacity: 0.4;
  animation-duration: 15s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 50px);
  }
}

/* =========================================
   3. Container de Login Centralizado
   ========================================= */
.login-container {
  position: relative;
  z-index: 10; /* Fica acima dos orbs */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

/* =========================================
   4. Cartão com Efeito Glassmorphism
   ========================================= */
.login-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px); /* O efeito de vidro */
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  text-align: center;
  transition: transform 0.3s ease;
}

.login-card:hover {
  box-shadow: 0 10px 40px 0 rgba(123, 44, 191, 0.2); /* Brilho roxo suave */
}

/* =========================================
   5. Tipografia e Logo
   ========================================= */
.logo-area {
  margin-bottom: 1.5rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 2px;
  font-weight: 900;
}

.logo-text span {
  color: var(--accent-color);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.login-headings {
  margin-bottom: 2rem;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================
   6. Alertas de Erro
   ========================================= */
.alert-error {
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid var(--error-color);
  color: #ffcccb;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

/* =========================================
   7. Campos de Formulário (Inputs)
   ========================================= */
.input-group {
  position: relative;
  margin-bottom: 1.2rem;
}

.input-field {
  width: 100%;
  padding: 15px 15px 15px 45px; /* Espaço para o ícone */
  background: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-color);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.input-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-field:focus {
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.input-field:focus + .input-icon {
  color: var(--accent-color);
}

/* =========================================
   8. Botão Principal
   ========================================= */
.btn-login {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-color), #5a189a);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(123, 44, 191, 0.4);
}

.btn-login:active {
  transform: translateY(0);
}

/* =========================================
   9. Rodapé
   ========================================= */
.login-footer {
  margin-top: 2rem;
  font-size: 0.9rem;
}

.login-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.login-footer a:hover {
  color: var(--accent-color);
}

/* =========================================
   10. Responsividade
   ========================================= */
@media (max-width: 480px) {
  .login-card {
    padding: 2rem;
  }

  .logo-text {
    font-size: 2.5rem;
  }
}
/* =========================================
   11. ESTILOS DO DASHBOARD (HUB)
   ========================================= */

/* Fundo fixo para o Hub */
.fixed-bg {
  position: fixed;
  z-index: -1;
}

/* Navbar de Vidro */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(15, 12, 41, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.sm-logo {
  font-size: 1.8rem;
  margin: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Perfil e Usuário */
.user-profile-area {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
  text-align: right;
  display: none; /* Esconde em mobile */
}

@media (min-width: 768px) {
  .user-info {
    display: block;
  }
}

.user-info h4 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-color);
}

.user-info span {
  font-size: 0.75rem;
  color: var(--accent-color);
  letter-spacing: 1px;
}

.nav-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--accent-color), #2980b9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-logout {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: 0.3s;
}

.btn-logout:hover {
  color: var(--error-color);
  transform: scale(1.1);
}

/* =========================================
   12. GRID DE APLICATIVOS (CARDS)
   ========================================= */
.dashboard-container {
  padding: 120px 20px 50px 20px; /* Margem topo por causa da nav fixa */
  max-width: 1400px;
  margin: 0 auto;
}

.welcome-section {
  margin-bottom: 3rem;
}

.welcome-section h2 {
  font-size: 2.5rem;
  font-weight: 300;
}

.highlight-name {
  color: var(--primary-color);
  font-weight: 700;
}

.welcome-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* Design do Cartão do App */
.app-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Efeito de brilho interno ao passar o mouse */
.card-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  filter: blur(60px);
  border-radius: 50%;
  top: -20px;
  left: -20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.app-card:hover .card-glow {
  opacity: 0.4;
}

.app-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.app-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  transition: 0.3s;
  z-index: 1;
}

.app-card:hover .app-icon {
  color: var(--accent-color);
  transform: scale(1.1);
}

.card-health:hover .app-icon {
  color: #ff4757;
}

.app-info {
  z-index: 1;
}

.app-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.app-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Status Badge */
.app-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
}

.status-active {
  border-color: #00ff88;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

.status-soon {
  border-color: #ffa502;
  color: #ffa502;
  background: rgba(255, 165, 2, 0.1);
}

/* =========================================
   13. NOTIFICAÇÕES (Dropdown)
   ========================================= */
.notification-wrapper {
  position: relative;
}

.btn-bell {
  position: relative;
  font-size: 1.4rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 10px;
  transition: 0.3s;
}

.btn-bell:hover {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-color);
}

.badge-count {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--error-color);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #1a1a2e;
  animation: bounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notif-dropdown {
  position: absolute;
  top: 60px;
  right: -20px;
  width: 350px;
  background: #1a1a2e;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.notif-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notif-header {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
}

.clear-btn {
  font-size: 0.75rem;
  color: var(--primary-color);
  cursor: pointer;
}

.notif-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
}

.loading-text,
.empty-state {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animações de Entrada */
.fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}
.fade-in-up {
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================
   14. ESTILOS PROJETO SAÚDE (Q-SAÚDE)
   ========================================= */
.health-sidebar {
  width: 350px;
  position: sticky; /* O SEGREDO: Faz a sidebar "grudar" ao rolar */
  top: 100px; /* Distância do topo (abaixo da navbar) */
  flex-shrink: 0;
}
.health-feed {
  flex-grow: 1; /* Ocupa o resto do espaço */
  min-width: 0; /* Evita quebra de layout com imagens grandes */
}
.health-layout {
  display: grid;
  grid-template-columns: 350px 1fr; /* Coluna fixa esquerda, resto flexível */
  gap: 30px;
  align-items: start;
}

/* Responsivo: vira uma coluna só no celular */
/* Responsivo para celular */
@media (max-width: 900px) {
  .health-layout {
    flex-direction: column;
  }
  .health-sidebar {
    width: 100%;
    position: relative; /* No celular não fica fixo */
    top: 0;
  }
}

/* =========================================
   BOTÃO VOLTAR (DESIGN PREMIUM)
   ========================================= */
.btn-back {
  display: inline-flex; /* Alinha ícone e texto perfeitamente */
  align-items: center;
  gap: 10px; /* Espaço entre a seta e o texto */
  padding: 10px 24px; /* Tamanho confortável para clicar */

  /* Estilo Vidro Dark */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px; /* Formato Pílula (Super moderno) */

  /* Texto */
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;

  /* Transição Suave */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Efeito ao passar o mouse */
.btn-back:hover {
  background: var(--primary-color); /* Fica Magenta */
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4); /* Glow Neon */
  transform: translateX(
    -5px
  ); /* Move levemente para a esquerda (efeito de voltar) */
}

/* Animação específica na setinha (ícone) */
.btn-back i {
  transition: transform 0.3s ease;
}

.btn-back:hover i {
  transform: translateX(-3px); /* A seta recua um pouco mais para dar ênfase */
}

/* Cartões Gerais */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

/* Dica do Dia */
.tip-card {
  border-left: 4px solid #f1c40f; /* Amarelo */
  background: linear-gradient(to right, rgba(241, 196, 15, 0.05), transparent);
}

.tip-header {
  font-weight: 700;
  color: #f1c40f;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.tip-content {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Gráfico */
.chart-card h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.meta-info {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-info div {
  display: flex;
  flex-direction: column;
}

.meta-info span {
  font-size: 0.8rem;
  color: #aaa;
}

.btn-update-weight {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  background: transparent;
  border: 1px solid #ff4757;
  color: #ff4757;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-update-weight:hover {
  background: #ff4757;
  color: white;
}

/* Banner IA */
.ai-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #2980b9, #6dd5fa); /* Azul Tech */
  padding: 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s;
  color: white;
}

.ai-banner:hover {
  transform: scale(1.02);
}

.ai-icon {
  font-size: 2rem;
}
.ai-text h4 {
  margin: 0;
  font-weight: 800;
}
.ai-text p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* FEED DE NOTÍCIAS */
.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.btn-new-post {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
}

.create-post-box .post-input-wrapper {
  display: flex;
  gap: 15px;
  align-items: center;
}

.input-transparent {
  background: transparent;
  border: none;
  color: white;
  width: 100%;
  outline: none;
}

.avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Post Style */
.feed-post {
  padding: 0;
  overflow: hidden;
}

.post-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-details {
  display: flex;
  gap: 10px;
  align-items: center;
}

.user-details span {
  font-size: 0.75rem;
  color: #aaa;
  display: block;
}

.post-body {
  padding: 0 15px 15px 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.post-image-placeholder {
  margin-top: 10px;
  width: 100%;
  height: 200px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  border: 1px dashed #555;
}

.post-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  display: flex;
  gap: 20px;
}

.action-btn {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.action-btn.active {
  color: #ff4757;
}
.action-btn:hover {
  color: white;
}

/* MODAL IA */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  background: #1a1a2e;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.chips-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.chip {
  padding: 8px 15px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
}

.chip.selected {
  background: var(--accent-color);
  color: #000;
  font-weight: bold;
  border-color: var(--accent-color);
}

.select-custom {
  margin-top: 5px;
  background: rgba(0, 0, 0, 0.3);
  color: #aaa;
  border: 1px solid var(--glass-border);
  padding: 10px;
  border-radius: 8px;
  width: 100%;
}
/* Notificação Item - Design Final */
.notif-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
  cursor: pointer;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notif-item.unread {
  background: rgba(123, 44, 191, 0.15); /* Fundo roxo suave para não lidas */
  border-left: 3px solid var(--primary-color);
}

.notif-avatar {
  width: 32px;
  height: 32px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
}

.notif-content p {
  font-size: 0.85rem;
  color: #eee;
  margin: 0;
  line-height: 1.3;
}

.notif-content span {
  font-size: 0.7rem;
  color: #888;
}

.notif-icon-side {
  margin-left: auto;
  font-size: 0.9rem;
}
/* Estilo para os Chips de Seleção da IA */
.chips-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.chip {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.3s;
  background: rgba(0, 0, 0, 0.3);
  color: #aaa;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.chip.selected {
  background: var(--accent-color); /* Azul Neon */
  color: #000;
  font-weight: bold;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}
/* =========================================
   BOTÃO FLUTUANTE "GUIA DO CORPO"
   ========================================= */
.floating-help-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary-color); /* Magenta */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.4);
  z-index: 999;
  transition: transform 0.3s;
  animation: pulse-magenta 2s infinite;
}

.floating-help-btn:hover {
  transform: scale(1.1);
}

@keyframes pulse-magenta {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 0, 127, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 127, 0);
  }
}

/* Estilo do Conteúdo Educativo dentro do Modal */
.edu-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.edu-section {
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
  border-left: 3px solid var(--accent-color);
}

.edu-section h4 {
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.edu-section p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

.highlight-term {
  color: var(--accent-color);
  font-weight: bold;
}
/* =========================================
   TOOLTIP CUSTOMIZADO (CSS PURO)
   ========================================= */
.tooltip-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.info-icon {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
  cursor: help;
  transition: all 0.3s;
}

.info-icon:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

/* O Texto do Tooltip */
.tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.95);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 10px;
  position: absolute;
  z-index: 100;
  bottom: 125%; /* Fica acima do ícone */
  left: 50%;
  margin-left: -100px; /* Centraliza */
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s;
  font-size: 0.75rem;
  font-weight: normal;
  border: 1px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  pointer-events: none; /* Evita travar o mouse */
}

/* Seta do Tooltip */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
}

/* Mostra ao passar o mouse */
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  bottom: 140%; /* Sobe um pouquinho na animação */
}
/* =========================================
   CORREÇÃO DO MODAL E FORMULÁRIOS
   ========================================= */

/* Força o fundo escuro e texto branco nos inputs */
.input-field {
  background: rgba(20, 20, 20, 0.6) !important; /* Fundo escuro translúcido */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important; /* Texto branco */
  padding-left: 45px; /* Espaço para o ícone */
}

.input-field:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

/* Correção específica para o SELECT (Dropdown) */
select.input-field {
  appearance: none; /* Remove a seta padrão feia do navegador */
  -webkit-appearance: none;
  cursor: pointer;
}

/* Cor das opções dentro do dropdown (Navegadores não suportam transparência aqui) */
select.input-field option {
  background-color: #1a1a2e; /* Fundo sólido escuro para a lista */
  color: white;
  padding: 10px;
}

/* Ícone dentro do input */
.input-group i {
  z-index: 10; /* Garante que o ícone fique acima do fundo */
  color: var(--text-muted);
}

/* Ajuste do Título do Modal */
.modal-header h2 {
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botão de Fechar Modal */
.close-modal {
  color: #fff;
  font-size: 2rem;
  opacity: 0.7;
  transition: 0.3s;
}
.close-modal:hover {
  opacity: 1;
  color: var(--error-color);
}
