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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* iPhone15外壳样式 */
.phone-frame {
    width: 393px;
    height: 852px;
    background: #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 15px;
    z-index: 10;
}

/* 状态栏 */
.status-bar {
    height: 44px;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 5px;
}

/* 应用容器 */
.app-container {
    height: calc(100% - 44px);
    background: #f5f5f5;
    border-radius: 32px 32px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 校友俱乐部标题 */
.club-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.club-header h1 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 管理员模式切换 */
.admin-toggle {
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    padding-left: 50px;
    color: #666;
}

.slider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 20px;
    background: #ccc;
    border-radius: 10px;
    transition: 0.3s;
}

.slider::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider::before {
    background: #1976D2;
}

input:checked + .slider::after {
    transform: translateY(-50%) translateX(20px);
}

input:checked + .slider {
    color: #1976D2;
}

/* 页面内容 */
.page-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
    padding: 0 0 80px 0;
}

/* 各页面内容容器 */
.home-content,
.activity-content,
.cooperation-content,
.alumni-content,
.profile-content {
    min-height: 100%;
}

.page-header {
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.page-header h2 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    margin: 0 20px 20px 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    padding: 20px 15px 15px;
}

.carousel-caption h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.carousel-caption p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #fff;
}

/* 管理员按钮 */
.admin-btn {
    background: #FFC107;
    color: #333;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.admin-btn:hover {
    background: #FFB300;
}

.carousel-admin {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* 动态区域 */
.dynamics-container,
.alumni-feed {
    margin: 0 20px;
}

.section-header,
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h3,
.feed-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.dynamics-list,
.feed-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dynamic-item,
.feed-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 12px;
}

.user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.dynamic-content,
.feed-content {
    flex: 1;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.username {
    font-size: 14px;
    color: #1976D2;
    font-weight: 600;
}

.time {
    font-size: 12px;
    color: #999;
}

.content-text,
.feed-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.content-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.content-images,
.feed-images {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.content-images img,
.feed-images img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* 动态类型标签 */
.feed-type {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.feed-type.work {
    background: #E8F5E8;
    color: #2E7D32;
}

.feed-type.life {
    background: #E3F2FD;
    color: #1976D2;
}

.feed-type.visit {
    background: #FFF3E0;
    color: #F57C00;
}

.feed-type.enterprise {
    background: #F3E5F5;
    color: #7B1FA2;
}

.feed-type.summary {
    background: #FFEBEE;
    color: #C62828;
}

.feed-type.news {
    background: #E8F5E8;
    color: #388E3C;
}

/* 活动页面样式 */
.description-section {
    background: #fff;
    margin: 0 20px 20px 20px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.description-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.description-content p {
    flex: 1;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 俱乐部信息区域样式 */
.club-info-section {
    background: #fff;
    margin: 0 20px 20px 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.club-info-content h3 {
    font-size: 18px;
    color: #1976D2;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.info-label {
    color: #666;
    font-weight: 500;
    display: inline-block;
    min-width: 80px;
}

.club-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.stat-item {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.stat-item strong {
    color: #1976D2;
    font-size: 18px;
    font-weight: 600;
}

.category-nav {
    margin: 0 20px 20px 20px;
    position: relative;
}

.nav-tabs {
    display: flex;
    background: #fff;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.nav-tab {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-tab.active {
    background: #1976D2;
    color: #fff;
}

.category-admin {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 10;
}

.activity-list {
    margin: 0 0px;
}

.activity-category {
    display: none;
}

.activity-category.active {
    display: block;
}

/* 活动卡片样式 */
.activity-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.activity-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.activity-card:hover .activity-image img {
    transform: scale(1.05);
}

.activity-info {
    padding: 15px;
}

.activity-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.activity-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.activity-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
}

.activity-meta .location {
    background: #E3F2FD;
    color: #1976D2;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.activity-meta .fee {
    background: #E8F5E8;
    color: #388E3C;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* 保留旧样式以兼容其他可能的使用 */
.activity-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.activity-item.expired {
    opacity: 0.5;
}

.activity-item.expired::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.3);
    border-radius: 12px;
}

.join-btn {
    background: #1976D2;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.join-btn:hover:not(:disabled) {
    background: #1565C0;
}

.join-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 合作页面样式 */
.cooperation-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px;
}

.category-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-2px);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.category-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.category-item p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* 校友录页面样式 */
.year-selector {
    margin: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.year-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px 0;
}

.year-item {
    padding: 8px 16px;
    border-radius: 20px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.year-item.active {
    background: #1976D2;
    color: #fff;
}

.college-selector {
    margin: 0 20px 20px 20px;
}

.college-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.college-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.college-item.active {
    background: #1976D2;
    color: #fff;
    border-color: #1976D2;
}

.alumni-list {
    margin: 0 20px;
}

.alumni-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s;
}

.alumni-item:hover {
    transform: translateY(-2px);
}

.alumni-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.alumni-info {
    flex: 1;
}

.alumni-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.alumni-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.4;
}

.alumni-need {
    font-size: 12px;
    color: #1976D2;
    background: #E3F2FD;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* 我的页面样式 */
.profile-content {
    padding: 20px;
    color: #666;
}

.profile-content .admin-toggle {
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-content p {
    text-align: center;
    padding: 20px 0;
}

/* 底部导航 */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #fff;
    border-radius: 0 0 32px 32px;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}

.nav-item.active {
    color: #1976D2;
}

.nav-item:not(.active) {
    color: #999;
}

.nav-icon {
    font-size: 20px;
}

.nav-text {
    font-size: 11px;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 430px) {
    .phone-frame {
        width: 100%;
        max-width: 393px;
        height: 100vh;
        max-height: 852px;
        border-radius: 0;
        padding: 0;
    }
    
    .phone-frame::before {
        display: none;
    }
    
    .app-container {
        border-radius: 0;
    }
    
    .bottom-nav {
        border-radius: 0;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* 活动详情页面样式 */
.detail-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    gap: 15px;
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #1976D2;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background: #f5f5f5;
}

.back-icon {
    display: block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
}

.detail-header .activity-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
    margin-right: 34px; /* 平衡返回按钮的宽度 */
}

.activity-detail-content {
    padding-bottom: 80px;
}

.activity-hero {
    margin-bottom: 20px;
}

.activity-main-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.activity-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-main-title {
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.activity-main-title h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.activity-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.activity-tags {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tag-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #e0e0e0;
    transition: all 0.3s ease;
}

.tag-item:first-child {
    flex: 0.8;
    border-left-color: #4CAF50;
}

.tag-item:nth-child(2) {
    flex: 1.2;
    border-left-color: #2196F3;
}

.tag-item:last-child {
    flex: 2;
    border-left-color: #FF9800;
}

.tag-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-value {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.tag-value.free {
    color: #4CAF50;
}

.tag-value.location {
    color: #2196F3;
}

.tag-value.time {
    color: #FF9800;
}

/* 参与人员Tab样式 */
.main-tabs,
.attendees-tabs {
    background: #fff;
    margin-bottom: 15px;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn.active {
    color: #1976D2;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #1976D2;
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    padding: 20px;
}

.tab-panel.active {
    display: block;
}

.attendees-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attendee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.attendee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.attendee-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 全部报名表样式 */
.registration-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.registration-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #1976D2;
}

.attendee-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.registration-time {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.activity-details {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
}

.activity-details h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.details-content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.details-content h4 {
    font-size: 15px;
    color: #333;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.details-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.details-content li {
    margin-bottom: 5px;
}

.details-content p {
    margin: 10px 0;
}

.details-content strong {
    color: #333;
    font-weight: 600;
}

.detail-bottom-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #fff;
    border-radius: 0 0 32px 32px;
    display: flex;
    padding: 10px 20px;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.register-btn {
    flex: 2;
    background: #3bc599;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background: #1565C0;
}

.share-btn {
    flex: 1;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 13px;
}

.group-btn {
    flex: 1;
    background: #FF9800;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.3s;
}

.group-btn:hover {
    background: #F57C00;
}

/* 微信群二维码页面样式 */
.qr-code-container {
    padding: 20px;
    background: #fff;
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-header {
    text-align: center;
    margin-bottom: 30px;
}

.qr-code-header h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.qr-code-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.qr-code-wrapper {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    width: 100%;
}

.qr-code-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-code-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.qr-code-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.group-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-align: left;
}

.group-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.group-features li {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qr-code-tips {
    width: 100%;
    max-width: 320px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f0f7ff;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #2196F3;
}

.tip-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.tip-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* 活动相册模块样式 */
.activity-gallery {
    margin: 20px 20px 0 20px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gallery-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.gallery-more-btn {
    background: #2196F3;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gallery-more-btn:hover {
    background: #1976D2;
}

.gallery-images {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.gallery-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}