/* Estilos base */
.hls-flotante-btn {
    padding: 12px 24px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 10px 0;
}

.hls-flotante-btn:hover {
    background-color: #005177;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Modales */
.hls-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
}

.hls-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 90%;
    width: 450px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hls-modal h3 {
    color: #d9534f;
    margin-top: 0;
    font-size: 22px;
}

.hls-modal p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hls-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.hls-retry-btn, .hls-cancel-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.hls-retry-btn {
    background-color: #5cb85c;
    color: white;
}

.hls-retry-btn:hover {
    background-color: #4cae4c;
}

.hls-cancel-btn {
    background-color: #f0f0f0;
    color: #333;
}

.hls-cancel-btn:hover {
    background-color: #e0e0e0;
}

.hls-download-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin: 15px 0;
    transition: all 0.3s;
}

.hls-download-btn:hover {
    background-color: #005177;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hls-close-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.hls-close-btn:hover {
    background-color: #e0e0e0;
}