/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a56db;
    --primary-dark: #1e429f;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.top-bar {
    background-color: var(--text-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* 主导航栏 */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    text-decoration: none;
    color: var(--text-dark);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* 首页轮播图 */
.hero {
    height: 600px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide:first-child {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('https://images.unsplash.com/photo-1556740738 6a17472900a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.slide-content {
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 通用部分样式 */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 关于我们 */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* 产品中心 */
.products-section {
    background: var(--bg-white);
}

.product-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 服务项目 */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 在线询价 */
.inquiry-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.inquiry-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

/* 页脚 */
.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info-footer p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info-footer i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-xl);
}

.modal-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .slide-content h2 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info span {
        display: block;
        margin: 5px 0;
    }
    
    .hero {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 2.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .inquiry-form {
        padding: 30px;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   多语言支持样式
   ============================================ */

/* 语言选择器样式 */
.language-selector-container {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.language-selector {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px;
    backdrop-filter: blur(10px);
}

.language-option {
    background: none;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 60px;
    justify-content: center;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.language-option.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-option .flag {
    font-size: 16px;
}

.language-option .name {
    display: none;
}

/* 语言切换动画 */
.language-transition {
    animation: languageFade 0.3s ease;
}

@keyframes languageFade {
    from {
        opacity: 0.5;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL语言支持 */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .language-selector-container {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .container {
    text-align: right;
}

[dir="rtl"] .nav-menu ul {
    padding-right: 0;
}

[dir="rtl"] .about-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

/* 韩语字体支持 */
:lang(ko) {
    font-family: 'Noto Sans KR', 'Noto Sans SC', sans-serif;
}

/* 西班牙语字体支持 */
:lang(es) {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.01em;
}

/* 日语字体支持 */
:lang(ja) {
    font-family: 'Noto Sans JP', 'Noto Sans SC', sans-serif;
}

/* 俄语字体支持 */
:lang(ru) {
    font-family: 'Roboto', 'Poppins', sans-serif;
    letter-spacing: 0.02em;
}

/* 移动端优化 */
@media (min-width: 768px) {
    .language-option .name {
        display: inline;
    }
    
    .language-option {
        min-width: 80px;
    }
}

@media (max-width: 767px) {
    .language-selector-container {
        margin-left: 10px;
    }
    
    .language-selector {
        gap: 3px;
        padding: 3px;
    }
    
    .language-option {
        padding: 6px 10px;
        min-width: 50px;
    }
    
    .language-option .flag {
        font-size: 14px;
    }
}

/* 语言切换器在顶部导航栏中的样式 */
.top-bar .language-selector {
    background: rgba(255, 255, 255, 0.05);
}

.top-bar .language-option {
    color: rgba(255, 255, 255, 0.9);
}

.top-bar .language-option.active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
}

/* 语言检测提示 */
.language-detection {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 15px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    max-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.language-detection p {
    margin-bottom: 10px;
    font-size: 14px;
}

.language-detection-buttons {
    display: flex;
    gap: 10px;
}

.language-detection-btn {
    padding: 8px 15px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.language-detection-btn.primary {
    background: var(--primary-color);
    color: white;
}

.language-detection-btn.secondary {
    background: var(--bg-light);
    color: var(--text-dark);
}

.language-detection-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 打印样式中的语言支持 */
@media print {
    .language-selector-container {
        display: none;
    }
    
    .language-detection {
        display: none;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .language-option.active {
        border: 2px solid var(--text-dark);
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .language-transition {
        animation: none;
    }
    
    .language-option:hover {
        transform: none;
    }
    
    .language-detection {
        animation: none;
    }
}

/* ============================================
   确保语言选择器显示的强制样式
   ============================================ */

/* 确保语言选择器容器显示 */
.language-switcher {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.language-selector-container {
    display: inline-block !important;
    margin-left: 20px !important;
    position: relative !important;
}

/* 语言选择器基础样式 */
.language-selector {
    display: flex !important;
    gap: 5px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 5px !important;
    backdrop-filter: blur(10px) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 语言选项按钮 */
.language-option {
    background: none !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 15px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    min-width: 60px !important;
    justify-content: center !important;
    font-family: inherit !important;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.language-option.active {
    background: white !important;
    color: #1a56db !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.language-option .flag {
    font-size: 16px !important;
}

.language-option .name {
    display: inline !important;
}

/* 顶部栏特定样式 */
.top-bar .language-selector {
    background: rgba(255, 255, 255, 0.05) !important;
}

.top-bar .language-option {
    color: rgba(255, 255, 255, 0.9) !important;
}

.top-bar .language-option.active {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1f2937 !important;
}

/* 移动端优化 */
@media (max-width: 767px) {
    .language-selector-container {
        margin-left: 10px !important;
    }
    
    .language-selector {
        gap: 3px !important;
        padding: 3px !important;
    }
    
    .language-option {
        padding: 6px 10px !important;
        min-width: 50px !important;
    }
    
    .language-option .flag {
        font-size: 14px !important;
    }
    
    .language-option .name {
        display: none !important;
    }
}

/* 确保在打印时也显示 */
@media print {
    .language-switcher {
        display: block !important;
    }
}
