/* --- ZELENO HIGH-CONTRAST UPDATED --- */
:root {
  --neon: #29e681;
  --black-pure: #00543d; /* Ajustado para preto puro para contraste máximo */
  --dark-surface: #00543d; /* Fundo levemente acima do preto */
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--black-pure);
  color: var(--white);
  display: flex;
  justify-content: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 420px;
  background: var(--dark-surface);
  border: 2px solid var(--border);
  border-radius: 0px; 
  padding: 40px 25px;
  box-shadow: 0 0 40px rgba(41, 230, 129, 0.05);
}

h1 {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--white);
  border-left: 6px solid var(--neon);
  padding-left: 15px;
}

.subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon);
  margin-bottom: 40px;
  font-weight: 600;
}

label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.6;
}

/* --- ESTILIZAÇÃO DE TODOS OS INPUTS --- */

select, 
input[type="date"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  border-radius: 0;
  padding: 12px 0;
  color: var(--white);
  font-size: 16px;
  margin-bottom: 25px;
  transition: 0.3s;
  outline: none;
  display: block;
}

/* Dropdown Legível */
select option {
  background-color: var(--dark-surface);
  color: var(--white);
  padding: 10px;
}

/* Ícone do calendário branco */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* Efeito de Foco Neon em todos os campos */
select:focus, 
input:focus {
  border-bottom-color: var(--neon) !important;
}

/* Caixa de Resumo (Caso exista na página paciente) */
.summary-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border: 1px dashed var(--border);
  margin-bottom: 30px;
  font-size: 13px;
}

/* --- GRID DE HORÁRIOS (INDEX) --- */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.slot-card {
  background: transparent;
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.slot-card.selected {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--black-pure);
}

.slot-hour { font-size: 20px; font-weight: 900; display: block; }
.slot-price { font-size: 12px; font-weight: 600; text-transform: uppercase; }

/* --- BOTÕES (IGUALANDO INDEX E PACIENTE) --- */
button#continueBtn,
button[type="submit"] {
  width: 100%;
  margin-top: 20px;
  padding: 22px;
  background: var(--neon);
  color: var(--black-pure);
  border: none;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

button:hover:not(:disabled) {
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(41, 230, 129, 0.4);
}

button:disabled {
  background: #333;
  color: #666;
  cursor: not-allowed;
}

.error {
  color: #ff4d4d;
  font-weight: 600;
  margin-top: 10px;
  font-size: 14px;
}