/* ============================================
   中国传统服饰文化研究会 - 全局样式表
   版本：1.0
   说明：响应式设计，兼容PC端和移动端
   ============================================ */

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #8B2c1d;
    transition: all 0.3s ease;
}

a:hover {
    color: #c03c2a;
}

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

/* ---------- 头部导航 ---------- */
header {
    background: linear-gradient(135deg, #8B2c1d 0%, #a53827 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.logo p {
    font-size: 0.75rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

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

.nav-menu li a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd966;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a.active {
    color: #ffd966;
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* ---------- 轮播横幅 ---------- */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: absolute;
    bottom: 30%;
    left: 10%;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: #8B2c1d;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.hero-dots span.active {
    background: #ffd966;
}

/* ---------- 通用区块样式 ---------- */
section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #8B2c1d;
    position: relative;
}

.more-link {
    color: #666;
    font-size: 0.9rem;
}

.more-link:hover {
    color: #8B2c1d;
}

/* ---------- 新闻列表 ---------- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    text-align: center;
    min-width: 70px;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B2c1d;
    display: block;
}

.news-date .month {
    font-size: 0.75rem;
    color: #666;
}

.news-info h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.news-info h3 a {
    color: #333;
}

.news-info h3 a:hover {
    color: #8B2c1d;
}

.news-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.news-category {
    font-size: 0.75rem;
    color: #fff;
    background: #8B2c1d;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* ---------- 简介区域 ---------- */
.intro-section {
    background: #f9f5f0;
}

.intro-content {
    line-height: 1.8;
}

.intro-content p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background: #8B2c1d;
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn:hover {
    background: #a53827;
    color: #fff;
}

.btn-small {
    padding: 6px 15px;
    font-size: 0.8rem;
}

/* ---------- 三大核心模块 ---------- */
.features-section {
    background: #fff;
}

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

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: #f9f5f0;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #8B2c1d;
    margin-bottom: 12px;
}

/* ---------- 微信公众号区域 ---------- */
.wechat-section {
    background: #f0e8e0;
}

.wechat-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.wechat-qrcode img {
    width: 120px;
    height: 120px;
    border: 3px solid #fff;
    border-radius: 12px;
}

.wechat-text h3 {
    color: #8B2c1d;
    margin-bottom: 10px;
}

/* ---------- 页面标题 ---------- */
.page-header {
    background: linear-gradient(135deg, #8B2c1d 0%, #a53827 100%);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* ---------- 内容区块 ---------- */
.page-content {
    padding: 60px 0;
}

.content-block {
    margin-bottom: 50px;
}

.content-block h2 {
    color: #8B2c1d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.business-list,
.rights-list,
.condition-list,
.org-list {
    list-style: none;
    padding-left: 20px;
}

.business-list li,
.rights-list li,
.condition-list li,
.org-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.business-list li::before,
.rights-list li::before,
.condition-list li::before,
.org-list li::before {
    content: "●";
    color: #8B2c1d;
    position: absolute;
    left: 0;
}

.dynamic-item {
    background: #f9f5f0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.dynamic-item h3 {
    color: #8B2c1d;
    margin-bottom: 10px;
}

/* ---------- 会员类型卡片 ---------- */
.member-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.member-card {
    background: #f9f5f0;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.member-card h3 {
    color: #8B2c1d;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.member-price {
    color: #8B2c1d;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px 0;
}

/* 入会流程 */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.step {
    background: #8B2c1d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.step-num {
    background: #ffd966;
    color: #8B2c1d;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-arrow {
    font-size: 1.2rem;
    color: #8B2c1d;
}

.download-link {
    text-align: center;
    margin: 20px 0;
}

/* 会员风采 */
.member-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.showcase-item img {
    width: 100%;
    max-width: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ---------- 展览展示 ---------- */
.exhibition-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #f9f5f0;
    border-radius: 12px;
    overflow: hidden;
}

.exhibition-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exhibition-info {
    padding: 30px;
}

.exhibition-info h3 {
    color: #8B2c1d;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.exhibition-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.exhibition-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.exhibition-card-info {
    padding: 15px;
}

.exhibition-card-info h3 {
    color: #8B2c1d;
    margin-bottom: 8px;
    font-size: 1rem;
}

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

.online-card {
    text-align: center;
    padding: 30px;
    background: #f9f5f0;
    border-radius: 12px;
}

.online-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.call-card {
    background: #f9f5f0;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #8B2c1d;
}

/* ---------- 联系我们页面 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 1.5rem;
}

.dept-contact p {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.contact-form {
    background: #f9f5f0;
    padding: 30px;
    border-radius: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.map-section {
    margin: 50px 0;
}

.map-placeholder {
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.map-placeholder img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.map-note {
    padding: 10px;
    color: #666;
    font-size: 0.85rem;
}

.wechat-contact {
    background: #f9f5f0;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

/* ---------- 分页 ---------- */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
}

.pagination a.active,
.pagination a:hover {
    background: #8B2c1d;
    color: #fff;
    border-color: #8B2c1d;
}

/* ---------- 底部 ---------- */
footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.8rem;
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #8B2c1d;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: 350px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .features-grid,
    .member-types,
    .exhibition-grid {
        grid-template-columns: 1fr;
    }
    
    .exhibition-featured {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .news-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-date {
        display: inline-block;
        min-width: auto;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .hero-content {
        left: 5%;
        bottom: 20%;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
}
/* ---------- 搜索框样式 ---------- */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 40px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-box input:focus {
    border-color: #8B2c1d;
    box-shadow: 0 0 0 2px rgba(139, 44, 29, 0.1);
}

.search-box button {
    padding: 12px 24px;
    background: #8B2c1d;
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #a53827;
}

#clearSearchBtn {
    background: #666;
}

#clearSearchBtn:hover {
    background: #888;
}

.no-result {
    text-align: center;
    padding: 50px 20px;
    background: #f9f5f0;
    border-radius: 12px;
    color: #666;
}

.no-result p {
    font-size: 1.1rem;
}

/* 高亮搜索结果 */
.news-item.highlight {
    animation: highlightFlash 0.5s ease;
}

@keyframes highlightFlash {
    0% { background-color: rgba(139, 44, 29, 0.2); }
    100% { background-color: transparent; }
}
/* ---------- 会员风采网格 ---------- */
.member-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.showcase-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.showcase-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.showcase-card h3 {
    color: #8B2c1d;
    margin: 15px 0 8px;
    font-size: 1.2rem;
}

.showcase-card p {
    padding: 0 15px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.member-tag {
    display: inline-block;
    background: #f0e8e0;
    color: #8B2c1d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 15px;
}

/* ---------- 润格证查询框 ---------- */
.query-box {
    background: #f9f5f0;
    padding: 25px;
    border-radius: 12px;
}

.query-result {
    animation: fadeIn 0.3s ease;
}

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

/* ---------- 简介框 ---------- */
.intro-box {
    background: #f9f5f0;
    padding: 25px;
    border-radius: 12px;
    line-height: 1.8;
}
/* ---------- 加入协会页面专用样式 ---------- */

/* 条件卡片 */
.condition-card {
    background: #f9f5f0;
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    text-align: center;
}

/* 垂直流程步骤 */
.process-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    gap: 20px;
    background: #f9f5f0;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.step-item:hover {
    transform: translateX(5px);
}

.step-num-circle {
    width: 50px;
    height: 50px;
    background: #8B2c1d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #8B2c1d;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

.wechat-contact-info {
    margin-top: 10px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}

.wechat-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.wechat-number {
    font-size: 1rem;
}

/* 资料提供列表 */
.material-list {
    list-style: none;
    padding: 0;
}

.material-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f9f5f0;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1rem;
}

.material-icon {
    font-size: 1.3rem;
    width: 35px;
}

/* 好处网格 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.benefit-card {
    background: #f9f5f0;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: #8B2c1d;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* 注意事项 */
.notice-box {
    background: #fff9f0;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
}

.notice-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-icon {
    font-size: 1.2rem;
}

.notice-item strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.notice-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 联系卡片 */
.contact-card {
    background: #f0e8e0;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.contact-info-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.3rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-num-circle {
        margin-bottom: 10px;
    }
    
    .contact-info-box {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .material-list li {
        font-size: 0.9rem;
    }
}
/* ---------- 加入协会页面专用样式 ---------- */

/* 简介框 */
.intro-box {
    background: #f9f5f0;
    padding: 25px;
    border-radius: 12px;
    line-height: 1.8;
}

/* 条件卡片 */
.condition-card {
    background: #f9f5f0;
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    text-align: center;
}

/* 垂直流程步骤 */
.process-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    gap: 20px;
    background: #f9f5f0;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.step-item:hover {
    transform: translateX(5px);
}

.step-num-circle {
    width: 50px;
    height: 50px;
    background: #8B2c1d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #8B2c1d;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

.wechat-contact-info {
    margin-top: 10px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}

.wechat-number {
    font-size: 1rem;
}

/* 资料提供列表 */
.material-list {
    list-style: none;
    padding: 0;
}

.material-list li {
    padding: 12px 15px;
    background: #f9f5f0;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1rem;
}

/* 好处网格 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.benefit-card {
    background: #f9f5f0;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-card h3 {
    color: #8B2c1d;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* 注意事项 */
.notice-box {
    background: #fff9f0;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
}

.notice-item {
    margin-bottom: 15px;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-item strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.notice-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 联系卡片 */
.contact-card {
    background: #f0e8e0;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.contact-info-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.contact-item {
    background: #fff;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 1.1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-num-circle {
        margin-bottom: 10px;
    }
    
    .contact-info-box {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .material-list li {
        font-size: 0.9rem;
    }
}
/* 图片 Logo 样式 */
.logo-img {
    height: 120px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 80px;
    }
}
/* ---------- 会员搜索页面样式 ---------- */
.search-member-section {
    background: #f9f5f0;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.search-box-large {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.search-box-large input {
    width: 300px;
    padding: 14px 20px;
    border: 2px solid #ddd;
    border-radius: 40px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-box-large input:focus {
    border-color: #8B2c1d;
    box-shadow: 0 0 0 2px rgba(139, 44, 29, 0.1);
}

.search-box-large button {
    padding: 14px 28px;
    background: #8B2c1d;
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box-large button:hover {
    background: #a53827;
}

#clearMemberSearchBtn {
    background: #666;
}

#clearMemberSearchBtn:hover {
    background: #888;
}

.search-tip {
    color: #666;
    font-size: 0.85rem;
}

/* 搜索结果样式 */
.search-result {
    margin-top: 30px;
    animation: fadeIn 0.3s ease;
}

.result-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.result-header {
    background: #8B2c1d;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.result-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.result-header .member-number {
    font-size: 0.9rem;
    opacity: 0.9;
}

.result-body {
    padding: 25px;
}

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

.work-card {
    background: #f9f5f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.work-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f0f0f0;
}

.work-info {
    padding: 15px;
}

.work-info h4 {
    color: #8B2c1d;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.work-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0;
}

.work-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #888;
}

/* 管理员区域 */
.admin-section {
    margin-top: 50px;
    padding: 25px;
    background: #f0f0f0;
    border-radius: 16px;
    border: 1px dashed #ccc;
}

.admin-section h3 {
    color: #555;
    margin-bottom: 15px;
}

.admin-upload {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

.admin-upload input[type="file"] {
    padding: 8px;
    background: #fff;
    border-radius: 6px;
}

.btn-gray {
    background: #888;
}

.btn-gray:hover {
    background: #666;
}

.upload-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.upload-status.success {
    background: #d4edda;
    color: #155724;
}

.upload-status.error {
    background: #f8d7da;
    color: #721c24;
}

.data-format-tip {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #666;
}

.format-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    margin: 10px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.format-table th,
.format-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: left;
}

.format-table th {
    background: #e0c8b8;
    color: #333;
}

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

/* 响应式 */
@media (max-width: 768px) {
    .search-box-large input {
        width: 100%;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        text-align: center;
    }
}
/* ============================================
   中华服饰文化会员页面样式
   ============================================ */

/* 会员搜索区域 */
.member-search-section {
    background: #f9f5f0;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.search-box-large {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.search-box-large input {
    width: 300px;
    padding: 14px 20px;
    border: 2px solid #ddd;
    border-radius: 40px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-box-large input:focus {
    border-color: #8B2c1d;
    box-shadow: 0 0 0 2px rgba(139, 44, 29, 0.1);
}

.search-box-large button {
    padding: 14px 28px;
    background: #8B2c1d;
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box-large button:hover {
    background: #a53827;
}

#clearSearchBtn {
    background: #666;
}

#clearSearchBtn:hover {
    background: #888;
}

.search-tip {
    color: #666;
    font-size: 0.85rem;
}

/* 统计信息 */
.member-stats {
    text-align: center;
    margin-bottom: 25px;
    padding: 12px;
    background: #f9f5f0;
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
}

.member-stats strong {
    color: #8B2c1d;
}

/* 作品网格 - 5列布局 */
.member-works-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* 作品卡片 */
.member-work-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0e8e0;
}

.member-work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.member-work-image-container {
    width: 100%;
    height: 180px;
    background: #f0f0f0;
    overflow: hidden;
}

.member-work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-work-card:hover .member-work-image {
    transform: scale(1.05);
}

.member-work-info {
    padding: 12px;
}

.member-work-name {
    color: #8B2c1d;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-work-author {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.member-work-desc {
    color: #999;
    font-size: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页样式 */
.member-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.member-page-btn {
    background: #f5f0eb;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: #555;
}

.member-page-btn.active {
    background: #8B2c1d;
    color: #fff;
}

.member-page-btn:hover:not(.active):not(.disabled) {
    background: #e0d6ce;
}

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

/* 弹窗样式（润格证页面也用） */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
    cursor: pointer;
}

.modal-container {
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    cursor: default;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: sticky;
    top: 15px;
    right: 15px;
    float: right;
    background: #8B2c1d;
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px;
    z-index: 1;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #a53827;
    transform: scale(1.05);
}

.modal-content {
    padding: 0 25px 25px 25px;
    clear: both;
    text-align: center;
}

.modal-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 10px auto 20px;
    border: 3px solid #8B2c1d;
}

.modal-name {
    color: #8B2c1d;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-number {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.modal-bio {
    line-height: 1.8;
    color: #333;
    text-align: left;
    white-space: pre-wrap;
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    .member-works-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .member-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .search-box-large input {
        width: 100%;
    }
    
    .member-work-image-container {
        height: 150px;
    }
    
    .modal-image {
        width: 150px;
        height: 150px;
    }
    
    .modal-name {
        font-size: 1.2rem;
    }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
    .member-works-grid {
        grid-template-columns: 1fr;
    }
    
    .member-work-image-container {
        height: 200px;
    }
}