<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* ==============================================
  Tosinso Professional Dropdown Component Styles
  ============================================== */

/* --- Main Wrapper --- */
.tosinso-dropdown {
    position: relative;
    width: 100%;
    font-family: 'PinarRegular', sans-serif;
}

/* --- Trigger Button --- */
.tosinso-dropdown__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    background-color: var(--component-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    text-align: right;
}

.tosinso-dropdown__trigger:focus,
.tosinso-dropdown.is-open .tosinso-dropdown__trigger {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.tosinso-dropdown__trigger-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--text-color);
}

.tosinso-dropdown__trigger-label.is-placeholder {
    color: var(--dark-gray-color);
}

.tosinso-dropdown__trigger-arrow {
    margin-right: 10px;
    color: var(--dark-gray-color);
    transition: transform 0.3s ease;
}

.tosinso-dropdown.is-open .tosinso-dropdown__trigger-arrow {
    transform: rotate(180deg);
}

/* --- Multi-select Tags --- */
.tosinso-dropdown__tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    overflow: hidden;
}

.tosinso-dropdown__tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 13px;
    white-space: nowrap;
}

.tosinso-dropdown__tag-remove {
    background: none;
    border: none;
    color: #fff;
    opacity: 0.7;
    margin-right: 6px;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}
.tosinso-dropdown__tag-remove:hover {
    opacity: 1;
}

/* --- Dropdown Panel --- */
.tosinso-dropdown__panel {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 100%;
    background-color: var(--component-bg-color);
    border: 1px solid var(--medium-gray-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 1040; /* Below modals but above most content */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    display: flex;
    flex-direction: column;
    max-height: 300px;
}

.tosinso-dropdown.is-open .tosinso-dropdown__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Search Input --- */
.tosinso-dropdown__search-wrapper {
    padding: 10px;
    border-bottom: 1px solid var(--medium-gray-color);
}

.tosinso-dropdown__search {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}
.tosinso-dropdown__search:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Items List --- */
.tosinso-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    flex-grow: 1;
}

.tosinso-dropdown__item {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* UPDATED: Added hover effect */
.tosinso-dropdown__item:hover,
.tosinso-dropdown__item.is-focused {
    background-color: var(--light-gray-color);
}

.tosinso-dropdown__item.is-selected {
    background-color: #eaf4ff;
    color: var(--primary-hover-color);
    font-weight: 600;
}

.tosinso-dropdown__item.is-selected::after {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-hover-color);
}

/* --- Custom Item Template --- */
.tosinso-dropdown__item-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tosinso-dropdown__item-icon {
    width: 20px;
    text-align: center;
    color: var(--dark-gray-color);
}
.tosinso-dropdown__item.is-selected .tosinso-dropdown__item-icon {
    color: var(--primary-hover-color);
}

/* --- No Results Message &amp; Loader --- */
.tosinso-dropdown__message {
    padding: 20px;
    text-align: center;
    color: var(--dark-gray-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* --- Accessibility --- */
.tosinso-dropdown--hidden {
    display: none !important;
}

/* ==============================================
  ADDED: Styles for Clear Button &amp; Controls Wrapper
  ============================================== */

/* --- Wrapper for Arrow and Clear Button --- */
.tosinso-dropdown__controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.tosinso-dropdown__trigger-arrow {
    margin-right: 0; /* Remove margin since gap is now on the wrapper */
}

/* --- Clear Button (for single-select) --- */
.tosinso-dropdown__clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none; /* Hidden by default, shown by JS */
    align-items: center;
    justify-content: center;
    color: var(--dark-gray-color);
    font-size: 18px;
    font-weight: bold;
    padding: 0;
    line-height: 1;
    transition: background-color 0.2s, color 0.2s;
}

.tosinso-dropdown__clear-btn:hover {
    background-color: var(--medium-gray-color);
    color: var(--error-color);
}
</pre></body></html>