/* Página de registrar cita: usa tokens de dashboard.css */

.form-wrapper{
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* Card del formulario */
.form-card{
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem 1.9rem;
}

.form-title{
  margin: 0 0 1.1rem;
  font-size: 1.25rem;
  color: var(--brand-dark);
}

/* Grid general */
.form-grid{
  display: grid;
  gap: 14px;
}

/* Filas de dos columnas */
.form-row-two{
  display: grid;
  gap: 14px;
}

@media (min-width: 720px){
  .form-row-two{
    grid-template-columns: 1fr 1fr;
  }
}

/* Campo individual */
.form-field label{
  display: block;
  margin: .3rem 0 .2rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}

.form-field input,
.form-field select{
  width: 100%;
  padding: .75rem .8rem;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  font-size: .95rem;
  outline: none;
  background: #fff;
  box-sizing: border-box;
}

.form-field input:focus,
.form-field select:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(232,75,156,.20);
}

/* Texto de ayuda */
.hint{
  font-size: .8rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* Etiqueta tipo pastilla */
.pill{
  display:inline-block;
  background:#ffe3ea;
  color:#a44;
  padding:.25rem .6rem;
  border-radius:999px;
  font-size:.85rem;
  margin-top:.6rem;
}

/* Bloques condicionales */
.hide{
  display:none;
}

/* Botón de envío */
.btn-submit{
  margin-top: 1.6rem;
  width: 100%;
  border-radius: 999px;
  padding: .9rem 1rem;
  background: var(--brand);
  color:#fff;
  font-weight:800;
  border:none;
  cursor:pointer;
  font-size:1rem;
  box-shadow: var(--shadow);
}

.btn-submit:hover{
  filter: brightness(0.97);
}

.btn-submit:disabled{
  opacity:.7;
  cursor:wait;
}

/* Hero más compacto para formularios */
.hero-card.hero-sm{
  padding: 1.3rem 1.2rem;
  margin-bottom: 1.5rem;
}
.hero-card.hero-sm .hero-text h1{
  font-size: 1.4rem;
}
.hero-card.hero-sm .hero-text p{
  font-size: .9rem;
}
