/* Overlay do Modal */
.sm-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Garantir que fica acima de tudo */
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

/* Classe para esconder o modal via JS */
.sm-modal-overlay.js-video-modal-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Container do Vídeo */
.sm-modal-container {
    position: relative;
    width: 91.666%;
    /* 11/12 */
    max-width: 896px;
    /* 4xl */
    background-color: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(1);
    transition: transform 0.3s ease;
}

/* Efeito de zoom ao abrir */
.js-video-modal-hidden .sm-modal-container {
    transform: scale(0.9);
}

/* Botão Fechar */
.sm-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #dc2626;
    /* red-600 */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    z-index: 10001;
}

.sm-modal-close:hover {
    background-color: #ef4444;
    transform: rotate(90deg);
}

/* Corpo do Vídeo (Iframe/Player) */
.sm-modal-video-body {
    width: 100%;
    height: 384px;
    /* h-96 */
    background-color: #000;
}

@media (min-width: 768px) {
    .sm-modal-video-body {
        height: 500px;
        /* md:h-[500px] */
    }
}