/* ========================================
   PDF EXAMPLES MODAL
   ======================================== */

.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdf-modal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.pdf-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.pdf-modal__container {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pdf-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal__close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.pdf-modal__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
    text-align: center;
}

.pdf-modal__subtitle {
    font-size: 16px;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 40px;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.pdf-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pdf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #ed7d31;
}

.pdf-card__preview {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Unique gradients for each type */
.pdf-card:nth-child(1) .pdf-card__preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pdf-card:nth-child(2) .pdf-card__preview {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.pdf-card:nth-child(3) .pdf-card__preview {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.pdf-card:nth-child(4) .pdf-card__preview {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.pdf-card__icon {
    font-size: 64px;
    color: white;
    opacity: 0.9;
}

.pdf-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pdf-card__badge--standard {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.pdf-card__badge--detailed {
    background: rgba(52, 152, 219, 0.9);
    color: white;
}

.pdf-card__content {
    padding: 20px;
}

.pdf-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

.pdf-card__desc {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 16px;
    line-height: 1.5;
}

.btn--small {
    padding: 10px 16px;
    font-size: 14px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn--small i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-modal__container {
        padding: 24px;
        width: 95%;
    }

    .pdf-modal__title {
        font-size: 24px;
    }

    .pdf-modal__subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .pdf-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pdf-card__preview {
        height: 140px;
    }
}