/* ==========================================================
   FILTERS — continent / country / city selects, filter buttons
   Part of the CiaoCity modular stylesheet system.
   Design tokens live in base.css — do not redefine colors here.
   ========================================================== */

/* ===================== */
.filter-section {
    padding: 12px 16px;
    margin-bottom: 32px;
    border-radius: var(--radius-pill);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Diğer filtreler - alt satırda */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 120px;
}

.select-wrapper i:first-child {
    position: absolute;
    left: 14px;
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 1;
}

.select-arrow {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.select-wrapper select {
    width: 100%;
    padding: 12px 36px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    outline: none;
    appearance: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.select-wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.select-wrapper select:hover {
    border-color: rgba(79, 70, 229, 0.3);
}

/* ===================== */
.filter-btn-wrapper {
    flex: 0 0 auto;
    width: auto;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
}

.filter-btn i {
    font-size: 1.1rem;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.filter-btn.active:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.4);
}

.filter-btn:active {
    transform: scale(0.95);
}

/* Konum bildirimi (filters.js -> showGeoNotice) */
.geo-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--text-main);
}

.geo-notice i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.geo-notice span {
    flex: 1;
    /* min-width:auto varsayılanı bazı tarayıcılarda (Firefox gibi) metnin
       sarmalanmak yerine kutuyu taşırmasına sebep oluyordu. */
    min-width: 0;
}

.geo-notice button {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .geo-notice {
        flex-wrap: wrap;
    }
    .geo-notice button {
        margin-left: 26px;
    }
}

/* "Daha fazla göster" (filters.js -> ensureLoadMoreButton) */
.load-more-btn {
    display: block;
    margin: 24px auto 8px;
    padding: 12px 28px;
}
