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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* 中国风装饰元素 */
.chinese-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(28, 58, 173, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(28, 58, 173, 0.1) 0%, transparent 20%);
    z-index: -1;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #1c3aad;
    color: white;
    border: 1px solid #1c3aad;
}

.btn-primary:hover {
    background-color: #152a87;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 58, 173, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #1c3aad;
    border: 1px solid #1c3aad;
}

.btn-secondary:hover {
    background-color: rgba(28, 58, 173, 0.1);
    transform: translateY(-2px);
}

/* 头部导航栏 */
.main-header {
    background-color: #1c3aad;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo p {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 3px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a:hover, .main-nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 主横幅 */
.hero-banner {
    background: linear-gradient(135deg, #1c3aad 0%, #2a4fd8 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 0 0 300px;
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* 功能区 */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #1c3aad;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1c3aad;
    margin: 10px auto 30px;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #1c3aad;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(28, 58, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: #1c3aad;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1c3aad;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
}

.feature-link {
    color: #1c3aad;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.feature-link:hover {
    text-decoration: underline;
}

/* 联系方式 */
.contact-section {
    padding: 80px 0;
    background-color: #f0f4f8;
}

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

.contact-info h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #1c3aad;
}

.contact-info p {
    margin-bottom: 20px;
    color: #555;
}

.contact-list {
    list-style: none;
    margin-top: 20px;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: #1c3aad;
    width: 20px;
}

.contact-qrcodes {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.qrcode-item {
    text-align: center;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.qrcode-placeholder {
    text-align: center;
    color: #1c3aad;
}

.qrcode-placeholder i {
    font-size: 60px;
    margin-bottom: 10px;
}

.qrcode-placeholder p {
    font-size: 14px;
    color: #666;
}

.qrcode-desc {
    font-weight: 500;
    color: #1c3aad;
}

/* 页脚 */
.main-footer {
    background-color: #1c3aad;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    font-size: 22px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #1c3aad 0%, #2a4fd8 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* 软件页面样式 */
.software-section {
    padding: 60px 0;
}

.section-intro {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1c3aad;
}

.csv-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.csv-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
    color: #666;
}

#csvStatus {
    color: #1c3aad;
    font-weight: 500;
}

#lastUpdate {
    font-size: 12px;
    color: #888;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

#softwareTable {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

#softwareTable thead {
    background-color: #1c3aad;
    color: white;
}

#softwareTable th, #softwareTable td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
}

#softwareTable tbody tr:hover {
    background-color: #f8fafc;
}

#softwareTable tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

#softwareTable tbody tr:hover {
    background-color: #f0f4f8;
}

.download-link {
    color: #1c3aad;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.download-link:hover {
    text-decoration: underline;
}

.csv-format {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1c3aad;
}

.csv-format h3 {
    color: #1c3aad;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.csv-format pre {
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 15px 0;
    border: 1px solid #eaeaea;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.csv-format p {
    margin-bottom: 10px;
    color: #555;
}

/* 粉丝福利页面样式 */
.benefits-intro {
    padding: 60px 0;
    background-color: #f8fafc;
}

.intro-content h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1c3aad;
}

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

.reason-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(28, 58, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reason-icon i {
    font-size: 30px;
    color: #1c3aad;
}

.reason-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1c3aad;
}

.reason-card p {
    color: #666;
}

.qrcodes-section {
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.qrcode-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.qrcode-card:hover {
    transform: translateY(-5px);
}

.qrcode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8fafc;
    border-bottom: 1px solid #eaeaea;
}

.qrcode-header h3 {
    font-size: 18px;
    color: #1c3aad;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qrcode-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.qrcode-status.active {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.qrcode-status.limited {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.qrcode-img {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrcode-info {
    padding: 20px;
    border-top: 1px solid #eaeaea;
    background-color: #f8fafc;
}

.qrcode-info p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qrcode-info i {
    color: #1c3aad;
    width: 16px;
}

.qrcode-scan {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: #1c3aad;
    font-weight: 500;
}

.qrcode-notice {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1c3aad;
}

.qrcode-notice h3 {
    color: #1c3aad;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qrcode-notice ul {
    list-style-position: inside;
    color: #555;
}

.qrcode-notice li {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1c3aad;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .features-grid, .reasons-grid, .qrcodes-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-qrcodes {
        flex-direction: column;
        align-items: center;
    }
    /* 二维码图片样式 */
.qrcode-img img.qrcode-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover; /* 保持比例填充 */
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qrcode-img img.qrcode-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 保持原有占位符样式作为后备 */
.qrcode-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1c3aad;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #1c3aad;
}

.qrcode-placeholder i {
    font-size: 60px;
    margin-bottom: 10px;
}

.qrcode-placeholder p {
    font-size: 14px;
    color: #666;
}
/* 联系页面样式 */
.contact-main {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-card, .contact-qrcode-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-header, .contact-qrcode-header {
    background: linear-gradient(135deg, #1c3aad 0%, #2a4fd8 100%);
    color: white;
    padding: 25px;
}

.contact-info-header h2, .contact-qrcode-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-content {
    padding: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(28, 58, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: #1c3aad;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #1c3aad;
}

.contact-details p {
    color: #333;
    margin-bottom: 5px;
}

.contact-details small {
    color: #666;
    font-size: 13px;
}

.contact-qrcode-content {
    padding: 25px;
}

.qrcode-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    background-color: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eaeaea;
}

.qrcode-desc h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1c3aad;
}

.qrcode-desc p {
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
}

.qrcode-desc small {
    color: #888;
    font-size: 12px;
}

/* 联系表单样式 */
.contact-form-section {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-section .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.contact-form-section .section-title h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
}

.contact-form-section .section-title p {
    color: #666;
    margin-top: 10px;
}

.contact-form {
    max-width: 800px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1c3aad;
    box-shadow: 0 0 0 2px rgba(28, 58, 173, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.form-note {
    color: #666;
    font-size: 14px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    font-size: 40px;
    color: #4caf50;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.form-success p {
    color: #666;
    margin-bottom: 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* 其他联系渠道 */
.contact-channels {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-channels h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #1c3aad;
    display: flex;
    align-items: center;
    gap: 10px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.channel-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.channel-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(28, 58, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.channel-icon i {
    font-size: 24px;
    color: #1c3aad;
}

.channel-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.channel-item p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.channel-link {
    display: inline-block;
    color: #1c3aad;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.channel-link:hover {
    text-decoration: underline;
}

/* 首页联系方式链接区域 */
.contact-link-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.contact-link-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-link-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1c3aad;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-link-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.quick-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.quick-contact p {
    font-size: 16px;
    margin-bottom: 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .qrcode-group {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-link-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .qrcode-img {
        width: 150px;
        height: 150px;
    }
}
/* 二维码图片样式 */
.qrcode-img img.qrcode-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qrcode-img img.qrcode-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 占位符样式（作为后备） */
.qrcode-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1c3aad;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #1c3aad;
}

.qrcode-placeholder i {
    font-size: 60px;
    margin-bottom: 10px;
}

.qrcode-placeholder p {
    font-size: 14px;
    color: #666;
}



.qrcode-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* 联系页面特定样式 */
.contact-qrcode-content .qrcode-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    background-color: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eaeaea;
    overflow: hidden; /* 确保图片不溢出 */
}
/* 二维码图片容器样式 */
.qrcode-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* 防止图片溢出 */
    position: relative;
}

/* 二维码图片自适应样式 */
.qrcode-img img.qrcode-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持图片比例，完整显示 */
    padding: 10px; /* 给图片留一些内边距 */
    box-sizing: border-box; /* 内边距不影响总尺寸 */
}

/* 确保图片在容器内居中且完全显示 */
.qrcode-img img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

/* 如果图片是JPG格式，可能需要额外处理 */
.qrcode-img img[src$=".jpg"],
.qrcode-img img[src$=".jpeg"] {
    background-color: white; /* JPG图片设置白色背景 */
    border-radius: 5px;
}

/* 二维码图片hover效果 */
.qrcode-img img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* 联系页面特定样式 */
.contact-qrcode-content .qrcode-img {
    width: 180px;
    height: 180px;
    background-color: #f8fafc;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qrcode-img {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .qrcode-img {
        width: 140px;
        height: 140px;
    }
}
}

/* ==================== 搜索与分页样式 ==================== */
/* 搜索框样式 */
.search-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input-group {
    flex: 1;
    min-width: 250px;
}

.search-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.search-input-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-input-group input:focus {
    outline: none;
    border-color: #1c3aad;
    box-shadow: 0 0 0 2px rgba(28, 58, 173, 0.1);
}

.search-btn {
    align-self: flex-end;
    padding: 10px 25px;
    background: #1c3aad;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #152a87;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    min-width: 36px;
    transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
    border-color: #1c3aad;
    color: #1c3aad;
}

.page-btn.active {
    background: #1c3aad;
    color: white;
    border-color: #1c3aad;
}

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

.page-dots {
    padding: 8px 5px;
    color: #666;
}

/* 确保表格容器允许横向滚动 */
.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 表格基础样式 */
#websiteTable {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    min-width: 800px; /* 设定一个最小宽度，防止在小屏下过度挤压 */
}

/* 表头样式 */
#websiteTable thead {
    background-color: #1c3aad;
    color: white;
}

#websiteTable th, #websiteTable td {
    padding: 12px 15px; /* 充足的内边距是防止文字挤压的关键 */
    text-align: left;
    border-bottom: 1px solid #eaeaea;
    white-space: nowrap; /* 防止表头文字换行 */
}

/* 为表头单元格单独设置，确保宽度生效 */
#websiteTable th {
    font-weight: 600;
}

/* 表格行悬停效果 */
#websiteTable tbody tr:hover {
    background-color: #f8fafc;
}