/* 全局样式重置与基础配置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}
.container {
    max-width: 100%;
    min-height: 100vh;
    position: relative;
    padding-bottom: 5px;
    background-color: #DEE9FB;
}
.top{
	width: 99%;
    height: 150px;
    background-image: url(../images/top.png);
    background-size: 300px 150px;
    background-repeat: no-repeat;
    background-position: right center
}

.bootom{
	width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:10px;
    margin-bottom: -10px;
}


.title{
	width: 100%;
    padding-left: 20px;
    padding-top: 40px;
    font-size: 28px;
    font-weight: bold;
    color: #373944;
}
.samlltitle{
	width: 100%;
	font-size: 12px;
    padding-left: 20px;
    color: #6E7282;
}

/* 修改input默认提示文字颜色 */
::placeholder {
  color: #AAAFBC;
  font-size: 12px;
}
/* 兼容火狐浏览器 */
::-moz-placeholder {
  color: #AAAFBC;
  font-size: 12px;
}

/* 头部样式 */
.header {
    position: relative;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 18px;
    font-weight: 500;
}

.header-back {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
}


/* 加载动画样式 */
.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 错误提示样式 */
.error-message {
    display: none;
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    margin: 20px auto;
    border: 2px solid #f5c6cb;
    border-radius: 8px;
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
    position: relative;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 90%;
}

/* 遮罩层样式 */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
}

/* 主内容区样式 */
.main-content {
    padding: 15px;
    margin-top: -50px;
}
.report-form {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 表单标题与Logo */
.form-title {
    font-size: 22px;
    font-weight: bold;
    color: #09aeef;
    text-align: center;
    margin: 10px 0 50px 0;
    letter-spacing: 1px;
}
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.form-logo {
    width: 60px;
    height: 30px;
}

/* 欢迎语文本样式 */
.welcome-text {
    margin: 20px 0 30px 0;
    padding: 0 10px;
}
.welcome-text p {
    font-size: 14px;
    color: #413939;
    line-height: 1.6;
    margin-bottom: 12px;
    text-indent: 2em;
    text-align: justify;
}

/* 虚线分隔线 */
.dotted-divider {
    height: 1px;
    background: transparent;
    border-bottom: 1px dashed #ccc;
    margin: 20px 0 30px 0;
    width: 100%;
}

/* 表单组基础样式 */
.form-group {
    margin-bottom: 24px;
    position: relative;
}
.form-label-bold {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}
.form-label-light {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* 输入框与文本域样式 */
.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.3s;
    width: 100%;
}
.form-control:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}
.input-field {
    width: 100%;
    height: 36px;
    padding: 0 15px;
    border: none;
    background: none;
    font-size: 15px;
    outline: none;
    border-radius: 8px;
}
.textarea-field {
    width: 100%;
    padding: 12px;
    border: none;
    background: none;
    font-size: 15px;
    outline: none;
    resize: vertical;
    font-family: inherit;
    border-radius: 8px;
    min-height: 100px;
}

/* 字数统计样式 */
.word-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: -20px;
    margin-right: 8px;
}

/* 必选标记样式 */
.required-star {
    color: #f5222d;
    font-size: 15px;
    font-weight: 700;
    margin-right: 4px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

/* 错误提示文本样式 */
.error-tip {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    padding-left: 5px;
    display: none;
}

/* 文件上传区域样式 */
.upload-control {
    padding: 0;
    border: none;
}
.upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
}
.upload-area:hover {
    border-color: #667eea;
    background-color: #f5f5f5;
}
.upload-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
}
.upload-icon {
    font-size: 28px;
    color: #999;
    font-weight: 300;
}
.upload-text-wrapper {
    flex: 1;
}
.upload-text {
    display: block;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}
.upload-hint {
    display: block;
    font-size: 12px;
    color: #999;
}

/* 文件预览样式 */
.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}
.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.preview-item img,
.preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.file-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
}

/* 地址选择区域样式 */
.address-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.address-display {
    flex: 1;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #999;
    line-height: 1.5;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.address-display:hover {
    border-color: #667eea;
    background: #f5f5f5;
}
.address-display:empty::before {
    content: "点击下方按钮在地图上选择地址";
    color: #999;
}
.address-clear-btn {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.address-clear-btn:hover {
    background: #fee2e2;
    border-color: #ff4d4f;
}
.address-clear-btn:active {
    transform: scale(0.95);
}
.clear-icon {
    font-size: 20px;
    color: #999;
    font-weight: bold;
    line-height: 1;
    transition: color 0.2s;
}
.address-clear-btn:hover .clear-icon {
    color: #ff4d4f;
}
.clear-text {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    transition: color 0.2s;
}
.address-clear-btn:hover .clear-text {
    color: #ff4d4f;
}
/* 清空按钮隐藏时，地址显示区域占满宽度 */
.address-container:has(.address-clear-btn[style*="display: none"]) .address-display {
    width: 100%;
}
.location-icon {
    width: 18px;
    height: 18px;
    float: right;
}

/* 联系方式输入框样式 */
.phone-control {
    display: flex;
    align-items: center;
}
.phone-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

/* 提交按钮样式 */
.form-actions {
    margin-top: 32px;
}


.button-group {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.button-group .action-btn,
.button-group .submit-btn {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

/* 首页按钮样式 */
.action-btn.home-btn {
    background: #4e8fe3;
    color: #fff;
}

.action-btn.home-btn:active {
    background: linear-gradient(145deg, #5a6a7c, #4a5a6c);
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* 重置按钮样式 */
.action-btn.reset-btn {
    background: #F5F6F8;
    font-size: 16px;
}

.action-btn.reset-btn:active {
    background: linear-gradient(145deg, #e0e0e0, #d0d0d0);
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* 提交按钮样式微调 */
.action-btn.submit-btn {
    background: #2176F6;
    color: #fff;
}

.action-btn.submit-btn:active {
    background: linear-gradient(145deg, #06a34b, #058a3f);
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* 按钮图标样式 */
.btn-icon {
    font-size: 20px;
    line-height: 1;
}

/* 按钮禁用状态 */
.action-btn:disabled,
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* 移动端适配 */
@media (max-width: 360px) {
    .button-group {
        gap: 8px;
    }
    
    .btn-text {
        font-size: 16px;
    }
    
    .btn-icon {
        font-size: 18px;
    }
}

/* 确保按钮在禁用时保持可见性 */
.action-btn[disabled],
.submit-btn[disabled] {
    pointer-events: none;
    background: #ccc !important;
    color: #888 !important;
}

/* 故障分类选择弹窗样式 */
.picker-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
}
.picker-container {
    width: 100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}
.picker-cancel, .picker-confirm {
    color: #667eea;
    font-size: 16px;
    cursor: pointer;
}
.picker-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.picker-content {
    max-height: 300px;
    overflow-y: auto;
}
.picker-option {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.picker-option:active {
    background: #f5f5f5;
}
.picker-option.selected {
    color: #667eea;
    font-weight: 500;
}

/* 地图选择弹窗样式 */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.map-container {
    width: 90%;
    height: 50%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.map-header-simple {
    padding: 12px 16px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}
.map-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.map-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    color: #666;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.map-close-btn:hover {
    background: #e0e0e0;
    color: #333;
}
.map-search-container {
    padding: 12px 16px;
    background: white;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.map-search-input {
    flex: 1;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.map-search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}
.map-search-btn {
    width: 70px;
    height: 40px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.map-search-btn:hover {
    background: #764ba2;
}
.map-search-btn:active {
    transform: scale(0.98);
}
#map {
    flex: 1;
    width: 100%;
    height: calc(100% - 140px);
}
.map-footer {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.selected-address {
    flex: 1;
    margin-right: 15px;
    font-size: 14px;
    color: #333;
    word-break: break-all;
}
.confirm-btn {
    background: #07c160;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
}

/* 搜索结果面板样式 */
#search-results-panel {
    position: absolute;
    top: 160px;
    left: 16px;
    right: 16px;
    max-height: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow-y: auto;
    z-index: 1000;
    padding: 8px 0;
}
.search-result-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.search-result-item:hover {
    background: #f5f5f5;
}

/* 微信授权弹窗样式 */
.mini-program-auth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.auth-mask {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.auth-dialog {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 350px;
    box-sizing: border-box;
}
.auth-title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}
.auth-desc {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}
.auth-btn-wrapper {
    width: 100%;
    height: 50px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}
.auth-footer {
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* 顶部授权提示条样式 */
#topAuthBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    min-height: 60px;
    gap: 16px;
}
#topAuthBar .text-container {
    flex: 1;
    max-width: calc(100% - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#topAuthBar .auth-btn {
    background: #07c160;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 成功页面 */
.success-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.success-box {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    animation: scaleIn 0.5s;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.success-info {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.countdown {
    color: #999;
    margin-bottom: 30px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: #667eea;
    border: 1px solid #667eea;
}

.btn-primary:active, .btn-secondary:active {
    transform: scale(0.98);
}

/* 工单列表 */
.status-tabs {
    display: flex;
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: #667eea;
    font-weight: 500;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #667eea;
}

.order-list {
    padding: 10px;
}

.order-item {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.order-item:active {
    background: #f9f9f9;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.order-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-finished {
    background: #d4edda;
    color: #155724;
}

.order-info {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.order-time {
    color: #999;
    font-size: 12px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    color: #999;
    margin-bottom: 20px;
}

/* 加载更多 */
.load-more {
    text-align: center;
    padding: 15px;
    color: #667eea;
    font-size: 14px;
    cursor: pointer;
}

/* 工单详情 */
.detail-content {
    padding: 15px;
}

.detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-item {
    margin-bottom: 15px;
    display: flex;
}

.detail-label {
    width: 80px;
    color: #999;
    font-size: 14px;
}

.detail-value {
    flex: 1;
    color: #333;
    font-size: 14px;
    word-break: break-word;
}

.detail-value.location {
    color: #667eea;
    text-decoration: underline;
}

/* 自定义确认弹窗样式 */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-dialog {
    background: white;
    border-radius: 16px;
    width: 280px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.confirm-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.confirm-content {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.confirm-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-btn {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-btn.cancel-btn {
    background: #f0f0f0;
    color: #666;
}

.confirm-btn.cancel-btn:active {
    background: #e0e0e0;
}

.confirm-btn.ok-btn {
    background: #07c160;
    color: white;
}

.confirm-btn.ok-btn:active {
    background: #06a34b;
}

/* 响应式适配（小屏设备） */
@media screen and (max-width: 375px) {
    .form-label-bold {
        font-size: 15px;
    }
    .input-field {
        font-size: 14px;
    }
    .form-title {
        font-size: 20px;
    }
}

/* 新增：语言切换按钮样式 */
.lang-switch {
    position: absolute;
    top: 115px;
    right: 15px;
    z-index: 9999; /* 置顶显示，不被其他元素遮挡 */
}
.lang-btn {
    padding: 6px 12px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.lang-btn:hover {
    background: #764ba2;
    transform: scale(1.05);
}
.lang-btn:active {
    transform: scale(0.98);
}
/* 适配小屏设备，按钮缩小 */
@media screen and (max-width: 375px) {
    .lang-btn {
        padding: 4px 10px;
        font-size: 12px;
    }
}
/* 防止顶部授权条遮挡按钮 */
#topAuthBar ~ .lang-switch {
    top: 75px;
}