/* CSS para embeds de vídeo no calendário do influencer */

/* Container responsivo para Instagram - formato 16:9 */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.embed-responsive-9by16::before {
    padding-top: 177.78%; /* 9:16 aspect ratio para TikTok */
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Estilo específico para embeds no calendário */
.calendar-video-embed {
    max-height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

/* Overlay para loading dos embeds */
.embed-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .embed-responsive-9by16 {
        max-height: 300px;
    }
    
    .calendar-video-embed {
        max-height: 150px;
    }
}

/* Estilo para botões de ação após adicionar vídeo */
.btn-video-action {
    transition: all 0.3s ease;
}

.btn-video-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}