@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");
* {
  font-family: "Montserrat", sans-serif;
}
body {
  margin: 0;
  background: #191919;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

:root {
  --navbar-height: 56px;
}

#main-content:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
}

/* HOVER */
.nav-link.active,
.nav-link:hover {
  background: #e0a800; /* Adjusted for better contrast */
  transition: 0.5s;
}

/* CARROUSEL */
.section-padding {
  padding: 100px 0;
}
.carousel-item {
  height: calc(100vh - var(--navbar-height));
  min-height: 300px;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.carousel-caption {
  /* Position caption responsively: min 80px, prefer viewport-based, max 220px */
  bottom: clamp(80px, 18vh, 220px);
  z-index: 1100; /* Above fixed navbar (Bootstrap fixed-top ~1030) */
}
.carousel-caption h5 {
  font-size: 45px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 25px;
}
.carousel-caption p {
  width: 60%;
  margin: auto;
  font-size: 18px;
  line-height: 1.9;
}
.carousel-caption .btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.6);
}
.carousel-control-prev:focus-visible,
.carousel-control-next:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}
.carousel-inner:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  pointer-events: none;
}

/* NAVBAR  */
.navWidht {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.navbar .getstarted {
  background: #106eea;
  margin-left: 30px;
  border-radius: 4px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  line-height: 2.3;
}
.navbar-nav a {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 500;
}
.navbar-light .navbar-brand {
  color: #000;
  font-size: 25px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
}
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
  color: #000;
}
.navbar-light .navbar-nav .nav-link {
  color: #000;
}
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #000;
}
.w-100 {
  width: 100%;
}
.navbar-toggler {
  padding: 1px 5px;
  font-size: 18px;
  line-height: 0.3;
  background: #fff;
}
.dropend .dropdown-toggle {
  color: #d1a000;
  margin-left: 1em;
}

.dropdown-item:hover {
  background-color: black;
  color: #fff;
}
.dropend:hover > .dropdown-menu {
  display: block;
  margin-top: 0.125em;
  margin-left: 0.125em;
}

@media screen and (min-width: 992px) {
  .dropend:hover > .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
  }
  .dropend .dropdown-toggle {
    margin-left: 0.5em;
  }
}

/* CUERPO */

.portfolio .card {
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
}
.team .card {
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
}
.services .card-body i {
  font-size: 50px;
}
.team .card-body i {
  font-size: 20px;
}

/* LOGIN */

.about {
  background-color: #191919;
}

.form {
  width: 100%;
  background: #191919;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra los elementos verticalmente */
  padding-top: 80px;
  padding-bottom: 40px;
}

.form h1 {
  color: white;
  text-transform: uppercase;
  font-weight: 500;
}
.form label {
  color: white;
}
.form input[type="email"],
.form input[type="password"],
.form input[type="text"] {
  border: 0;
  background: none;
  display: block;
  margin: 20px auto;
  text-align: center;
  border: 2px solid #3498db;
  padding: 14px 10px;
  width: 200px;
  outline: none;
  color: white;
  border-radius: 24px;
  transition: 0.25s;
}
.form input[type="email"]:focus,
.form input[type="password"]:focus,
.form input[type="text"]:focus {
  width: 280px;
  border-color: #2ecc71;
}
.form input[type="submit"] {
  border: 0;
  background: none;
  display: block;
  margin: 20px auto;
  text-align: center;
  border: 2px solid #2ecc71;
  padding: 14px 40px;
  outline: none;
  color: white;
  border-radius: 24px;
  transition: 0.25s;
  cursor: pointer;
}
.form input[type="submit"]:hover {
  background: #2ecc71;
}
.form a {
  color: yellow;
  font-size: 20px;
}
.form a:hover {
  color: black;
}
.form a:visited {
  color: yellow;
}

/* MAPA DEL SITIO */
.about-text {
  color: white;
}
.about-text a:hover {
  color: black;
}

/* FOOTER */
.footerDiv {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Hace que las cajas tengan la misma altura */
  width: 100%;
}

.footerDiv > div {
  flex: 1; /* Ambas columnas ocupan el mismo ancho */
}

@media (max-width: 750px) {
  .footerDiv {
    display: grid;
  }
}

.contactoBottom {
  height: 100%; /* Asegura que las cajas llenen el espacio disponible */
  background-color: #f8f9fa; /* Fondo blanco para las cajas */
  padding: 20px;
}

#contact {
  background-color: #ff00ff; /* Fondo para diferenciarlo visualmente */
  padding: 0; /* Ajusta el padding general */
  margin-bottom: 0;
  border: 1px solid black;
}

main {
  padding-top: var(--navbar-height);
  flex: 1; /* Toma el espacio restante entre el header y el footer */
}

footer {
  position: relative; /* Se queda al fondo */
  bottom: 0;
  width: 100%;
  margin: 0;
}

/* Responsive */

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .carousel-caption {
    bottom: clamp(80px, 20vh, 370px);
  }
  .carousel-caption p {
    width: 100%;
  }
  .card {
    margin-bottom: 30px;
  }
  .img-area img {
    width: 100%;
  }
}
@media only screen and (max-width: 767px) {
  .navbar-nav {
    text-align: center;
  }
  .carousel-caption {
    bottom: clamp(60px, 18vh, 125px);
  }
  .carousel-caption h5 {
    font-size: 17px;
  }
  .carousel-caption a {
    padding: 10px 15px;
    font-size: 15px;
  }
  .carousel-caption p {
    width: 100%;
    line-height: 1.6;
    font-size: 12px;
  }
  .about-text {
    padding-top: 50px;
  }
  .card {
    margin-bottom: 30px;
  }
}

/* LISTADOS */
table {
  border-collapse: collapse;
  font-size: 16px;
  width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.botonesTD {
  padding: 5px;
  vertical-align: top;
}

.formContainerSolicitud {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.formContainerSolicitud form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

table thead th {
  background-color: #d1a000;
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
}

table tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}

table tbody tr:nth-child(even) {
  background-color: #ffffff;
}

table tbody tr:hover {
  background-color: #dee2e6;
  cursor: pointer;
}

table td img {
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* table th,
table td {
  padding: 12px 15px;
  vertical-align: middle;
} */

.linkTabla {
  color: #000000;
  text-decoration: none;
}

/* Estilo para los botones */
button {
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  transition:
    background-color 0.3s,
    transform 0.2s;
}

button:hover {
  transform: scale(1.05);
}

button.btn-primary {
  background-color: #007bff;
  border: none;
  color: white;
}

button.btn-primary:hover {
  background-color: #0056b3;
}

button.btn-danger {
  background-color: #dc3545;
  border: none;
  color: white;
}

button.btn-danger:hover {
  background-color: #a71d2a;
}

.botonCrear {
  display: flex;
  justify-content: right;
  width: 100%;
}

.botonNovedad {
  display: flex;
  justify-content: right;
  width: 25%;
}

.crear {
  width: 100%;
  height: 38px; /* Igual al filtro y al buscador */
  font-size: 16px; /* Tamaño de texto uniforme */
  border-radius: 20px; /* Borde redondeado como el buscador */
}

/* Sidebar filtros de locales */
.filters-panel {
  background: linear-gradient(180deg, #1d1d1d 0%, #141414 100%);
  border: 1px solid #d1a000;
  border-radius: 16px;
  padding: 16px;
  color: #f7f4e8;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.filters-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0c75e;
  margin-bottom: 12px;
}

.filters-group {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.filters-group:last-child {
  margin-bottom: 0;
}

.filters-group .btn {
  margin-top: 4px;
}

.filters-field {
  display: grid;
  gap: 6px;
}

.filters-panel .form-label,
.sort-panel .form-label {
  color: #f5f5f5;
  font-weight: 600;
  margin-bottom: 0;
}

.filters-panel .btn,
.filters-panel .form-control,
.filters-panel .form-select,
.sort-panel .btn,
.sort-panel .form-control,
.sort-panel .form-select {
  border-radius: 999px;
}

.filters-panel .btn,
.sort-panel .btn {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 12px;
  min-height: 32px;
}

.filters-panel .form-control,
.filters-panel .form-select,
.sort-panel .form-control,
.sort-panel .form-select {
  background-color: #f7f7f7;
  border: 1px solid #d1a000;
  color: #222;
  font-size: 0.9rem;
  min-height: 34px;
  padding: 6px 10px;
}

.filters-panel .form-control::placeholder,
.sort-panel .form-control::placeholder {
  color: #6b6b6b;
}

.filters-panel .form-control:focus,
.filters-panel .form-select:focus,
.sort-panel .form-control:focus,
.sort-panel .form-select:focus {
  border-color: #f0c75e;
  box-shadow: 0 0 0 0.2rem rgba(209, 160, 0, 0.2);
}

.filters-panel .btn:focus-visible,
.filters-panel .form-control:focus-visible,
.filters-panel .form-select:focus-visible,
.sort-panel .btn:focus-visible,
.sort-panel .form-control:focus-visible,
.sort-panel .form-select:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(209, 160, 0, 0.35);
}

.filters-panel .input-group .form-select,
.sort-panel .input-group .form-select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.filters-panel .input-group .btn,
.sort-panel .input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  min-height: 34px;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filters-panel .input-group,
.sort-panel .input-group {
  align-items: stretch;
}

.filters-panel .btn-search {
  background: #d1a000;
  color: #111;
  border: none;
  font-weight: 700;
}

.filters-panel .btn-search:hover {
  background: #e0b217;
}

.filters-side-action {
  margin-bottom: 12px;
}

.filters-side-action .botonCrear {
  justify-content: stretch;
}

.filters-panel .order-toggle,
.sort-panel .order-toggle {
  min-width: 40px;
  border-color: #d1a000;
  color: #f0c75e;
}

.filters-panel .order-toggle:hover,
.sort-panel .order-toggle:hover {
  background-color: rgba(209, 160, 0, 0.15);
  color: #f7d27a;
}

.filters-panel .botonCrear {
  justify-content: stretch;
}

.filters-panel .crear {
  height: 32px;
  font-size: 0.9rem;
}

.filters-panel button:hover,
.sort-panel button:hover {
  transform: none;
}

/* Panel de ordenar (fuera de filtros) */
.sort-panel {
  background: linear-gradient(180deg, #1d1d1d 0%, #141414 100%);
  border: 1px solid #d1a000;
  border-radius: 16px;
  padding: 16px;
  color: #f7f4e8;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
}

.sort-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0c75e;
  margin-bottom: 12px;
}

.sort-form {
  display: grid;
  gap: 6px;
}

.sort-form .btn {
  margin-top: 4px;
}

/* Listados con sidebar */
.list-page {
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
  padding-bottom: 32px;
}

@media only screen and (max-width: 768px) {
  .filters-panel {
    padding: 14px;
  }
}

@media only screen and (max-width: 768px) {
  .botonCrear {
    justify-content: center;
  }
  .botonNovedad {
    width: 100%;
  }
}

/* Listado de Locales */

.centered {
  display: flex;
  justify-content: center;
}

.locales {
  display: block;
  border: #d1a000 solid 5px;
  background-color: white;
  border-radius: 25px;
  height: auto;
  overflow: hidden;
}

/* Novedades con diseño mejorado */
.novedades {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border: #d1a000 solid 3px;
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.textContainer-novedad {
  text-align: left;
  width: 100%;
}

.textContainer-novedad h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.novedad-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.novedad-meta span {
  display: inline-block;
}

.novedad-meta strong {
  color: #333;
  font-weight: 600;
}

.textContainer-novedad-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .novedades {
    padding: 15px;
  }

  .textContainer-novedad h2 {
    font-size: 1.2rem;
  }

  .novedad-meta {
    font-size: 0.8rem;
    gap: 10px;
  }
}

.textContainer-promo {
  text-align: left;
  width: 100%;
  max-width: 100%;
  padding: 15px;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.textContainer-promo h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 600;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.promo-descripcion {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.promo-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
  margin-bottom: 5px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.promo-meta span {
  display: inline-block;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.promo-meta strong {
  color: #333;
  font-weight: 600;
}

.promo-id {
  color: #999;
  font-size: 0.8rem;
}

.textContainer-promo-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .textContainer-promo h2 {
    font-size: 1.2rem;
  }

  .promo-descripcion {
    font-size: 0.95rem;
  }

  .promo-meta {
    font-size: 0.8rem;
    gap: 10px;
  }
}

/* Estilos para locales */
.imgContainer-local {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imgContainer-local img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.textContainer-local {
  text-align: left;
  width: 100%;
  padding: 15px;
}

.textContainer-local h2 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.local-info {
  margin-bottom: 15px;
}

.local-info p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.local-info strong {
  color: #333;
  font-weight: 600;
}

.local-meta {
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.local-id {
  color: #999;
  font-size: 0.8rem;
}

.textContainer-local-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 15px 15px;
}

@media (max-width: 768px) {
  .textContainer-local h2 {
    font-size: 1.2rem;
  }

  .local-info p {
    font-size: 0.9rem;
  }

  .imgContainer-local {
    height: 180px;
  }
}

.imgContainer img {
  max-width: 180px;
}

.textContainer {
  text-align: center;
  width: auto; /* Asegura que ocupe el ancho completo del contenedor padre */
  box-sizing: border-box;
  word-wrap: break-word; /* Asegura que las palabras largas se rompan */
  white-space: normal; /* Permite que el texto se ajuste en múltiples líneas */
  overflow: hidden; /* Cambiado a hidden para evitar desbordamiento */
  padding: 10px; /* Agregado padding para mejorar la legibilidad */
}

.textContainer h2 {
  margin: 10px 0;
}

.containerButton {
  max-width: 200px;
  border: #d1a000 solid 5px;
}
.textContainer h1 {
  word-wrap: break-word; /* Allows words to break */
  overflow-wrap: break-word; /* For older browsers */
  margin: 0; /* Reset default margins that might add to the width */
  padding: 0; /* Reset default padding */
  font-size: 2.5em; /* Adjust font size if necessary */
  /* The following is the KEY for long titles */
  display: -webkit-box; /* Needed for webkit browsers */
  -webkit-line-clamp: 2; /* Number of lines to show */
  -webkit-box-orient: vertical; /* Vertical orientation */
  overflow: hidden; /* Hide any further overflow */
}
.textContainer h4,
.textContainer p {
  /* white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;  */
  margin: 5px 0; /* Add some spacing back */
}
.parrafo p {
  font-size: 25px;
}
@media (max-width: 768px) {
  .textContainer {
    max-width: 90%; /* O un valor específico en píxeles */
  }
}
@media (max-width: 768px) {
  .locales {
    margin: 15px 0;
  }

  .textContainer {
    max-width: 100%;
  }
}

/* Listado de Promociones */
.promociones {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: 20px;
  border: #d1a000 solid 5px;
  background-color: white;
  border-radius: 25px;
  display: block;
  height: auto;
  box-sizing: border-box;
  overflow: visible;
  padding: 10px;
}

/* Ensure promotions fill the list column */
.promociones {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 768px) {
  .promociones {
    width: 100%;
    margin: 0 auto 15px auto;
  }
}

.promocionesAdmin {
  width: auto;
  max-width: 100%;
  text-align: center;
  margin: 20px auto;
  border: #d1a000 solid 5px;
  background-color: white;
  border-radius: 25px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row; /* Apila verticalmente */
  gap: 20px;
  padding: 10px; /* Agrega espacio interno */
  height: auto; /* Se ajusta al contenido */
  min-height: 200px; /* Opcional: altura mínima */
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  /* Ajusta este valor según sea necesario */
  .promocionesAdmin {
    flex-direction: column; /* Apila los elementos en pantallas pequeñas */
    align-items: center; /* Centra los elementos */
    width: 100%; /* Opcional: ajusta el ancho al 100% */
  }
}

.textContainer2 {
  width: 100%;
}

@media only screen and (min-width: 400px) and (max-width: 900px) {
  .promociones {
    width: 100%;
    height: auto;
  }
}

/* Calendario */

.calendarContainer {
  background: white;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
  /* width: 275px; */
  width: 100%; /* Asegura que ocupe el ancho completo del contenedor */
  text-align: center;
  min-width: 200px;
  border: #d1a000 solid 5px;
}
.calendarContainer p {
  font-weight: bold; /* Negrita */
  text-transform: uppercase;
}
input[type="date"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
.calendarContainer button {
  margin-top: 10px;
  padding: 10px 15px;
  background: #d1a000;
  color: black;
  border: black solid 3px;
  border-radius: 5px;
  cursor: pointer;
}
.calendarios {
  width: auto;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 20px;
  margin: 20px auto;
  border-radius: 25px;
  padding: 10px; /* Agrega espacio interno */
  height: auto; /* Se ajusta al contenido */
  min-height: 200px; /* Opcional: altura mínima */
  margin-left: 10%;
  margin-right: 10%;
}

@media only screen and (max-width: 900px) {
  .calendarios {
    margin-left: 0%;
    margin-right: 0%;
    flex-direction: column;
  }
  .widht {
    padding: 20px;
  }

  .columnaFiltro1,
  .columnaFiltro2 {
    width: 100%;
    flex: none;
  }
}

.columnaFiltro1 {
  display: flex;
  flex-direction: column; /* Asegura que los elementos dentro estén apilados verticalmente */
  flex: 1; /* Ajusta el tamaño de las columnas para ocupar el espacio disponible */
  width: auto;
}

.columnaFiltro2 {
  display: flex;
  flex-direction: column;
  flex: 2;
  width: 100%;
  min-width: 0;
  padding: 0 15px;
  box-sizing: border-box;
}

/* CARGAR PROMOCIONES */

/* Contenedor principal para centrar el formulario sin ocupar todo el espacio */
.main-container {
  flex: 1; /* Hace que ocupe el espacio restante entre navbar y footer */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Estilos del formulario */
.form-container {
  width: 90%;
  max-width: 450px; /* Más compacto */
  padding: 5px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  max-height: 70vh; /* Limita la altura para evitar que se corte */
  overflow-y: auto; /* Permite desplazarse si es necesario */
}

.form-container-locales {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
}

/* Ajuste del selector múltiple */
select[multiple] {
  height: 120px; /* Más compacto */
  overflow-y: auto;
}

/* Estilos generales para los inputs */
.form-select,
.form-control {
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 8px;
}

/* Botones */
.botonPromo,
.btn-outline-primary {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  formorder-radius: 6px;
}

.botonCrearNovedad {
  min-width: 340px;
  padding: 10px;
}

@media (max-width: 575px) {
  .botonCrearNovedad {
    min-width: 100%;
  }
}

/* Mejorar la apariencia en pantallas pequeñas */
@media (max-width: 600px) {
  .form-container {
    width: 95%;
    max-width: 400px;
    padding: 10px;
  }
}

.from {
  width: auto;
}

/* LISTADOS */
table {
  border-collapse: collapse;
  font-size: 16px;
  width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.botonesTD {
  padding: 5px;
  vertical-align: top;
}

.formContainerSolicitud {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.formContainerSolicitud form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.wrapper {
  width: min(1000px, 100% - 3rem);
  margin-inline: auto;
  background-color: white;
  overflow-x: auto;
  box-sizing: border-box;
}
.wrapperSolDesc {
  width: min(1400px, 100% - 3rem);
}

.wrapperSolicitudCuenta {
  width: min(1200px, 100% - 3rem);
  margin-bottom: 1rem;
  overflow-x: hidden;
}

.reporte {
  font-size: 1rem;
  font-family: system-ui;
  line-height: 1.5;
  width: 100%;
  border-collapse: collapse;
  border: #d1a000 solid 5px;
  border-radius: 25px;
  table-layout: auto;
  overflow-x: auto;
  max-width: 100%;
}

.wrapperSolicitudCuenta .reporte {
  table-layout: fixed;
  word-break: break-word;
  overflow-wrap: break-word;
}

.reporteHeading,
.reporteContent {
  padding: 1rem;
}

.reporteHeading {
  text-align: left;
  background: #bfbfbf;
}

.reporteRow:nth-of-type(2n) {
  background-color: #eaeaea;
}
.reporteRow:hover {
  background-color: #bfbfbf;
}

@media (max-width: 1200px) {
  .reporte {
    font-size: 12px;
  }
  .reporteHeading,
  .reporteRow {
    padding: 5px;
  }
}

@media (min-width: 1201px) {
  .reporte {
    font-size: 14px;
  }
  .reporteHeading,
  .reporteRow {
    padding: 10px;
  }
  .table-container {
    padding: 0 15px; /* Para centrar */
  }
}

@media (max-width: 1000px) {
  .reporteHeading {
    display: none;
  }
  .reporteRow {
    display: block;
    margin-bottom: 0.5rem;
  }
  .reporteContent {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(10ch, auto) 1fr;
    padding: 0.5rem 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .reporteContent:first-child {
    padding-top: 2rem;
  }
  .reporteContent:last-child {
    padding-top: 2rem;
  }
  .reporteContent::before {
    content: attr(data-cell) ": ";
    font-weight: 700;
    text-transform: capitalize;
  }
  .botonesTD {
    width: auto !important;
    grid-template-columns: 1fr;
  }
  .botonesTD::before {
    content: attr(data-cell) ": ";
    margin-bottom: 0.3rem;
  }
  .formContainerSolicitud {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .formContainerSolicitud form {
    width: 100%;
  }
  .formContainerSolicitud .btn {
    width: 100%;
  }

  /* Solicitudes de cuenta de dueño: una sola columna en móvil */
  .wrapperSolicitudCuenta .reporteRow {
    display: flex;
    flex-direction: column;
  }
  .wrapperSolicitudCuenta .reporteContent {
    display: block;
    word-break: break-all;
    overflow-wrap: break-word;
    padding: 0.5rem 1rem;
  }
  .wrapperSolicitudCuenta .reporteContent::before {
    content: none;
  }
  .wrapperSolicitudCuenta .botonesTD {
    width: 100% !important;
  }
  .wrapperSolicitudCuenta .formContainerSolicitud {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .wrapperSolicitudCuenta .formContainerSolicitud .btn {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .reporte {
    font-size: 0.8rem;
  }
  .reporteContent {
    grid-template-columns: 1fr;
    word-wrap: break-word;
    white-space: normal;
  }
  .reporteContent::before {
    margin-bottom: 0.2rem;
  }
  .formContainerSolicitud {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .btnTabla {
    padding: 0.3em 0.5em;
    font-size: 0.9rem;
    width: 100%;
  }

  /* Solicitudes de cuenta de dueño */
  .wrapperSolicitudCuenta .reporteContent {
    display: block;
    word-break: break-all;
    overflow-wrap: break-word;
  }
  .wrapperSolicitudCuenta .reporteContent::before {
    content: none;
  }
  .wrapperSolicitudCuenta .formContainerSolicitud {
    flex-direction: column;
    align-items: stretch;
  }
}

/* RESET PASSWORD */
.input-wrapper {
  position: relative;
  width: 200px;
  max-width: 100%;
  height: 50px;
  margin: 0 auto;
  z-index: 1;
  transition: width 0.4s ease-in-out;
}
.input-wrapper:focus-within {
  width: 350px;
}
.custom-dark-input {
  background-color: #212529 !important;
  color: white !important;
  border: 1px solid #0d6efd;
  border-radius: 50px !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 50px;
  box-sizing: border-box !important;
  padding-left: 20px;
  padding-right: 45px;
  text-align: center;
}
.custom-dark-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: none;
}
.eye-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10;
  color: #6c757d;
  display: flex;
  align-items: center;
  height: 24px;
  width: 35px;
}

/* MI PERFIL */
.profile-card {
  max-width: 600px;
  margin: 100px auto 40px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.profile-card h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #212529;
}
.profile-field {
  margin-bottom: 20px;
}
.profile-field label {
  font-weight: bold;
  color: #495057;
  display: block;
  margin-bottom: 5px;
}
.profile-field .field-value {
  background-color: #e9ecef;
  padding: 10px 15px;
  border-radius: 6px;
  color: #495057;
}
.profile-section {
  border-top: 1px solid #dee2e6;
  padding-top: 20px;
  margin-top: 20px;
}
.profile-section h3 {
  color: #212529;
  margin-bottom: 15px;
}
.profile-input-wrapper {
  position: relative;
}
.profile-input-wrapper .eye-btn-profile {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  color: #6c757d;
  z-index: 10;
}
.badge-estado {
  font-size: 0.9rem;
}
