@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    
}

body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

/* Hero Section (Encabezado con imagen) */
.hero {
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    margin-right: 10px; /* Márgenes de 10px */
    border-radius: 10px; /* Bordes redondeados */
}

.hero-overlay {
    position: absolute;
    bottom: 20px; /* Alineado en la parte inferior */
    left: 20px; /* Alineado a la izquierda */
    color: white;
    text-align: left; /* Texto alineado a la izquierda */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Sombra en el texto */
    background-color: rgba(0, 0, 0, 0.4); /* Fondo oscuro translúcido */
    padding: 10px; /* Espaciado interno */
    border-radius: 10px; /* Bordes redondeados */
}

.hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 1.2rem;
}

/* Booking Section */
.booking-section {
    display: flex;
    flex-wrap: nowrap; /* Mantener formulario e imagen en una fila */
    justify-content: space-between;
    align-items: stretch; /* Alinear elementos al inicio */
    width: 100%;
    margin: 10px auto; /* Centrar en la página */
    padding: 0px; /* Espaciado interno */
    gap: 10px; /* Espacio entre formulario e imagen */
}

.form-container {
    position: relative;
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-right: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Alineamos los grupos en filas */
.form-row {
    display: flex;
    gap: 10px; /* Espaciado entre columnas */
    margin-bottom: 15px; /* Espaciado entre filas */
}

.form-group {
    flex: 1; /* Tamaño flexible */
    display: flex;
    flex-direction: column; /* Etiqueta y campo alineados */
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px; /* Espaciado entre etiqueta y campo */
}

.form-container form input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.right-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Botón ajustado */
.btn-submit {
    background-color: #f4a024;
    color: white;
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto; /* Centra el botón */
}

.btn-submit:hover {
    background-color: white;
    color: #f4a024;
    border: 1px solid #f4a024;
}


.image-container {
    flex: 1.2;
    margin-right: 10px;
}

.image-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    
    /* Fondo decorativo */
    background-image: 
    linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,1) 100%),
    url('../image/icon/Fondo_logo.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
}


.establecimiento-info {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 20px;
}

.establecimiento-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #f4a024;
}
.establecimiento-datos {
    border-left: 2px solid #3f448a; /* Borde a la izquierda */
    padding-left: 10px; /* Espaciado interno para el texto */
}

.establecimiento-datos p {
    margin: 0;
    font-size: 14px;
}


/* Services Section */
.services-section {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin: 10px auto;
    padding: 10px;
    gap: 10px;
}

.text-container {
    flex: 1.2;
    background: white;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-container h2 {
    margin: 0; /* Sin margen superior ni inferior */
    padding: 0; /* Sin padding */
    font-size: 1.8rem; /* Ajustar tamaño del título */
}

.text-container p {
    margin: 0 0 10px; /* Espacio solo debajo del párrafo */
    padding: 0; /* Sin padding */
    word-wrap: break-word; /* Rompe las palabras largas */
    word-break: break-word; /* Rompe palabras si son muy largas */
    overflow-wrap: break-word; /* Soporte adicional para navegadores modernos */
    white-space: normal; /* Asegura que el texto respete los saltos de línea */
    overflow: hidden; /* Evita que el contenido desborde el contenedor */
    text-overflow: ellipsis; /* Agrega puntos suspensivos si es necesario */
}

.text-container ul {
    list-style-type: none;
    padding-left: 20px; /* Mantener sangría para las viñetas */
    margin: 0; /* Eliminar margen externo */
}

.text-container ul li {
    margin-bottom: 5px; /* Espacio entre elementos de la lista */
    padding: 0; /* Sin padding */
}
.but{
    width: 45px;
    height: 45px;
    font-size: 15px;
    border: none;
    border-radius: 100% 0% 500% 0%;
    cursor: pointer;
    margin-top: 0px;
    background-color: #3e3f3f;
    color: white;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.3);
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

.carousel-button img {
    width: 30px;
    height: 30px;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.spinner::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #992020;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.custom-modal {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinea el modal hacia la parte superior */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Permite desplazamiento si el contenido es muy largo */
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 20px; /* Espacio desde el borde superior */
    scrollbar-width: none;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.custom-modal-content {
    background-color: #f1ecec; /* Cambia a blanco si no quieres color */
    margin: 8px auto; /* Ajusta este valor para reducir el espacio superior */
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 1000px;
    height: auto; /* Permite que el contenido crezca dinámicamente */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

.custom-modal-close {
    float: right;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.custom-modal-close:hover {
    color: black;
}

.custom-modal-body {
    overflow-y: auto;
    max-height: none; /* Elimina cualquier límite de altura */
}

/*reservacion*/
.modal-cliente {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-cliente-content {
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    position: relative;
}

.modal-cliente-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.enc {
    display: flex; /* Usamos flexbox para organizar los elementos en una fila */
    align-items: center; /* Centra verticalmente el contenido */
    gap: 10px; /* Espacio entre el botón y el texto */
    padding: 10px; /* Espacio interno opcional */

}

/*Notificaciones*/
.notificaciones-container {
    padding: 20px;
    font-family: Arial, sans-serif;
}

.notificaciones-container ul {
    list-style: none;
    padding: 0;
}

.notificaciones-container li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.notificaciones-container li.no-leido {
    background-color: #ffeaec;
    font-weight: bold;
}

.notificaciones-container li.leido {
    color: #777;
}

#contador-notificaciones {
    font-weight: bold;
    color: #ff4d4d;
    margin-left: 5px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


#contador-notificaciones.hidden {
    display: none; /* Clase para ocultar el contador */
}

.btn-borrar {
    background-color: #f4a024;
    color: white;
    margin-top: 15px;
    border: 1px solid transparent;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.btn-borrar:hover {
    background-color: white;
    color: #f4a024;
    border: 1px solid #f4a024;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.notificacion-item.no-leido {
    background-color: #ffeaec; /* Color para no leídas */
    font-weight: bold;
}

.notificacion-item.leido {
    background-color: #f9f9f9; /* Color para leídas */
    font-weight: normal;
}

/*Estadisticas*/
.stats-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

.titulo-principal {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.subtitulo {
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
}

.total {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}

canvas {
    width: 100% !important;
    height: auto !important;
}
/**/

.modal-cliente-content form{
    padding-bottom: 15px;
}

.encabezadoo {
    width: 100%;
    background-image: url(../image/icon/FONDO.jpg);
    background-size: cover;
    background-position: top;
    border-radius: 15px 15px 0 0;
    padding: 60px 20px 30px;
    box-sizing: border-box;
}

.encabezado {
    width: 100%;
    background-image: url(../image/icon/Fondo_logo.png);
    background-size: cover;
    background-position: top;
    border-radius: 15px 15px 0 0;
    padding: 60px 20px 30px;
    box-sizing: border-box;
}
.titlee{
    margin-left: 20px;
}
