body {
    font-family: 'Playfair Display', sans-serif;
    background-color: #20472d;
    color: #333;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

.logo {
    display: block;
    margin: 0 auto;
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.container {
    max-width: 700px;
    width: 100%;
    margin: auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out;
}

h1 {
    text-align: center;
    font-size: 2.5em;
    color: #4A4A4A;
    margin-bottom: 20px;
    font-weight: bold;
}

label {
    display: block;
    margin: 12px 0 5px;
    font-weight: 500;
    color: #333;
}

input, select, textarea {
    width: calc(100% - 20px);
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #20472d;
    box-shadow: 0 0 5px rgba(32, 71, 45, 0.5);
    outline: none;
}

.boton-container {
    text-align: center;
    margin-top: 32px;
}

button {
    width: auto;
    max-width: 200px; /* Max width for better responsiveness */
    padding: 12px 20px; /* Padding para un botón más amplio */
    background-color: #20472d; /* Color de fondo */
    color: white; /* Color del texto */
    border: none; /* Sin borde */
    border-radius: 8px; /* Bordes más redondeados */
    font-size: 1em; /* Tamaño de fuente */
    font-weight: bold; /* Negrita para destacar el texto */
    cursor: pointer; /* Cambia el cursor al pasar por encima */
    transition: background-color 0.3s ease, transform 0.2s; /* Transiciones suaves */
    display: inline-block; /* Permite que el botón sea un bloque en línea */
    margin: 0 auto; /* Centrando el botón */
}

button:hover {
    background-color: #333; /* Color de fondo al pasar el ratón */
    transform: scale(1.05); /* Efecto de aumento al pasar el ratón */
}

button:active {
    transform: scale(1); /* Efecto de retorno a la posición original al hacer clic */
}


.resultado {
    display: none; /* Asegúrate de que esto se cambie a block o flex en el JS para que aparezca */
    text-align: center; /* Alinea el texto al centro */
    font-size: 1.4em;
    color: #20472d;
    background-color: #f1f8f3;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: 20px auto; /* Centra el contenedor */
    width: 60%; /* Puedes ajustar el ancho según tus necesidades */
    max-width: 600px; /* Limita el ancho máximo del contenedor */
    animation: fadeInUp 0.5s ease-out; /* Asegúrate de que esta clase de animación esté definida en otro lugar */
}

.costo-total-container {
    margin-top: 25px;
    padding: 15px;
    background-color: #f1f8f3;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.costo-total {
    font-size: 1.8em;
    font-weight: bold;
    color: #20472d;
}

.licores-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.licores-container label {
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 12px;*/
    width: 100px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s;
    text-align: center;
}

.licores-container input[type="checkbox"] {
    display: none;
}

.licores-container input[type="checkbox"]:checked + span {
    color: white;
}

.licores-container input[type="checkbox"]:checked + span,
.licores-container input[type="checkbox"]:checked + span + label {
    background-color: #20472d;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 0.3s ease; /* Añadir animación */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


#btn-agendar {
    display: none; /* Se mantiene oculto por defecto */
    background-color: #20472d; /* Color de fondo consistente con los otros botones */
    color: white; /* Color del texto */
    padding: 15px 20px; /* Padding ajustado para un botón más amplio */
    font-size: 1.1em; /* Tamaño de fuente */
    cursor: pointer; /* Cambia el cursor al pasar por encima */
    border-radius: 8px; /* Bordes más redondeados */
    margin-top: 20px; /* Espacio superior */
    width: auto; /* Ancho automático */
    max-width: 200px; /* Ancho máximo */
    margin-left: auto; /* Centrando horizontalmente */
    margin-right: auto; /* Centrando horizontalmente */
    transition: background-color 0.3s ease, transform 0.2s; /* Transiciones suaves */
}

#btn-agendar:hover {
    background-color: #333; /* Color de fondo al pasar el ratón */
    transform: scale(1.05); /* Efecto de aumento al pasar el ratón */
}

#btn-agendar:active {
    transform: scale(1); /* Efecto de retorno a la posición original al hacer clic */
}


#texto-agendar {
    display: none;
    font-size: 0.9em;
    color: #333;
    text-align: center;
    margin-top: 10px;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}







/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
        max-width: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    h1 {
        font-size: 2em;
        margin-bottom: 15px;
    }

    input, select, textarea {
        width: 100%;
    }

    button {
        width: 100%;
        max-width: 100%;
    }

    .licores-container {
        justify-content: center;
        gap: 8px;
    }

    .licores-container label {
        width: 80px;
        height: 35px;
        font-size: 0.9em;
    }

    .resultado {
        width: 90%;
    }

    .costo-total {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    .licores-container label {
        width: 70px;
        height: 30px;
        font-size: 0.8em;
    }

    .resultado {
        font-size: 1.2em;
    }

    .costo-total {
        font-size: 1.3em;
    }
}


/* Fix logo alignment */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Ensure form container is properly centered and spaced */
.container {
    margin: 0 auto;
    padding: 20px;
    max-width: 95%; /* Slightly reduce the width for small screens */
    box-sizing: border-box; /* Ensure padding does not affect overall width */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Adjust padding for inputs and select fields */
input, select, textarea {
    margin-left: 0;
    margin-right: 0;
}

/* Fix general alignment issues */
body {
    justify-content: flex-start; /* Ensure everything aligns to the top */
}

/* Add spacing around the container for smaller screens */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 10px;
    }

    .logo {
        max-width: 150px; /* Ensure logo scales down properly */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.6em;
    }

    button {
        padding: 10px;
        font-size: 0.9em;
    }
}


/* Ensure input fields are properly aligned and responsive */
input, select, textarea {
    width: 100%; /* Make inputs take up the full width of their container */
    max-width: 100%; /* Prevent any overflow */
    box-sizing: border-box; /* Include padding and borders in width calculation */
    margin: 0; /* Reset any unwanted margin */
}

/* Adjustments for containers on smaller screens */
.container {
    max-width: 95%; /* Ensure proper width on smaller screens */
    padding: 15px; /* Adjust padding for better spacing */
    margin: auto; /* Center container horizontally */
    box-sizing: border-box; /* Maintain consistent sizing */
}

/* Further refinements for smaller devices */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 1em; /* Ensure text is readable */
        padding: 10px; /* Adjust padding for mobile comfort */
    }

    .container {
        margin: 10px auto; /* Add balanced spacing around the container */
    }
}

@media (max-width: 480px) {
    input, select, textarea {
        font-size: 0.9em; /* Smaller font size for very small screens */
        padding: 8px; /* Reduced padding */
    }

    h1 {
        font-size: 1.6em; /* Adjust heading size for small screens */
    }

    .container {
        padding: 10px; /* Reduce padding for very small devices */
    }
}

/* Limit container width on larger screens */
.container {
    max-width: 800px; /* Adjusted width for desktop */
    margin: 20px auto; /* Center the container with even margins */
    padding: 20px;
    box-sizing: border-box;
}

/* Adjust input fields for desktop */
input, select, textarea {
    max-width: 90%; /* Reduce width to create better proportions */
    margin: 0 auto; /* Center inputs within the container */
    display: block; /* Ensure inputs are block elements */
}

/* Responsive adjustments for larger screens */
@media (min-width: 1024px) {
    .container {
        padding: 30px;
    }

    input, select, textarea {
        font-size: 1.1em; /* Slightly larger font for desktop */
        padding: 12px;
    }

    h1 {
        font-size: 2.2em; /* Make the title slightly larger */
    }
}

/* Ensure input fields and labels are properly aligned */
.container {
    max-width: 800px; /* Adjusted width for desktop */
    margin: 20px auto; /* Center the container with even margins */
    padding: 20px;
    box-sizing: border-box;
}

/* Fix input and label alignment */
label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

input, select, textarea {
    width: calc(100% - 0px); /* Ensure proper spacing and alignment */
    margin: 0; /* Reset margins to align with labels */
    display: block; /* Block layout to prevent inline alignment issues */
    max-width: 100%; /* Prevent overflow */
    padding: 10px;
    box-sizing: border-box;
}

/* Responsive adjustments for larger screens */
@media (min-width: 1024px) {
    .container {
        padding: 30px;
    }

    input, select, textarea {
        font-size: 1.1em; /* Slightly larger font for desktop */
        padding: 12px;
    }

    h1 {
        font-size: 2.2em; /* Make the title slightly larger */
    }
}






