.pdffm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pdffm-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: #f8f9fb;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.pdffm-search-bar input[type="text"],
.pdffm-search-bar select {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    color: #111;
}

.pdffm-search-bar input[type="text"]:focus,
.pdffm-search-bar select:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.pdffm-search-bar button {
    padding: 10px 24px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}

.pdffm-search-bar button:hover {
    background: #135e96;
}

.pdffm-category-section {
    margin-bottom: 40px;
}

.pdffm-category-title {
    font-size: 22px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2271b1;
    color: #1d2327;
}

.pdffm-forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.pdffm-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.pdffm-form-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.pdffm-form-icon {
    color: #d63638;
    margin-bottom: 12px;
}

.pdffm-form-title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.3;
    color: #1d2327;
}

.pdffm-form-description {
    color: #444;
    font-size: 14px;
    margin: 0 0 16px;
    line-height: 1.55;
    padding: 12px;
    background: #f8f9fb;
    border-radius: 6px;
    border-left: 3px solid #2271b1;
}

.pdffm-form-description p {
    margin: 0 0 8px;
}
.pdffm-form-description p:last-child {
    margin-bottom: 0;
}
.pdffm-form-description strong,
.pdffm-form-description b {
    color: #1d2327;
}
.pdffm-form-description ul,
.pdffm-form-description ol {
    margin: 0 0 8px 18px;
    padding: 0;
}
.pdffm-form-description a {
    color: #2271b1;
    text-decoration: underline;
}

.pdffm-form-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.pdffm-btn {
    flex: 1;
    padding: 9px 14px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.pdffm-btn-view {
    background: #2271b1;
    color: #fff !important;
    border: 1px solid #2271b1;
}

.pdffm-btn-view:hover {
    background: #135e96;
    border-color: #135e96;
}

.pdffm-btn-download {
    background: #fff;
    color: #2271b1 !important;
    border: 1px solid #2271b1;
}

.pdffm-btn-download:hover {
    background: #f0f6fc;
}

.pdffm-btn-desc {
    background: transparent;
    color: #555 !important;
    border: 1px solid #d1d5db;
    cursor: pointer;
}

.pdffm-btn-desc:hover {
    background: #f3f4f6;
    color: #111 !important;
    border-color: #9ca3af;
}

.pdffm-btn-desc[aria-expanded="true"] {
    background: #eef4fa;
    color: #2271b1 !important;
    border-color: #2271b1;
}

.pdffm-no-file {
    color: #a00;
    font-style: italic;
    margin: 0;
    font-size: 13px;
}

.pdffm-no-results,
.pdffm-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    background: #f8f9fb;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .pdffm-search-bar {
        flex-direction: column;
    }
    .pdffm-search-bar input[type="text"],
    .pdffm-search-bar select,
    .pdffm-search-bar button {
        width: 100%;
    }
}
