/* Searchable Select Dropdown */
.ss-wrapper {
    position: relative;
    width: 100%;
}

.ss-display {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: #6b7280;
    background: #fff url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 1rem center;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
}

.ss-display.ss-has-value {
    color: #1f2937;
}

.ss-wrapper.ss-open .ss-display {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ss-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 100;
    overflow: hidden;
}

.ss-search {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    outline: none;
    background: #f8fafc;
}

.ss-search:focus {
    background: #fff;
}

.ss-list {
    max-height: 200px;
    overflow-y: auto;
}

.ss-option {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.1s;
}

.ss-option:hover {
    background: #eff6ff;
}

.ss-option.ss-active {
    background: #1e3a5f;
    color: #fff;
}

.ss-option.ss-active:hover {
    background: #1e3a5f;
}

.ss-no-result {
    padding: 0.75rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}
