/* FNSS Resources Widget - base styles (overridable via Elementor panel) */
.fnss-res-list {
    width: 100%;
}
.fnss-res-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.15s;
}
.fnss-res-row:first-child {
    border-top: 1px solid #eee;
}
.fnss-res-row--odd {
    background-color: #f9fafb;
}
.fnss-res-row:hover {
    background-color: #eef3fb;
}
.fnss-res-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.fnss-res-icon svg {
    width: 24px;
    height: 24px;
}
.fnss-res-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fnss-res-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}
.fnss-res-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.fnss-res-tag {
    display: inline-block;
    padding: 1px 8px;
    background: #f0f5fd;
    color: #1863DC;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}
.fnss-res-size {
    font-size: 11px;
    color: #999;
}
.fnss-res-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fnss-res-action {
    display: inline-flex;
    align-items: center;
    color: #1863DC;
    text-decoration: none;
    transition: color 0.15s;
}
.fnss-res-action:hover {
    color: #0f4a9e;
}
.fnss-res-empty {
    text-align: center;
    padding: 30px 16px;
    color: #999;
    font-size: 14px;
}

/* Search */
.fnss-res-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.fnss-res-search-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}
.fnss-res-search {
    display: block;
    width: 220px;
    padding: 8px 12px 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    background: #fff;
    transition: border-color 0.15s;
}
.fnss-res-search:focus {
    outline: none;
    border-color: #1863DC;
    box-shadow: 0 0 0 3px rgba(24,99,220,0.1);
}

/* Pagination */
.fnss-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 0 8px;
}
.fnss-pagination__btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}
.fnss-pagination__btn:hover {
    border-color: #1863DC;
    color: #1863DC;
}
.fnss-pagination__btn--active {
    background: #1863DC;
    border-color: #1863DC;
    color: #fff;
}
.fnss-pagination__btn--active:hover {
    background: #0f4a9e;
    border-color: #0f4a9e;
    color: #fff;
}

@media (max-width: 600px) {
    .fnss-res-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
    }
    .fnss-res-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
