/* =========================================================
   QuickPolls - Filters Style (Restored & Enhanced 2025)
   ========================================================= */

/* === FİLTRE ALANI === */
.filter-area {
    margin-top: 2.5rem;
    padding: 1rem 0;
    background: transparent;
}

.filter-divider {
    border: 0;
    border-top: 2px solid rgba(111, 255, 176, 0.4);
    margin-top: 1.5rem;
    box-shadow: 0 0 8px rgba(111, 255, 176, 0.3);
}

/* === FİLTRE KUTULARI === */
.filter-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    min-width: 190px;
    transition: all 0.3s ease;
}

.filter-box:hover {
    border-color: #34d27c;
    box-shadow: 0 0 15px rgba(0, 255, 150, 0.2);
    transform: translateY(-2px);
}

.filter-label {
    color: #b8f7ce;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* === SELECT === */
.custom-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e8f7f0;
    font-weight: 500;
    padding: 10px 40px 10px 12px;
    cursor: pointer;
    appearance: none;
}

select option {
    background-color: #0b2f21;
    color: #e8f7f0;
    font-weight: 500;
}

.custom-select:focus {
    border-color: #34d27c;
    box-shadow: 0 0 10px rgba(52, 210, 124, 0.35);
    background-color: rgba(0, 255, 150, 0.08);
}

/* === OK İKONU === */
.select-wrapper {
    position: relative;
}

.select-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6fffb0;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.select-wrapper:focus-within .select-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* === BUTONLAR === */
.btn-apply {
    width: 100%;
    padding: 13px 20px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    text-align: center;
    background: linear-gradient(90deg, #1e7b4c, #34d27c);
    border: 1.5px solid #2d9e63;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.btn-apply:hover {
    background: linear-gradient(90deg, #34d27c, #1e7b4c);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 18px rgba(52, 210, 124, 0.4);
}

/* === ARAMA KUTUSU === */
.input-group-text {
    background: linear-gradient(135deg, #166534, #22a053);
    color: #fff;
    border: none !important;
    font-size: 1.3rem;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 10px rgba(36, 155, 90, 0.3);
}

#searchPoll {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 10px 10px 0;
    color: #e8f7f0;
    transition: all 0.3s ease;
}

#searchPoll:focus {
    border-color: #34d27c;
    background: rgba(0, 255, 150, 0.08);
    box-shadow: 0 0 14px rgba(52, 210, 124, 0.35);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .filter-area .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
        max-width: 500px;
    }

    .filter-action {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .filters {
        grid-template-columns: 1fr;
    }
}