/* eRadio site-specific overrides for Tom Select (replaces selectize-control.css) */

.ts-dropdown {
    position: absolute;
    z-index: 99999999;
    background: #ffffff;
    margin: 6px 0 0 0;
    border-top: 0 none;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 3px;
    line-height: normal;
}

.ts-dropdown [data-selectable] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

.ts-dropdown [data-selectable] img {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.ts-dropdown [data-selectable] .opt-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.3;
}

.ts-dropdown [data-selectable] .highlight {
    background: rgba(125, 168, 208, 0.2);
    border-radius: 1px;
}

.ts-dropdown .active {
    background-color: #edf0f2;
    color: #000;
}

.ts-dropdown .create {
    color: rgba(48, 48, 48, 0.5);
    font-size: 12px;
    padding: 5px 8px;
}

.ts-dropdown-content {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 240px;
}

.ts-wrapper,
.ts-control {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: none !important;
    min-height: 0 !important;
}

.ts-control input {
    padding: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0 none !important;
    background: none !important;
    line-height: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    font-family: 'Ubuntu', Arial, sans-serif !important;
    font-size: 12px !important;
    color: #7f7f7f !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    cursor: pointer;
    width: 100% !important;
}

.eagenda-selectize {
    position: relative;
    margin: 0;
    padding: 10px !important;
    z-index: 300;
    font-size: 14px !important;
    font-family: 'Ubuntu', Tahoma, Geneva, sans-serif;
    color: #7F7F7F;
    background: #fff;
    border-radius: 3px;
    border: 1px rgba(0, 0, 0, 0.16) solid;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1) inset;
    outline: none;
}

.eagenda-selectize select {
    padding: 0;
    border: none;
    border-radius: 0;
}

.eagenda-selectize .ts-wrapper {
    height: 19px;
}
