/* Reset básico */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0d1117;
  color: #e6f1ff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Estrutura de painéis */
.painel, .admin {
  text-align: center;
}

/* Estilo para painel público (gradiente bonito) */
#senha-display {
  font-size: 6em;
  margin: 20px 0;
  background: #121f2f;
  padding: 20px;
  border-radius: 10px;
  color: white; /* branco puro no painel público */
}

/* Estilo para senha no admin (em branco sem gradiente) */
#senha-atual {
  font-size: 5em;
  font-weight: 900;
  color: #ffffff; /* branco puro */
  padding: 0 20px;
  border: 2px solid #00d9ff;
  border-radius: 12px;
  min-width: 160px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
}


/* Botões padrão */
button {
  font-size: 1.2em;
  margin: 10px;
  padding: 10px 20px;
  background-color: #00d9ff;
  border: none;
  color: black;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #008cff;
}

/* Cabeçalho da página */
.header {
  position: absolute;
  top: 10px;
  left: 20px;
  font-weight: bold;
  font-size: 1.2em;
  color: #00d9ff;
}

/* Seletor de voz no canto superior direito */
#voz-premium {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 1000;
}

#voz-premium select {
  background-color: #121f2f;
  color: #e6f1ff;
  border: 1px solid #00d9ff;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 1em;
}

/* Input numérico estilizado (senha manual) */
#senha-manual {
  background-color: #121f2f;
  color: #e6f1ff;
  border: 1.5px solid #00d9ff;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 1.1em;
  width: 120px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  -moz-appearance: textfield;
}

#senha-manual::-webkit-inner-spin-button,
#senha-manual::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#senha-manual:focus {
  border-color: #008cff;
  box-shadow: 0 0 8px #008cff;
}

/* Input de código no ativar.html */
#codigo {
  background-color: #121f2f;
  color: #e6f1ff;
  border: 1.5px solid #00d9ff;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 1.1em;
  width: 250px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

#codigo:focus {
  border-color: #008cff;
  box-shadow: 0 0 8px #008cff;
}

/* ===== Exibição estilizada da senha atual (painel do atendente) ===== */
.senha-atual-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  user-select: none;
}

.label-senha {
  font-size: 1.5em;
  font-weight: 600;
  color: #00d9ff;
  letter-spacing: 1px;
}

.display-senha {
  font-size: 5em;
  font-weight: 900;
  background: linear-gradient(135deg, #00d9ff, #008cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 5px rgba(0, 217, 255, 0.7),
    0 0 10px rgba(0, 140, 255, 0.7);
  padding: 0 20px;
  border: 2px solid #00d9ff;
  border-radius: 12px;
  min-width: 160px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
}

/* Responsividade básica */
@media (max-width: 600px) {
  .display-senha {
    font-size: 3em;
  }

  .label-senha {
    font-size: 1.2em;
  }

  button {
    width: 90%;
  }

  #codigo, #senha-manual {
    width: 90%;
  }
}
