/* 
 * Publisher Suite Pro - Elementor Widgets Styling
 */

.psp-catalog-filter-widget {
    background: transparent;
    font-family: inherit;
}

.psp-catalog-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.psp-catalog-filter-form.layout-vertical {
    flex-direction: column;
    align-items: stretch;
}

.psp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 150px;
}

.psp-catalog-filter-form.layout-vertical .psp-filter-group {
    width: 100%;
}

.psp-filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 2px;
}

.psp-filter-group input[type="text"],
.psp-filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #f9fafb;
    font-size: 14px;
    color: #111827;
    transition: all 0.2s ease-in-out;
}

.psp-filter-group input[type="text"]:focus,
.psp-filter-group select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.psp-filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-top: 22px;
}

.psp-catalog-filter-form.layout-vertical .psp-filter-actions {
    width: 100%;
    margin-top: 10px;
}

.psp-catalog-filter-form.layout-vertical .psp-filter-actions button,
.psp-catalog-filter-form.layout-vertical .psp-filter-actions a {
    flex: 1;
}

.psp-btn-filter,
.psp-btn-reset {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 42px;
    text-decoration: none;
    line-height: 1;
}

.psp-btn-filter {
    border: 1px solid var(--psp-btn-color, #22c55e);
    color: #fff;
    transition: opacity 0.2s;
    background-color: var(--psp-btn-color, #22c55e);
}

.psp-btn-filter:hover {
    opacity: 0.9;
}

.psp-btn-reset {
    border: 1px solid #d1d5db;
    background-color: #fff;
    color: #4b5563;
    transition: background-color 0.2s;
}

.psp-btn-reset:hover {
    background-color: #f3f4f6;
    color: #111827;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .psp-catalog-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .psp-filter-group {
        width: 100%;
    }
    .psp-filter-actions {
        width: 100%;
        margin-top: 10px;
    }
    .psp-filter-actions button,
    .psp-filter-actions a {
        flex: 1;
    }
}
