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: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
    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: 250px;
    padding: 12px 20px;
    background-color: #20472d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    display: inline-block;
    margin: 0 auto;
}

button:hover {
    background-color: #333;
    transform: scale(1.05);
}

button:active {
    transform: scale(1);
}

.resultado {
    display: none;
    text-align: center;
    font-size: 1.2em;
    color: #20472d;
    background-color: #f1f8f3;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    width: 90%;
    animation: fadeInUp 0.5s ease-out;
}

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

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

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

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

.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;
}

/* Efecto de selección visual */
.licores-container input:checked + span {
    animation: pulse 0.3s ease;
}

#btn-agendar {
    display: none;
    background-color: #20472d;
    color: white;
    padding: 15px 20px;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 20px;
    width: auto;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s ease, transform 0.2s;
}

#btn-agendar:hover {
    background-color: #333;
    transform: scale(1.05);
}

/* 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); }
}

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

/* Popups */
#popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#popup-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.3s ease-out;
}

#popup-close-btn {
    margin-top: 15px;
    padding: 10px 25px;
    background-color: #20472d;
    color: white;
    border: none;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 20px; }
    h1 { font-size: 2em; }
    button { width: 100%; }
    .licores-container { justify-content: center; }
}