﻿/* =========================================================
   SIDIG Theme - Tom Select
   File: public/theme/aistich/css/tomselect.css
   ========================================================= */
.ts-wrapper.select2 {
    width: 100% !important;
}

.ts-wrapper.select2 .ts-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    min-height: 48px !important;
    font-size: 0.875rem !important;
    color: #0f172a !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.dark .ts-wrapper.select2 .ts-control {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #ffffff !important;
}

.ts-wrapper.select2.focus .ts-control {
    border-color: #1e4c9a !important;
    box-shadow: 0 0 0 2px rgba(30, 76, 154, 0.2) !important;
}

.ts-wrapper.single .ts-control .item {
    color: inherit !important;
    font-weight: 500;
}

.ts-dropdown.select2 {
    border-radius: 0.75rem !important;
    border: 1px solid #e2e8f0 !important;
    background: white !important;
    margin-top: 0.5rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    z-index: 99999 !important;
}

.dark .ts-dropdown.select2 {
    background: #0f172a !important;
    border-color: #1e293b !important;
}

.ts-dropdown .option {
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    color: #475569 !important;
}

.dark .ts-dropdown .option {
    color: #94a3b8 !important;
}

.ts-dropdown .option.active,
.ts-dropdown .option:hover {
    background: #f1f5f9 !important;
    color: #1e4c9a !important;
    font-weight: 600;
}

.dark .ts-dropdown .option.active,
.dark .ts-dropdown .option:hover {
    background: #1e293b !important;
    color: white !important;
}
