/* ============================================================
   BOOKLY CUSTOM STYLES — Ángeles & Arcángeles Academy
   ============================================================ */

/* CONTAINER */
.bookly-form {
  background: #F2EFEC;
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
}

/* TÍTULO */
.bookly-form h2,
.bookly-form .bookly-form-title {
  color: #2c2c2c;
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

/* PASOS (PROGRESS BAR) */
.bookly-form .bookly-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.bookly-form .bookly-step {
  flex: 1;
  height: 4px;
  background: #DCCABA;
  border-radius: 2px;
}

.bookly-form .bookly-step.active {
  background: #886888;
}

.bookly-form .bookly-step.completed {
  background: #23A9AA;
}

/* LABELS */
.bookly-form label {
  color: #886888;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
  margin-top: 20px;
}

.bookly-form label:first-of-type {
  margin-top: 0;
}

/* INPUTS & SELECTS */
.bookly-form input[type="text"],
.bookly-form input[type="email"],
.bookly-form input[type="date"],
.bookly-form input[type="time"],
.bookly-form select,
.bookly-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #DCCABA;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #2c2c2c;
  background: white;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.bookly-form input:focus,
.bookly-form select:focus,
.bookly-form textarea:focus {
  outline: none;
  border-color: #23A9AA;
  box-shadow: 0 0 0 3px rgba(35, 169, 170, 0.1);
}

/* CHECKBOXES (DÍAS) */
.bookly-form input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #23A9AA;
}

/* TIEMPO (HORAS) */
.bookly-form .bookly-time-slot {
  display: inline-block;
  padding: 10px 16px;
  margin: 6px 6px 6px 0;
  background: white;
  border: 1px solid #DCCABA;
  border-radius: 6px;
  color: #886888;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bookly-form .bookly-time-slot:hover {
  border-color: #23A9AA;
  background: rgba(35, 169, 170, 0.05);
}

.bookly-form .bookly-time-slot.selected {
  background: #23A9AA;
  color: white;
  border-color: #23A9AA;
}

/* BOTONES */
.bookly-form button,
.bookly-form input[type="button"],
.bookly-form input[type="submit"] {
  background: #23A9AA;
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 20px;
  width: 100%;
  min-height: 48px;
}

.bookly-form button:hover,
.bookly-form input[type="button"]:hover,
.bookly-form input[type="submit"]:hover {
  background: #1a8284;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 169, 170, 0.3);
}

.bookly-form button:active {
  transform: translateY(0);
}

/* BOTÓN SECUNDARIO */
.bookly-form .bookly-btn-secondary {
  background: #886888;
  color: white;
}

.bookly-form .bookly-btn-secondary:hover {
  background: #6d5570;
}

/* TEXTO SECUNDARIO */
.bookly-form p,
.bookly-form small {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

/* ERRORES */
.bookly-form .bookly-error,
.bookly-form .alert-danger {
  background: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 4px solid #721c24;
  margin-bottom: 16px;
  font-size: 13px;
}

/* SUCCESS */
.bookly-form .bookly-success,
.bookly-form .alert-success {
  background: #d4edda;
  color: #155724;
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 4px solid #155724;
  margin-bottom: 16px;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .bookly-form {
    padding: 24px;
  }

  .bookly-form h2 {
    font-size: 22px;
  }

  .bookly-form input,
  .bookly-form select,
  .bookly-form button {
    font-size: 16px; /* Evita zoom en mobile */
  }
}
