/* Pagination Styles */
.pagination {
    gap: 8px;
}
.pagination .page-item .page-link {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.2s ease;
    min-width: 44px;
    text-align: center;
}
.pagination .page-item .page-link:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.pagination .page-item.disabled .page-link {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

/* Efeito na seta do botão */
.video-card:hover .fa-arrow-right {
    transform: translateX(4px);
}

/* Animação suave para os cards */
.video-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover no play button */
.video-card:hover .fa-play {
    color: white !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
    }
}

/* Modal de Vídeo */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    animation: slideUp 0.4s ease;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.video-modal-body {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .video-modal {
        padding: 10px;
    }
    
    .video-modal-close {
        top: -45px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Campo de pesquisa responsivo */
@media (max-width: 991px) {
    .nav-item form input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px;
    }
    
    .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        width: 100%;
    }
}

/* Estilo do placeholder */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}