/* Estilo general para el popup */
#auth-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}



#auth-popup.active {
    display: flex;
}

.auth-container {
    background: white;
    padding: 2em;
    width: 280px; /* Reducido el ancho del contenedor */
    text-align: center;
    border-radius: 5px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1em;
}

/* Estilos compactos para los botones */
.small-btn {
    padding: 0.5em 1em; /* Ajustar padding para tamaño compacto */
    font-size: 0.9em; /* Reducir tamaño de la fuente */
    border: none;
    border-radius: 3px;
    color: white;
    background-color: #007BFF; /* Cambia este color si deseas otro estilo */
    text-decoration: none;
    transition: background-color 0.3s;
}

.small-btn:hover {
    background-color: #0056b3;
}

/* Estilo del botón de cerrar */
.close-btn {
    margin-top: 1em;
    background: #666;
}

.close-btn:hover {
    background: #333;
}

/* Estilos para el popup del carrito */
#cart-popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
z-index: 1000;
}

#cart-popup.active {
display: flex;
}

.cart-container {
background: #1C1C1C;
padding: 2em;
width: 300px;
border-radius: 8px;
text-align: center;
max-height: 80%;
overflow-y: auto;
}

.cart-item {
margin: 1em 0;
padding: 1em;
border-bottom: 1px solid #ccc;
}

.checkout-button, .close-btn {
background-color: #007BFF;
color: white;
padding: 0.5em 1em;
border: none;
border-radius: 5px;
cursor: pointer;
}

.close-btn {
background-color: #666;
margin-top: 1em;
}


