/* Searchable Select (Arama Yap\131 labilir A\e7 \131 l\131 r Kutu) Bile\15f eni */
.tss-search-select-wrap {
    position: relative;
    width: 100%;
    user-select: none;
    font-family: inherit;
    box-sizing: border-box;
}
.tss-search-select-btn {
    width: 100% !important;
    height: 40px !important;
    padding: 0 2.2rem 0 0.85rem !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.18s ease !important;
    position: relative !important;
    outline: none !important;
}
.tss-search-select-btn:hover {
    border-color: #94a3b8 !important;
    background-color: #ffffff !important;
}
.tss-search-select-btn:focus,
.tss-search-select-wrap.is-open .tss-search-select-btn {
    border-color: #0284c7 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}
.tss-search-select-btn.is-active {
    border-color: #0284c7 !important;
    background-color: #eff6ff !important;
    color: #0369a1 !important;
}
.tss-search-select-btn .tss-ss-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    display: block;
}
.tss-search-select-btn .tss-ss-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: #64748b;
    transition: transform 0.2s ease;
    pointer-events: none;
}
.tss-search-select-wrap.is-open .tss-ss-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #0284c7;
}
.tss-search-select-btn .tss-ss-clear {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #475569;
    font-size: 0.7rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}
.tss-search-select-btn .tss-ss-clear:hover {
    background: #ef4444;
    color: #ffffff;
}
.tss-search-select-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    min-width: 200px;
    max-width: 100vw;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 1060;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}
.tss-search-select-wrap.is-open .tss-search-select-dropdown {
    display: flex;
}
.tss-ss-search-box {
    padding: 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}
.tss-ss-search-input {
    width: 100% !important;
    height: 34px !important;
    padding: 0 10px 0 32px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 7px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s ease;
}
.tss-ss-search-input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15) !important;
}
.tss-ss-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.78rem;
    color: #94a3b8;
    pointer-events: none;
}
.tss-ss-options-list {
    max-height: 230px;
    overflow-y: auto;
    margin: 0;
    padding: 4px;
    list-style: none;
}
.tss-ss-options-list::-webkit-scrollbar { width: 6px; }
.tss-ss-options-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.tss-ss-option {
    padding: 8px 10px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #334155;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.tss-ss-option:hover {
    background: #e0f2fe;
    color: #0369a1;
}
.tss-ss-option.is-selected {
    background: #eff6ff;
    color: #0284c7;
    font-weight: 700;
}
.tss-ss-option.is-selected::after {
    content: "\2713 ";
    font-weight: 900;
    font-size: 0.82rem;
    color: #0284c7;
}
.tss-ss-empty {
    padding: 16px 12px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}

/* Zorunlu alan bo\15f  b\131 rak\131 ld\131 \11f \131 nda uyar\131  */
.tss-ss-invalid-msg {
    display: none;
    margin-top: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #dc2626;
}
.tss-search-select-wrap.is-invalid .tss-ss-invalid-msg { display: block; }
.tss-search-select-wrap.is-invalid .tss-search-select-btn {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}
