/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.0
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

.formulario-reserva label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.formulario-reserva input[type="text"],
.formulario-reserva input[type="datetime-local"],
.formulario-reserva select,
.formulario-reserva textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.formulario-reserva input[type="submit"] {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.formulario-reserva input[type="submit"]:hover {
  background-color: #005077;
}


.reserva-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.reserva-titulo {
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Estilos Responsive */
@media (max-width: 768px) {
  .reserva-container {
    padding: 1rem;
  }

  .reserva-titulo {
    font-size: 1.4rem;
  }

  .acf-field input,
  .acf-field select,
  .acf-field textarea {
    width: 100% !important;
    font-size: 1rem;
  }

  .acf-actions {
    display: flex;
    justify-content: center;
  }

  .acf-actions input[type="submit"] {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}


/* Estilo general para todos los campos */
.acf-form .acf-field {
  margin-bottom: 1.5rem;
}

/* Campo: Título de la reserva */
.acf-field-titulo_reserva input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* Campo: Usuario de la reserva */
.acf-field-usuario_reserva input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* Campo: Fecha y hora de inicio */
.acf-field-fecha_hora_inicio input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* Campo: Duración en horas */
.acf-field-duracion_horas input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* Campo: Estado de la reserva (select) */
.acf-field-estado_reserva select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Campo: Observaciones (textarea) */
.acf-field-observaciones textarea {
  width: 100%;
  height: 100px;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: vertical;
}

/* Botón de enviar */
.formulario-reserva input[type="submit"] {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  display: block;
  margin: 2rem auto 0 auto;
}

.formulario-reserva input[type="submit"]:hover {
  background-color: #004a99;
}

/* Estilo responsive para móviles */
@media (max-width: 480px) {
  .acf-field input,
  .acf-field select,
  .acf-field textarea {
    font-size: 0.95rem;
  }

  .formulario-reserva input[type="submit"] {
    width: 100%;
  }
}