/**
 * Pix Auto Deal Top Filter Styles
 */

.pixad-top-filter {
    background-color: #fff;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05)
}


.pixad-top-filter #pixad-date-range {
    background-color: #f5f5f5;
    color: #222;
}
.pixad-filter-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* Горизонтальный стиль формы */
.pixad-filter-form.pixad-horizontal {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
}

.pixad-filter-form.pixad-horizontal .pixad-filter-row {
    align-items: flex-start;
    width: 100%;
    margin: 0;
}

.pixad-top-filter .nice-select {
    position: relative;
    height: 50px;
    background: #f5f5f5;
    border-radius: 0;
    border: none;
    margin-right: 0px;
    color: #222222;
    padding: 2px 35px 13px 24px;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.pixad-filter-form.pixad-horizontal .pixad-filter-col {
    margin-right: 15px;
    margin-bottom: 0;
}

.pixad-filter-form.pixad-horizontal .pixad-submit-col {
    margin-right: 0;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.pixad-filter-form.pixad-horizontal .pixad-submit-field {
    margin-top: 30px;
    width: 100%;
}

.pixad-filter-form.pixad-horizontal .pixad-search-button {
    height: 46px;
    white-space: nowrap;
    width: 100%;
}

.pixad-filter-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    align-items: flex-end;
}

.pixad-top-filter .pixad-filter-col {
    padding: 0 10px;
    margin-bottom: 15px;
    flex: 1;
    min-width: 24%;
    max-width: 24%;
    margin-right: 1% !important;
}

.pixad-submit-col {
    flex: 0 0 auto;
}

.pixad-filter-field {
    position: relative;
}

.pixad-filter-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.pixad-date-range-input,
.pixad-select {
    width: 100%;
    height: 46px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
}

.pixad-date-range-input:focus,
.pixad-select:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.pixad-date-range-input {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
    cursor: pointer;
}

.pixad-search-button {
    height: 46px;
    padding: 0 25px;
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pixad-search-button:hover {
    background-color: #3a7bc8;
}

.pixad-submit-field {
    margin-top: 24px;
}

/* Nice Select customization */
.nice-select {
    width: 100%;
    height: 46px;
    line-height: 44px;
    border-radius: 4px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .pixad-filter-form.pixad-horizontal .pixad-filter-row {
        flex-wrap: wrap;
    }
    
    .pixad-filter-form.pixad-horizontal .pixad-filter-col {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .pixad-filter-form.pixad-horizontal .pixad-submit-col {
        flex: 0 0 100%;
        margin-top: 10px;
    }
    
    .pixad-filter-form.pixad-horizontal .pixad-submit-field {
        width: 100%;
    }
    
    .pixad-filter-form.pixad-horizontal .pixad-search-button {
        width: 100%;
    }
    
    .pixad-top-filter .pixad-filter-col {
    min-width: 32%;
    max-width: 32%;
}
    
    
}



/* Responsive styles */
@media (max-width: 800px) {
    
    .pixad-top-filter .pixad-filter-col {
        min-width: 49%;
        max-width: 49%;
}
    
    
}


/* Responsive styles */
@media (max-width: 768px) {
    
    .pixad-top-filter .pixad-filter-col {
        min-width: 100%;
        max-width: 100%;
}
    
    
}



.pixad-top-filter .nice-select .list {
    z-index: 99;
}



html .sidebar .widget {
    overflow: visible !important;
}