/* Fondo semitransparente por defecto */
#sep-floating-box {
    position: fixed;
    bottom: 2.5%;
    right: 2.5%;
    width: 280px;
    background-color: rgba(188, 29, 144, 0.75);
    transition: background-color 0.3s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
    color: white;
    font-family: sans-serif;
}

/* Fondo sólido al hacer hover o touch */
#sep-floating-box:hover,
#sep-floating-box:active,
#sep-floating-box.touch-active {
    background-color: #BC1D90;
}

/* Título y texto */
#sep-floating-box h3 {
    margin-top: 0;
    color: #00CCF4;
}

#sep-floating-box strong,
#sep-floating-box a {
    color: white !important;
}

#sep-countdown {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #909090;
}

/* Botón reservar */
.sep-reserve-btn {
    background: #637DE5;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.sep-reserve-btn:hover {
    background: #4f67cb;
}

/* Botón cerrar estilo círculo (esquina superior derecha) */
#sep-close-box {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    background: #00CCF4;
    border: none;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

/* Reutiliza dimensiones controladas para la imagen del reloj */
#sep-close-box img {
    width: 60%;         /* Relativo al botón */
    height: auto;
    max-width: 18px;    /* Tamaño límite para evitar desbordes */
    max-height: 18px;
    object-fit: contain;
    pointer-events: none; /* Para que el clic pase al botón, no a la imagen */
}


/* Botón reabrir redondo con animación de crecimiento */
#sep-reopen-box {
    position: fixed;
    bottom: 2.5%;
    right: 2.5%;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #00CCF4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: growCircle 0.6s ease-out;
}

#sep-reopen-box img {
    width: 60%;      /* Controla el tamaño relativo */
    height: auto;
    max-width: 30px; /* Limita el ancho máximo */
    max-height: 30px; /* Limita la altura máxima */
    object-fit: contain;
}

@keyframes growCircle {
    from {
        transform: scale(0.2);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
