/**
 * VoiceLanguageSelect Styles
 * 
 * Compact select component for voice language selection.
 * Designed to fit next to icon buttons.
 */

.container {
    display: inline-flex;
    align-items: center;
}

.select {
    height: 36px;
    padding: 0 0.5rem;
    padding-right: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--surface-color);
    color: var(--text-primary);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    min-width: 120px;
}

.select:hover:not(:disabled) {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color, #f25843);
}

.select:focus {
    outline: none;
    border-color: var(--primary-color, #f25843);
    box-shadow: 0 0 0 2px rgba(242, 88, 67, 0.1);
}

.select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Compact mode - smaller width */
.compact .select {
    min-width: 70px;
    padding-left: 0.375rem;
    font-size: 0.75rem;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23aaa' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    }
}
