.angie-filter-widget-container {
    font-family: inherit;
    position: relative;
    width: 100%;
}

.angie-filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.angie-filter-field {
    flex: 1;
    min-width: 200px;
}

.angie-filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
}

.angie-filter-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.angie-filter-grid-wrapper {
    position: relative;
    min-height: 150px;
}

.angie-filter-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Card layout */
.angie-filter-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeaea;
    transition: transform 0.2s, box-shadow 0.2s;
}

.angie-filter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.angie-filter-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.angie-filter-card-content {
    padding: 16px;
}

.angie-filter-card-title {
    margin: 0 0 10px 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.angie-filter-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.15s;
}

.angie-filter-card-title a:hover {
    color: #3b82f6;
}

.angie-filter-card-excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.5;
}

.angie-filter-no-results {
    text-align: center;
    color: #666;
    grid-column: 1 / -1;
    padding: 30px 0;
    font-size: 15px;
}

/* Loading Spinner */
.angie-filter-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.angie-filter-spinner {
    width: 35px;
    height: 35px;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: angie-spin 0.8s linear infinite;
}

@keyframes angie-spin {
    to { transform: rotate(360deg); }
}
