/* ========================= 
   RESET BÁSICO
========================= */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* =========================
   CARD PRINCIPAL
========================= */
.container {
  background: #ffffff;
  padding: 35px;
  border-radius: 25px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.25);
  text-align: center;
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   TEXTOS
========================= */
h1 {
  color: #4f46e5;
  margin-bottom: 10px;
  text-shadow: 1px 1px 5px rgba(79, 70, 229, 0.25);
}

.subtitle {
  color: #4b5563;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

label {
  display: block;
  margin: 15px 0 6px 0;
  font-weight: 600;
  color: #4f46e5;
  text-align: left;
}

/* =========================
   INPUTS E SELECT
========================= */
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #c7d2fe;
  font-size: 0.95rem;
  outline: none;
  transition: 0.3s ease;
  font-family: inherit;
}

textarea {
  resize: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
}

/* =========================
   HORÁRIOS
========================= */
.horarios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 15px 0 20px 0;
}

/* BOTÃO PADRÃO */
.horario-btn {
  padding: 10px 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  min-width: 70px;
}

/* HOVER DISPONÍVEL */
.horario-btn:hover {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.6);
}

/* SELECIONADO */
.horario-btn.selecionado {
  background: #6b7280 !important;
  color: #fff;
  box-shadow: none;
}

/* INDISPONÍVEL */
.horario-btn.indisponivel {
  background: #e5e7eb !important;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
}

.horario-btn.indisponivel:hover {
  background: #e5e7eb;
  box-shadow: none;
}

/* =========================
   BOTÃO ENVIAR
========================= */
.btn-agendar {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-agendar:hover {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.6);
}

/* =========================
   MENSAGEM
========================= */
#mensagem {
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #4f46e5;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 480px) {
  .container {
    padding: 25px;
  }

  h1 {
    font-size: 1.5rem;
  }
}