/* ========== 语言切换按钮 ========== */
.lang-switcher {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #f0f0f0;
}

.lang-btn.active {
    background: var(--primary, #E63946);
    color: white;
}

/* ========== 基础重置与变量 ========== */
:root {
    --primary: #E63946;
    --primary-dark: #C72C41;
    --primary-light: #FFE5E7;
    --gradient: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%);
    --text-dark: #1A1A2E;
    --text-body: #4A4A68;
    --text-muted: #8E8EA9;
    --text-light: #B8B8D1;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FC;
    --bg-card: #FFFFFF;
    --border: #E8E8F0;
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 26, 46, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== 模块1：顶部品牌主视觉区 ========== */
.hero-section {
    background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 50%, var(--bg-light) 100%);
    padding: 30px 20px 40px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.main-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.sub-title {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* 轮播图 */
.media-showcase {
    max-width: 500px;
    margin: 0 auto;
}

.swiper-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide {
    flex: 0 0 100%;
    padding: 0 4px;
}

.slide-content {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.showcase-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}

.showcase-img:hover {
    transform: scale(1.02);
}

.slide-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
}

.slide-tag {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.media-caption {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    font-weight: 500;
}

/* 视频展示区 */
.video-showcase {
    margin-top: 20px;
}

.video-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
    max-height: 300px;
}

.video-container video {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.video-overlay.playing {
    background: transparent;
    pointer-events: none;
}

.video-overlay.playing .play-btn {
    opacity: 0;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, opacity 0.3s;
}

.video-overlay:hover .play-btn {
    transform: scale(1.1);
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.swiper-pagination .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.swiper-pagination .dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* ========== 模块2：悬浮按钮 ========== */
.floating-btn {
    position: fixed;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 12px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: -4px 4px 20px rgba(230, 57, 70, 0.4);
    transition: all 0.3s;
}

.floating-btn:hover {
    right: 0;
    box-shadow: -4px 4px 30px rgba(230, 57, 70, 0.5);
}

.float-icon {
    font-size: 24px;
}

.float-text {
    font-size: 12px;
    font-weight: 600;
    writing-mode: vertical-rl;
    letter-spacing: 2px;
}

/* ========== 模块3：工厂优势 ========== */
.advantages-section {
    padding: 40px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.advantage-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.advantage-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.advantage-icon {
    font-size: 28px;
}

.advantage-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.advantage-list {
    list-style: none;
    text-align: left;
}

.advantage-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}

.advantage-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
    font-weight: bold;
}

.advantage-tag {
    position: absolute;
    top: 12px;
    right: -24px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 28px;
    transform: rotate(45deg);
}

/* ========== 模块4：询盘表单 ========== */
.form-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, var(--bg-light) 0%, #FFF5F5 50%, var(--bg-white) 100%);
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 28px;
}

.form-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.form-subtitle .highlight {
    color: var(--primary);
    font-weight: 600;
}

/* 表单字段 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.label-icon {
    font-size: 16px;
}

.required-mark {
    color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    width: 100%;
    height: 100px;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    resize: none;
    font-family: inherit;
    transition: all 0.3s;
}

/* 单选按钮 */
.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
}

.radio-item:hover {
    background: var(--primary-light);
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
}

.radio-item input:checked + .radio-box {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-item input:checked + .radio-box::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.radio-item input:checked ~ .radio-text {
    color: var(--primary);
    font-weight: 600;
}

.radio-text {
    font-size: 14px;
    color: var(--text-body);
}

/* 选填项折叠 */
.optional-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s;
}

.optional-toggle:hover {
    color: var(--text-muted);
}

.toggle-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 60px;
}

.optional-fields {
    display: none;
    padding-top: 10px;
    animation: fadeIn 0.3s ease;
}

.optional-fields.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    height: 56px;
    background: var(--gradient);
    color: white;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.35);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(230, 57, 70, 0.45);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: var(--text-light);
    box-shadow: none;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 隐私提示 */
.privacy-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
}

.privacy-icon {
    font-size: 14px;
}

/* ========== 模块5：信任增值 ========== */
.trust-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 540px;
    margin: 0 auto;
}

.trust-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.card-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--gradient);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.trust-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 10px;
}

.trust-desc {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 20px;
}

/* 样品展示 */
.samples-card {
    padding-top: 32px;
}

.samples-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.sample-item {
    text-align: center;
}

.sample-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 8px;
}

.sample-item span {
    font-size: 12px;
    color: var(--text-muted);
}

/* 合作案例 */
.cases-desc {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 16px;
}

.highlight-num {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-item {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-light);
    padding: 8px;
}

.logo-item.logo-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}

.logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trust-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* 联系方式 */
.contact-grid {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-qr {
    text-align: center;
    flex-shrink: 0;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.qr-placeholder span {
    font-size: 12px;
    color: var(--text-muted);
}

.qr-placeholder small {
    font-size: 10px;
    color: var(--text-light);
}

.contact-qr > p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
}

.info-item:first-child {
    border-bottom: 1px solid var(--border);
}

.info-icon {
    font-size: 20px;
}

.info-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.info-value {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* ========== 模块6：底部 ========== */
.footer {
    background: var(--text-dark);
    padding: 30px 20px;
    text-align: center;
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.footer-slogan {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

.footer-certs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-certs span {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
}

/* ========== 灯箱 ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.show {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ========== 成功弹窗 ========== */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.success-modal.show {
    display: flex;
}

.success-modal .modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-animation {
    margin-bottom: 20px;
}

.checkmark {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-modal h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.success-modal p {
    font-size: 15px;
    color: var(--text-muted);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-close-btn:hover {
    background: #e0e0e0;
}

.modal-qr {
    margin-top: 20px;
    text-align: center;
}

.modal-qr .qr-guide {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #f8f9fc;
    border-radius: 8px;
    line-height: 1.5;
}

.modal-qr img {
    max-width: 280px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    border: 2px solid #eee;
    background: #fff;
    display: block;
    margin: 0 auto;
}

.modal-qr .qr-label {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.qr-image {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: transform 0.2s;
}

.qr-image:hover {
    transform: scale(1.05);
}

/* ========== 响应式 ========== */
@media screen and (max-width: 360px) {
    .main-title { font-size: 24px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .radio-group { grid-template-columns: 1fr; }
    .form-container { padding: 24px 16px; }
}

@media screen and (min-width: 768px) {
    .hero-section { padding: 50px 30px 60px; }
    .main-title { font-size: 36px; }
    .showcase-img { height: 280px; }
    .advantages-section { padding: 60px 30px; }
    .section-title { font-size: 28px; }
    .advantages-grid { max-width: 600px; gap: 20px; }
    .form-section { padding: 60px 30px; }
    .form-container { padding: 40px 36px; }
    .trust-section { padding: 30px; }
}


/* ========== 国家搜索下拉框 ========== */
.country-select-wrapper {
    position: relative;
}

.country-search {
    width: 100%;
    height: 50px;
    padding: 0 40px 0 16px;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    cursor: pointer;
}

.country-search:focus {
    outline: none;
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.country-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.3s;
}

.country-select-wrapper.open .country-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.country-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.country-select-wrapper.open .country-dropdown {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-body);
    cursor: pointer;
    transition: background 0.2s;
}

.country-option:hover,
.country-option.highlighted {
    background: var(--primary-light);
}

.country-option.selected {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.country-option .country-flag {
    font-size: 20px;
    line-height: 1;
}

.country-option .country-name {
    flex: 1;
}

.country-option .country-code {
    font-size: 12px;
    color: var(--text-light);
}

.country-no-result {
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* 下拉框滚动条美化 */
.country-dropdown::-webkit-scrollbar {
    width: 6px;
}

.country-dropdown::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.country-dropdown::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.country-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}
