/* Multi-Select Dropdown (Ship Type) */
.multi-select-wrapper {
    position: relative;
    width: 100%;
}

.multi-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 136, 0.6);
    color: #00ff88;
    padding: 5px 7px;
    padding-right: 24px;
    border-radius: 2px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    cursor: pointer;
    height: 28px;
    box-sizing: border-box;
    transition: background 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    width: 100%;
    user-select: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ff88' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
    background-size: 10px;
}

.multi-select-trigger:hover,
.multi-select-trigger:focus {
    outline: none;
    border-color: #00cc66;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

.multi-select-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
}

.multi-select-text.placeholder {
    color: #00ff88;
}

.multi-select-arrow {
    display: none !important;
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    background: rgba(10, 15, 10, 0.97);
    border: 1px solid rgba(0, 255, 136, 0.5);
    border-radius: 4px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-top: 2px;
}

.multi-select-dropdown.hidden {
    display: none;
}

.multi-select-actions {
    display: flex;
    gap: 4px;
    padding: 4px 6px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.multi-select-action-btn {
    flex: 1;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    padding: 3px 6px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s;
}

.multi-select-action-btn:hover {
    background: rgba(0, 255, 136, 0.2);
}

.multi-select-options {
    overflow-y: auto;
    flex: 1;
    max-height: 200px;
}

.multi-select-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 0.7rem;
    color: #ccc;
    font-family: 'JetBrains Mono', monospace;
    transition: background 0.15s;
    user-select: none;
}

.multi-select-option:hover {
    background: rgba(0, 255, 136, 0.12);
    color: #00ff88;
}

.multi-select-option.selected {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.06);
}

.multi-select-option .ms-checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(0, 255, 136, 0.5);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.6rem;
    transition: background 0.15s, border-color 0.15s;
}

.multi-select-option.selected .ms-checkbox {
    background: rgba(0, 255, 136, 0.3);
    border-color: #00ff88;
}

.multi-select-option .ms-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.multi-select-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 2px;
    padding: 0 4px;
    margin-right: 3px;
    font-size: 0.6rem;
    color: #00ff88;
    max-width: 100%;
}

