
.section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.section-title-wrap .section-title {
    margin: 0;
}

.sjid-small {
    font-size: 11px;
    color: #aaa;
    white-space: nowrap;
    flex-shrink: 0;
}
	
	.tag-checkbox {
    display:inline-flex;align-items:center;
    padding:6px 14px;border:1px solid #ddd;border-radius:20px;
    font-size:13px;color:#555;cursor:pointer;user-select:none;
    background:#fafafa;transition:all .2s;
}
.tag-checkbox input { margin-right:6px; }
.tag-checkbox:has(input:checked) {
    background:#e6f4ff;border-color:#1890ff;color:#1890ff;font-weight:500;
}
	
	
	
	/* ===== 弹窗遮罩：flex 居中 ===== */
.signup-modal-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    align-items: stretch;   /* 让弹窗撑满 */
    justify-content: center;
}

/* ===== 弹窗主体：100%宽高（移动端） ===== */
.signup-modal {
    width: 100%;
	max-width: 480px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== 弹窗头部（固定） ===== */
.signup-modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.signup-modal-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.signup-modal-close {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

/* ===== 弹窗内容（可滚动） ===== */
.signup-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* iOS 顺滑滚动 */
    padding: 16px;
}

/* ===== 底部按钮（固定） ===== */
.signup-modal-footer {
    flex: 0 0 auto;
    padding: 12px 16px;
    border-top: 1px solid #eee;
    background: #fff;
}

.confirm-signup-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 22px;
    background: #1890ff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.confirm-signup-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ===== 大屏时弹窗居中、限制尺寸（可选） ===== */
@media (min-width: 600px) {
    .signup-modal-mask {
        align-items: center;
    }
    .signup-modal {
        width: 100vh;
        height: auto;
        max-height: 90vh;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 30px rgba(0,0,0,.15);
    }
}
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    /* 防止 iOS 底部安全区遮挡 */
    padding-bottom: env(safe-area-inset-bottom);
}



/* 活动详情特有样式 */
.activity-banner {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0 0 20px 20px;
}

.activity-banner-default {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    border-radius: 0 0 20px 20px;
}

.activity-info-section {
    background: white;
    margin: -30px 15px 15px 15px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.activity-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.activity-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.meta-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f0f5ff;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 12px;
}

.activity-price-section {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-price {
    font-size: 24px;
    font-weight: bold;
    color: #fa8c16;
}

.activity-price.free {
    color: #52c41a;
}

.price-label {
    font-size: 12px;
    color: #996600;
}

.activity-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-not-started {
    background: #e6f7ff;
    color: #1890ff;
}

.status-ongoing {
    background: #f6ffed;
    color: #52c41a;
}

.status-ended {
    background: #fff1f0;
    color: #ff4d4f;
}

.status-full {
    background: #fff7e6;
    color: #fa8c16;
}

.status-registered {
    background: #f6ffed;
    color: #52c41a;
}

.activity-detail-section {
    background: white;
    margin: 0 15px 15px 15px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.activity-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.activity-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

/* 报名信息 */
.registration-info {
    background: white;
    margin: 0 15px 15px 15px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #666;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 报名表单模态框 */
.signup-modal-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.signup-modal {
    background: white;
    width: 100%;
	/*
    max-width: 400px;
	*/
    border-radius: 15px;
    overflow: hidden;
}

.signup-modal-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signup-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.signup-modal-close {
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.signup-modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.form-textarea {
    width: 100%;
    height: 80px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    box-sizing: border-box;
}

.form-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.signup-modal-footer {
    padding: 15px 20px 20px;
}

.confirm-signup-btn {
    width: 100%;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.confirm-signup-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 底部按钮 */
.signup-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    z-index: 100;
}

.signup-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.signup-btn.registered {
    background: #52c41a;
}

.bottom-blank {
    height: 80px;
}

/* 支付状态 */
.payment-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.payment-unpaid {
    background: #fff1f0;
    color: #ff4d4f;
}

.payment-paid {
    background: #f6ffed;
    color: #52c41a;
}

.payment-refunded {
    background: #f0f0f0;
    color: #999;
}

/* 签到状态 */
.signin-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.signin-not {
    background: #fff1f0;
    color: #ff4d4f;
}

.signin-yes {
    background: #f6ffed;
    color: #52c41a;
}



/* 标题 + 右侧图标布局 */
.activity-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* 标题文字 */
.activity-title .title-text {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
}

/* 右侧分享图标 */
.title-share-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    color: #666;
    text-decoration: none;
    font-size: 18px;
}

.title-share-icon:active {
    background: rgba(0,0,0,0.12);
}

/* 图标字体（如果你用的是 iconfont） */
.title-share-icon .ico {
    font-family: 'iconfont';
    font-style: normal;
}
