.pdm-frontend-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pdm-no-documents {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.pdm-year-section {
    margin-bottom: 50px;
}

.pdm-year-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #376d35;
    display: inline-block;
}

.pdm-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .pdm-documents-grid {
        grid-template-columns: 1fr;
    }
}

.pdm-document-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid #e0e0e0;
}

.pdm-document-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #376d35;
}

.pdm-document-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #376d35 0%, #b8d8a3 100%);
    border-radius: 10px;
    color: #fff;
    flex-shrink: 0;
}

.pdm-document-info {
    flex: 1;
}

.pdm-document-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.pdm-document-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.pdm-document-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.pdm-document-size {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-weight: 500;
}

.pdm-document-actions {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.pdm-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.pdm-btn-view {
    background: #376d35;
    color: #fff;
}

.pdm-btn-view:hover {
    background: #b8d8a3;
    color: #fff;
    transform: translateY(-1px);
}

.pdm-btn-download {
    background: #fff;
    color: #376d35;
    border: 2px solid #376d35;
}

.pdm-btn-download:hover {
    background: #376d35;
    color: #fff;
    transform: translateY(-1px);
}

.pdm-btn svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .pdm-btn-view{
        display: none;
    }
    .pdm-frontend-container {
        padding: 15px;
    }

    .pdm-year-title {
        font-size: 26px;
    }

    .pdm-document-card {
        padding: 20px;
    }

    .pdm-document-title {
        font-size: 16px;
    }

    .pdm-document-actions {
        flex-direction: column;
    }

    .pdm-btn {
        width: 100%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pdm-document-card {
    animation: fadeInUp 0.5s ease;
}

.pdm-year-section:nth-child(1) .pdm-document-card {
    animation-delay: 0.1s;
}

.pdm-year-section:nth-child(2) .pdm-document-card {
    animation-delay: 0.2s;
}

.pdm-year-section:nth-child(3) .pdm-document-card {
    animation-delay: 0.3s;
}
