/* ============================================
   RESÚMENES Y ESQUEMAS - ESTILOS
   ============================================ */

/* Hero Específico */
.hero-resumenes {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
}

.premium-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   PREMIUM NOTICE
   ============================================ */
.premium-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 3px solid #E67E22;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.3);
}

.premium-notice-icon {
    font-size: 4rem;
    color: #E67E22;
    flex-shrink: 0;
}

.premium-notice-content h3 {
    color: #D35400;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.premium-notice-content h3 i {
    color: #F39C12;
}

.premium-notice-content p {
    color: #856404;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.btn-premium {
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.6);
}

/* ============================================
   FILTROS - REMOVIDOS
   ============================================ */

.filters-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Filtros removidos */

/* ============================================
   DOCUMENTS GRID
   ============================================ */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.document-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.document-card.hidden {
    display: none;
}

/* Document Header */
.document-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-icon {
    font-size: 3rem;
    color: white;
}

/* Badges removidos */

/* Document Body */
.document-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.document-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.document-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.document-info {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.document-pages,
.document-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #666;
}

.document-status i {
    color: #E67E22;
}

/* Document Actions */
.document-actions {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
}

.btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-decoration: none;
    flex: 1;
}

.btn-view {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
    font-size: 1.05rem;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Botón download removido */

/* ============================================
   NO RESULTS
   ============================================ */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.no-results i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #666;
    font-size: 1.1rem;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.cta-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
}

.final-cta-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.final-cta-description {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.05rem;
}

.cta-feature i {
    color: #5CB85C;
    font-size: 1.5rem;
}

.btn-cta {
    background: white;
    color: #667eea;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: #f8f9fa;
}

/* ============================================
   MODAL PDF VIEWER
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 10001;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #333;
    transform: rotate(90deg);
}

.modal-body {
    flex-grow: 1;
    padding: 0;
    overflow: hidden;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .premium-notice {
        flex-direction: column;
        text-align: center;
    }

    .premium-notice-icon {
        font-size: 3rem;
    }

    .filters-buttons {
        flex-direction: column;
    }

    .filter-btn {
        justify-content: center;
    }

    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .document-actions {
        flex-direction: column;
    }

    .cta-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .final-cta-title {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        height: 95vh;
    }

    .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .premium-notice {
        padding: 1.5rem;
    }

    .filters-section {
        padding: 1.5rem;
    }

    .document-title {
        font-size: 1.1rem;
    }

    .final-cta {
        padding: 2rem 1.5rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
