/* _content/Transfero/Pages/Index.cshtml.rz.scp.css */
/* ── Servis Tipi Tab Seçici ── */
.search-tabs[b-m2htoglpxf] {
    display: flex;
    gap: .6rem;
    background: #f0f2f8;
    border-radius: 14px;
    padding: .35rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.search-tabs[b-m2htoglpxf]::-webkit-scrollbar {
    display: none;
}

.search-tab[b-m2htoglpxf] {
    flex: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .6rem .85rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    line-height: 1;
}

.search-tab:hover:not(.search-tab--active)[b-m2htoglpxf] {
    background: rgba(26, 35, 126, .07);
    color: #1A237E;
}

.search-tab--active[b-m2htoglpxf] {
    background: #1A237E;
    border-color: #1A237E;
    color: #fff;
    box-shadow: 0 2px 14px rgba(26, 35, 126, .35);
}

.search-tab--active svg[b-m2htoglpxf] {
    opacity: 1;
}

.search-tab svg[b-m2htoglpxf] {
    flex-shrink: 0;
    opacity: .9;
}

@media (max-width: 768px) {
    .search-widget[b-m2htoglpxf] {
        padding: 1rem;
    }

    .search-row[b-m2htoglpxf] {
        align-items: stretch;
    }

    .search-row .search-field[b-m2htoglpxf] {
        width: 100%;
        flex: 1 1 100%;
    }

    .search-row .search-field input[b-m2htoglpxf] {
        width: 100%;
        box-sizing: border-box;
    }

    .search-row2[b-m2htoglpxf] {
        flex-direction: column;
    }

    .search-row2 .search-field[b-m2htoglpxf] {
        width: 100%;
    }

    .search-row2 .search-field input[b-m2htoglpxf] {
        width: 100%;
        box-sizing: border-box;
    }

    .btn-search[b-m2htoglpxf] {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .search-tabs[b-m2htoglpxf] {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .search-tab[b-m2htoglpxf] {
        flex: 1 1 calc(50% - .35rem);
        min-width: 0;
        font-size: .68rem;
        padding: .5rem .45rem;
        justify-content: center;
    }
}

/* ── Havalimanı Autocomplete Dropdown ── */
.search-field[b-m2htoglpxf] {
    position: relative;
}

.sw-ac-list[b-m2htoglpxf] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    width: max-content;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .13);
    z-index: 300;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    display: none;
    max-height: 360px;
    padding: .4rem;
}

.sw-ac-list.open[b-m2htoglpxf] {
    display: block;
}

.sw-ac-item[b-m2htoglpxf] {
    display: flex;
    align-items: center;
    padding: .85rem 1rem;
    cursor: pointer;
    transition: background .12s;
    border-radius: 8px;
    margin-bottom: .2rem;
}

.sw-ac-item:last-child[b-m2htoglpxf] {
    margin-bottom: 0;
}

.sw-ac-item:hover[b-m2htoglpxf],
.sw-ac-item.sw-ac-active[b-m2htoglpxf] {
    background: #eff6ff;
}

.sw-ac-kod[b-m2htoglpxf] {
    font-size: .68rem;
    font-weight: 700;
    color: #1A237E;
    background: #e8eaf6;
    padding: .25rem .55rem;
    border-radius: 5px;
    min-width: 2.6rem;
    text-align: center;
    flex-shrink: 0;
    letter-spacing: .04em;
    margin-right: .75rem;
}

.sw-ac-lbl[b-m2htoglpxf] {
    flex: 1;
    font-size: .82rem;
    color: #1e293b;
    font-weight: 600;
    white-space: nowrap;
    min-width: 0;
}

.sw-ac-il[b-m2htoglpxf] {
    font-weight: 400;
    color: #64748b;
}

.sw-ac-yer-ico[b-m2htoglpxf] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #94a3b8;
    width: 1.3rem;
    margin-right: .75rem;
}

/* ── Google Maps Modu Toggle ── */
.sw-gm-toggle[b-m2htoglpxf] {
    display: flex;
    align-items: center;
    margin-bottom: .6rem;
}

.sw-gm-lbl[b-m2htoglpxf] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    user-select: none;
    padding: .28rem .65rem .28rem .4rem;
    border-radius: 99px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    transition: border-color .15s, background .15s, color .15s;
}

.sw-gm-lbl:hover[b-m2htoglpxf] {
    border-color: #4285F4;
    color: #1a237e;
    background: #eff6ff;
}

.sw-gm-lbl:has(.sw-gm-chk:checked)[b-m2htoglpxf] {
    border-color: #4285F4;
    background: #eff6ff;
    color: #1a237e;
}

.sw-gm-chk[b-m2htoglpxf] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.7rem;
    height: 1rem;
    border-radius: 99px;
    background: #cbd5e1;
    border: none;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s;
    outline: none;
}

.sw-gm-chk[b-m2htoglpxf]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}

.sw-gm-chk:checked[b-m2htoglpxf] {
    background: #4285F4;
}

.sw-gm-chk:checked[b-m2htoglpxf]::after {
    transform: translateX(.7rem);
}

/* Tarayıcı native doğrulama (invalid) stilini sıfırla */
#neredenInp:invalid[b-m2htoglpxf],
#nereyeInp:invalid[b-m2htoglpxf] {
    box-shadow: none;
    outline: none;
}

/* ── Mesafe Göstergesi ── */
.sw-mesafe[b-m2htoglpxf] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .5rem 0 .4rem;
    padding: .45rem .85rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 600;
    color: #1A237E;
}
/* _content/Transfero/Pages/Shared/_Layout.cshtml.rz.scp.css */
/* Transfero — Layout scoped styles */
/* Tüm stiller wwwroot/css/site.css içindedir */
