/**
 * 活动详情页专用样式
 */

/* ========== 页面布局 ========== */
body {
    padding-bottom: 80px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ========== 活动头部 ========== */
.activity-header {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.activity-header .activity-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 15px;
    line-height: 1.4;
    border-bottom: 2px solid #f0f0f0;
}

.activity-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
}

.activity-meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
    font-size: 15px;
    color: #333;
}

.meta-icon {
    min-width: 24px;
}

.activity-description {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    line-height: 1.8;
    word-wrap: break-word;
    word-break: break-word;
    color: #333;
    font-size: 14px;
}

/* ========== 图片轮播 ========== */
.images-slider {
    position: relative;
    width: 100%;
    height: 240px;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
}

.slider-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-image.active {
    display: block;
}

.slider-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.slider-count {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.slider-arrow-left {
    left: 10px;
}

.slider-arrow-right {
    right: 10px;
}

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

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

.slider-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* ========== 创建者信息 ========== */
.creator-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.creator-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.creator-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.creator-contact {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: all;
}

.creator-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 192, 239, 0.4);
}

.creator-contact:active {
    transform: translateY(0);
}

.contact-copy-hint {
    font-size: 11px;
    color: #999;
    margin-top: 6px;
}

/* ========== 区块样式 ========== */
.section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* ========== 参与者列表 ========== */
.participants-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.participant-item {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s;
}

.participant-item:hover {
    background: #f0f0f0;
}

.participant-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.participant-name {
    font-size: 13px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

/* 发起人查看参与者详情 */
.participants-detail-list {
    margin-top: 15px;
}

.participant-detail-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.participant-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.participant-detail-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.participant-detail-info {
    flex: 1;
}

.participant-detail-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 3px;
}

.participant-detail-meta {
    font-size: 12px;
    color: #999;
}

.participant-detail-message {
    background: white;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    border-left: 3px solid #a6c0ef;
}

/* ========== 操作按钮区域 ========== */
.action-area {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 200;
}

.action-area .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-join, .btn-cancel, .btn-manage, .btn-login {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: block;
}

.btn-join {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-cancel {
    background: #f44336;
    color: white;
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.btn-manage {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
}

.btn-manage:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 192, 239, 0.4);
}

.btn-login {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 192, 239, 0.4);
}

.btn-disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* ========== 管理弹窗 ========== */
.manage-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.manage-modal.show {
    display: flex;
}

.manage-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.manage-modal-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.manage-modal-title {
    font-size: 18px;
    font-weight: bold;
}

.manage-modal-body {
    padding: 20px;
}

.manage-option {
    padding: 15px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.manage-option:hover {
    background: #f0f0f0;
}

.manage-option-icon {
    font-size: 24px;
}

.manage-option-text {
    flex: 1;
}

.manage-option-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 3px;
}

.manage-option-desc {
    font-size: 12px;
    color: #999;
}

.manage-close {
    padding: 12px;
    margin-top: 10px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

/* ========== 状态修改弹窗 ========== */
.status-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 4000;
    align-items: center;
    justify-content: center;
}

.status-modal.show {
    display: flex;
}

.status-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 360px;
    width: 90%;
    overflow: hidden;
}

.status-modal-header {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
}

.status-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.status-modal-body {
    padding: 20px;
}

.status-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-option {
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-option:hover {
    border-color: #a6c0ef;
    background: #f9fafb;
}

.status-option input[type="radio"] {
    width: 18px;
    height: 18px;
}

.status-modal-buttons {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.status-modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.status-modal-btn-primary {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
}

.status-modal-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

/* ========== 删除确认弹窗 ========== */
.delete-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5000;
    align-items: center;
    justify-content: center;
}

.delete-confirm-modal.show {
    display: flex;
}

.delete-confirm-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 340px;
    width: 90%;
    overflow: hidden;
}

.delete-confirm-modal-header {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.delete-confirm-modal-icon {
    font-size: 56px;
    margin-bottom: 10px;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.delete-confirm-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.delete-confirm-modal-body {
    padding: 24px;
    text-align: center;
    color: #666;
    line-height: 1.8;
}

.delete-warning-box {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 12px;
    margin: 12px 0;
    border-radius: 4px;
    color: #c62828;
    font-weight: 500;
    font-size: 13px;
}

.delete-confirm-modal-buttons {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
}

.delete-confirm-modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.delete-confirm-modal-btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
}

.delete-confirm-modal-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.delete-confirm-modal-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.delete-confirm-modal-btn-cancel:hover {
    background: #e0e0e0;
}

/* ========== 报名表单弹窗 ========== */
.join-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.join-modal.show {
    display: flex;
}

.join-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.join-modal-header {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.join-modal-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.join-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.join-modal-body {
    padding: 24px;
    text-align: left;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.join-modal-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 4px;
    color: #856404;
    font-size: 13px;
    line-height: 1.6;
}

.join-form-group {
    margin-bottom: 15px;
}

.join-form-label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.join-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.join-modal-buttons {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
}

.join-modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.join-modal-btn-submit,
.join-modal-btn-success {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
}

.join-modal-btn-submit:hover,
.join-modal-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 192, 239, 0.4);
}

.join-modal-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.join-modal-btn-cancel:hover {
    background: #e0e0e0;
}

/* ========== 取消报名确认弹窗 ========== */
.cancel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cancel-modal.show {
    display: flex;
}

.cancel-modal-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 320px;
    width: 90%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.cancel-modal-header {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.cancel-modal-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.cancel-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.cancel-modal-body {
    padding: 24px;
    text-align: left;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.cancel-modal-warning {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    color: #856404;
    font-size: 13px;
    line-height: 1.6;
}

.cancel-modal-buttons {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
}

.cancel-modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.cancel-modal-btn-warning {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    color: white;
}

.cancel-modal-btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.cancel-modal-btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.cancel-modal-btn-secondary:hover {
    background: #e0e0e0;
}

/* ========== 状态修改确认弹窗 ========== */
.status-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.status-confirm-modal.show {
    display: flex;
}

.status-confirm-modal-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 320px;
    width: 90%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.status-confirm-modal-header {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.status-confirm-modal-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.status-confirm-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.status-confirm-modal-body {
    padding: 24px;
    text-align: center;
    color: #666;
    line-height: 1.6;
}

.status-confirm-modal-buttons {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
}

.status-confirm-modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.status-confirm-modal-btn-primary {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
}

.status-confirm-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 192, 239, 0.4);
}

.status-confirm-modal-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.status-confirm-modal-btn-cancel:hover {
    background: #e0e0e0;
}

/* ========== 管理面板 ========== */
.manage-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.manage-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.manage-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.participant-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 10px;
}

.participant-detail:last-child {
    margin-bottom: 0;
}

.participant-detail img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.participant-detail-info {
    flex: 1;
}

.participant-detail-name {
    font-weight: 500;
    margin-bottom: 4px;
}

.participant-detail-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.participant-detail-message {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.status-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.status-btn {
    padding: 12px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.status-btn.active {
    border-color: #a6c0ef;
    background: #a6c0ef;
    color: white;
}

.status-btn:hover:not(.active) {
    border-color: #a6c0ef;
}

.danger-zone {
    background: #fff5f5;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ffcdd2;
}

.danger-zone h3 {
    color: #f44336;
}

.btn-delete {
    background: #f44336;
    color: white;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-delete:hover {
    background: #d32f2f;
}

.empty-list {
    text-align: center;
    padding: 20px;
    color: #999;
}

.empty-participants {
    text-align: center;
    padding: 30px;
    color: #999;
}

/* ========== 按钮样式扩展 ========== */
.btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.btn-danger {
    background: #f44336;
    color: white;
}

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

.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 10px;
    z-index: 100;
}

/* ========== 消息提示框（活动详情专用） ========== */
.message-box {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-align: center;
    z-index: 3000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 15px;
    min-width: 200px;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
}

.message-box.fade-out {
    animation: slideOutUp 0.5s ease-out forwards;
}

/* ========== 模态框扩展 ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal.show {
    display: block;
}

.modal-content {
    background: white;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: linear-gradient(135deg, #a6c0ef 0%, #fbd7f2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 24px;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* ========== 确保所有弹窗默认隐藏 ========== */
.modal:not(.show),
.join-modal:not(.show),
.cancel-modal:not(.show),
.status-confirm-modal:not(.show),
.delete-confirm-modal:not(.show),
.manage-modal:not(.show),
.login-modal:not(.show) {
    display: none !important;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .participants-list {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .activity-header .activity-title {
        font-size: 18px;
    }
    
    .images-slider {
        height: 200px;
    }
}
