:root {
  --azul: #003b82;
  --verde: #35a936;
  --branco: #f2f2f2;
  --preto: #111111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100vw;   
  padding: 0;     
  overflow-x: hidden; 
}

.painel {
  width: 100%;
  height: 100vh;  
  display: flex;
  align-items: center;
  justify-content: center; 
  background: var(--branco);
  padding: 0 40px; 
}

.grafico {
  position: relative;
  flex: 0 0 60%;
  max-width: 60%;
  aspect-ratio: 570 / 507;
}

.grafico svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.foto-menina {
  position: absolute;
  left: 39%;
  top: 0%;
  width: 33%;
  z-index: 2;
}

.foto-menina img {
  width: 100%;
  display: block;
}

.foto-menino {
  position: absolute;
  left: 12.4%;
  top: 53.3%;
  width: 36.7%;
  z-index: 2;
}

.foto-menino img {
  width: 100%;
  display: block;
}

.cartao-wrap {
  flex: 0 0 36%;
  max-width: 36%;
  padding-left: 14px;
}

.cartao {
  background: var(--azul);
  border-radius: 24px;
  padding: 1em 1.8em 1.5em;
  color: #ffffff;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0em; 
  width: 100%;
}

.logo-img {
  width: 100%;
  max-width: 200px; 
  height: auto;
  object-fit: contain;
  display: block;
}

.campo {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 1.2em;
}

.campo label {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.campo input {
  flex: 1;
  border: none;
  border-bottom: 2px solid #ffffff;
  background: transparent;
  font-size: 1rem;
  padding: 2px 2px 4px;
  outline: none;
  color: #ffffff;
  min-width: 0;
}

.acoes {
  display: flex;
  justify-content: center;
  gap: 1.4em;
  margin-top: 0.9em;
  flex-wrap: wrap;
}

.acoes button, 
.voltar-link {
  border: none;
  background: none;
  padding: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 0.3px;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}

.acoes button:hover, 
.voltar-link:hover {
  opacity: 0.85;
}

.nucleo {
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-top: 1.6em;
  color: var(--preto);
  letter-spacing: 0.4px;
}

.mensagem {
  text-align: center;
  font-size: 0.78rem;
  margin-top: 0.7em;
  min-height: 16px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .painel {
    flex-direction: column;
  }

  .grafico,
  .cartao-wrap {
    max-width: 100%;
    width: 100%;
  }

  .cartao-wrap {
    padding-left: 0;
    margin-top: 20px;
  }
}
body.modo-escuro {
    background-color: #1e1e1e;
    color: #f0f0f0;
}

body.modo-escuro .header {
    background-color: #002d5c;
}

body.modo-escuro .shortcut-btn {
    background-color: #3a3a3a;
    color: #f0f0f0;
}

body.modo-escuro .shortcut-btn:hover {
    background-color: #4d4d4d;
}