/**
 * Language Selector Component Styles
 * 语言选择器组件样式
 * 
 * @author Nepton Liu (neptonliu@hotmail.com)
 * @date 2025-01-12
 */

/* 语言选择器容器 */
.language-selector {
    text-align: center;
}

/* 语言选择下拉框 */
.language-selector select {
    appearance: none; /* 隐藏系统箭头 */
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="%23666" height="14" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M2 5l5 5 5-5z"/></svg>') no-repeat right 10px center;
    padding: 8px 32px 8px 12px;  /* 右侧增加内边距,为下拉箭头留出空间 */
    border: 1px solid #e0e0e0;  /* 显示边框 */
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    min-width: 100px;
}

/* 悬停状态 */
.language-selector select:hover {
    color: #333;
    border-color: #4285f4;
}

/* 聚焦状态 */
.language-selector select:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

/* 下拉选项样式 */
.language-selector select option {
    padding: 8px 12px;
    background: white;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .language-selector select {
        font-size: 13px;
        padding: 6px 28px 6px 10px;  /* 移动端也保持右侧间距 */
        min-width: 90px;
    }
}

