/* OZVIA App - Original Mobile Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #F5F5F5;
    color: #333;
    min-height: 100vh;
    line-height: 1.6;
    padding-bottom: 0;
}

/* App Container */
.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== 页面安全距离，防止TabBar遮挡 ===== */
/* 所有 .app 内的直接子元素（TabBar除外）的最后一个，获得安全底部距离 */
.app > *:not(.tab-bar):not(nav):last-child {
    padding-bottom: 60px !important;
    margin-bottom: 0 !important;
}

/* page-content 安全距离 */
.page-content {
    padding-bottom: 60px;
}

/* 内容区的最后区块安全距离 */
.page-content > *:last-child,
.content-section:last-child,
.section:last-child,
.card:last-child,
.list-section:last-child {
    padding-bottom: 60px !important;
    margin-bottom: 0 !important;
}

/* TabBar 固定在底部 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    padding: 0 4px;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
}

/* TabBar 固定在底部 */


/* Header */
.app-header {
    background: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #2E8B57;
    text-decoration: none;
}

.logo span {
    color: #FF6B1A;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #666;
}

.header-user a {
    color: #2E8B57;
    text-decoration: none;
}

.btn-back {
    padding: 6px 14px;
    border: 1px solid #2E8B57;
    border-radius: 16px;
    color: #2E8B57;
    text-decoration: none;
    font-size: 13px;
    background: transparent;
}

.btn-logout {
    padding: 6px 14px;
    border: 1px solid #2E8B57;
    border-radius: 16px;
    color: #2E8B57;
    text-decoration: none;
    font-size: 13px;
    background: transparent;
}

/* User Card */
.user-card {
    background: #fff;
    margin: 16px;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* 用户信息行：头像左 + 名字/等级右 */
.user-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.user-avatar {
    width: 64px;
    height: 64px;
    font-size: 44px;
    line-height: 64px;
    flex-shrink: 0;
}

.user-detail {
    flex: 1;
}

.user-name {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.user-level {
    display: inline-block;
    padding: 3px 12px;
    background: #E8F5E9;
    color: #2E8B57;
    border-radius: 10px;
    font-size: 13px;
}

.user-name {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.user-level {
    display: inline-block;
    padding: 4px 12px;
    background: #E8F5E9;
    color: #2E8B57;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 16px;
}

.user-level a {
    color: #2E8B57;
    text-decoration: none;
}

.user-stats {
    display: flex;
    justify-content: flex-start;
    gap: 48px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #2E8B57;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: #999;
}

.guest-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 14px 0;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.guest-action-item {
  text-align: center;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 8px;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
}

.guest-action-item:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.guest-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  margin-top: 4px;
}

.guest-action-item {
  text-align: center;
}

.guest-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.guest-icon.green { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.guest-icon.orange { background: linear-gradient(135deg, #FFD700 0%, #FFA07A 100%); }
.guest-icon.blue { background: linear-gradient(135deg, #00BFFF 0%, #1E90FF 100%); }
.guest-icon.purple { background: linear-gradient(135deg, #FF69B4 0%, #DA70D6 100%); }

.guest-text {
  font-size: 12px;
  color: #666;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px;
    background: #fff;
    margin: 0 16px 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.action-item {
    text-align: center;
    text-decoration: none;
    color: #333;
}

.action-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 8px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.action-icon.orange { background: #FFF3E0; }
.action-icon.green { background: #E8F5E9; }
.action-icon.blue { background: #E3F2FD; }
.action-icon.gold { background: #FFF8E1; }

.action-text {
    font-size: 12px;
    color: #666;
}

/* Section */
.section {
    margin: 0 16px 16px;
}

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

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.section-more {
    font-size: 13px;
    color: #999;
    text-decoration: none;
}

/* Activity Card */
.activity-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.activity-tag {
    padding: 2px 8px;
    background: #E8F5E9;
    color: #2E8B57;
    border-radius: 4px;
    font-size: 10px;
}

.activity-price {
    font-size: 16px;
    font-weight: 700;
    color: #FF6B1A;
}

.activity-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

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

/* Form Styles */
.form-section {
    background: #fff;
    margin: 16px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #666;
    font-size: 13px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: #F5F5F5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2E8B57;
}

.form-group input:disabled {
    background: #eee;
    color: #999;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFA07A 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 24px rgba(255,107,107,0.45);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,107,107,0.6);
}

.btn-outline {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* Menu Items */
.menu-list {
    background: #fff;
    margin: 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #333;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    font-size: 22px;
    text-align: center;
}

.menu-text {
    flex: 1;
    font-size: 15px;
}

.menu-arrow {
    color: #ccc;
    font-size: 14px;
}

/* Bottom Tab Bar */


.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    padding: 0 4px;
    height: 100%;
    flex: 1;
    max-width: 70px;
    overflow: hidden;
}
    overflow: hidden;
}

.tab-label {
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
}

.tab-item.active {
    color: #2E8B57;
}

.tab-icon {
    font-size: 22px;
    line-height: 1;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Header (Dark) */
.page-header-dark {
    background: #0D1F3C;
    padding: 16px;
    display: flex;
    align-items: center;
    color: white;
}

.page-header-dark .back-btn {
    color: white;
    text-decoration: none;
    margin-right: 12px;
    font-size: 22px;
}

.page-header-dark h1 {
    font-size: 17px;
    font-weight: 500;
}

/* Order Card */
.order-card {
    background: #fff;
    margin: 16px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    color: #999;
}

.order-product {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.order-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
}

.order-price {
    font-size: 22px;
    font-weight: 700;
    color: #FF6B1A;
}

.order-pay-method {
    font-size: 13px;
    color: #666;
}

.order-status {
    padding: 4px 12px;
    background: #E8F5E9;
    color: #2E8B57;
    border-radius: 12px;
    font-size: 12px;
}

/* Product Card */
.product-card {
    background: #fff;
    margin: 16px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.product-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
}

.product-tag.green { background: #E8F5E9; color: #2E8B57; }
.product-tag.red { background: #FFEBEE; color: #E53935; }

.product-series {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.spec-tag {
    padding: 4px 10px;
    background: #F5F5F5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

/* Points Discount */
.points-discount {
    background: #0D1F3C;
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 16px;
}

.points-discount-title {
    font-size: 14px;
    margin-bottom: 8px;
}

.points-discount-value {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 16px;
}

.points-slider {
    width: 100%;
    margin-bottom: 16px;
}

.points-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* Login Page - 2026-05-29 美化版 */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 20px 24px;
    position: relative;
    overflow: hidden;
}

/* 背景装饰圆 */
.login-page::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -60px;
    right: -50px;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: 40px;
    left: -40px;
}

.login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.login-logo h1 {
    font-size: 36px;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 8px;
}

.login-logo h1 span {
    background: linear-gradient(135deg, #FFD700 0%, #FFA07A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-logo p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-top: 8px;
}

/* 标语胶囊 2026-05-29 */
.tagline-capsule {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.2);
    margin-top: 8px;
}

.login-form {
    background: white;
    padding: 28px 24px;
    border-radius: 16px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.login-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-links a {
    color: #2E8B57;
    text-decoration: none;
}

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success {
    background: #E8F5E9;
    color: #2E8B57;
}

.alert-error {
    background: #FFEBEE;
    color: #E53935;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 380px) {
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .user-stats {
        gap: 24px;
    }
}

/* Auth Page (Login/Register) */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0D1F3C 0%, #1a3a5c 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    font-size: 48px;
    margin-bottom: 16px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.auth-header p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.auth-form {
    background: white;
    padding: 24px;
    border-radius: 20px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.auth-footer a {
    color: #2E8B57;
    text-decoration: none;
}

.auth-back {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
}

.auth-back a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

/* ===== 新增：页面共用组件样式 ===== */

/* Header Inner - header内部布局 */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Btn Sm - 小按钮（返回/周数等）*/
.btn-sm {
  padding: 6px 14px;
  border: 1px solid #2E8B57;
  border-radius: 16px;
  color: #2E8B57;
  text-decoration: none;
  font-size: 13px;
  background: transparent;
  display: inline-block;
}

/* Page Title - 页面标题区 */
.page-title {
  padding: 16px 16px 8px;
}
.page-title h1 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}
.page-title p {
  font-size: 13px;
  color: #999;
}

/* Filter Bar - 活动筛选栏 */
.filter-bar {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #e0e0e0;
  transition: all 0.2s;
}
.filter-btn.active {
  background: #2E8B57;
  color: white;
  border-color: #2E8B57;
}

/* Card - 通用卡片 */
.card {
  background: #fff;
  margin: 0 16px 16px;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

/* Checkin Card & States */
.checkin-card { text-align: center; }
.checkin-done .checkin-icon {
  font-size: 56px;
  margin-bottom: 12px;
}
.checkin-done h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 4px;
}
.checkin-done p {
  font-size: 14px;
  color: #999;
}
.checkin-prompt .checkin-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.checkin-prompt h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 4px;
}
.checkin-prompt p {
  font-size: 14px;
  color: #999;
  margin-bottom: 16px;
}
.checkin-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  resize: none;
  margin-bottom: 12px;
  background: #F5F5F5;
}

/* Checkin Item - 打卡动态条目 */
.checkin-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.checkin-author {
  font-size: 15px;
  font-weight: 600;
  color: #2E8B57;
  margin-bottom: 6px;
}
.checkin-content {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 6px;
}
.checkin-time {
  font-size: 12px;
  color: #bbb;
}

/* Activity List & Card Enhancements */
.activity-list {
  padding: 0 16px;
}
.act-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.act-type-badge {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  color: white;
}
.act-price {
  font-size: 17px;
  font-weight: 700;
  color: #FF6B1A;
}
.act-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.act-card-meta {
  font-size: 13px;
  color: #888;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.act-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}
.progress-bar {
  flex: 1;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  margin-left: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #2E8B57;
  border-radius: 3px;
  transition: width 0.3s;
}

/* Rank List */
.rank-list {
  padding: 0 16px;
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.rank-item.rank-top {
  background: linear-gradient(135deg, #FFFDE7, #FFF8E1);
  border: 1px solid #FFE082;
}
.rank-num {
  font-size: 22px;
  width: 32px;
  text-align: center;
  font-weight: 700;
}
.rank-icon {
  font-size: 22px;
  margin-right: 10px;
}
.rank-name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
.rank-pts {
  font-size: 15px;
  font-weight: 700;
  color: #FF6B1A;
}

/* Section title override for checkin/rank pages */
.section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

/* ============================================
   活动详情页（报名页）样式
   ============================================ */

/* 活动详情卡片 */
.detail-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* 活动类型标签 */
.detail-type {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

/* 活动标题 */
.detail-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px 0;
  line-height: 1.35;
}

/* 活动信息行 */
.detail-info {
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  margin-bottom: 16px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
}

.detail-label {
  color: #666;
  flex-shrink: 0;
  margin-right: 8px;
}

/* 活动描述 */
.detail-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

/* 报名操作区 */
.detail-action {
  margin-top: 10px;
}

/* 已使用积分提示 */
.points-used-info {
  background: #E8F5E9;
  color: #2E8B57;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 14px;
  text-align: center;
}

/* 禁用按钮 */
.btn-disabled {
  background: #ccc !important;
  color: #fff !important;
  cursor: not-allowed !important;
}

/* 积分抵扣区域 - 深色卡片风格（参考截图）*/
.points-deduct-section {
  background: linear-gradient(135deg, #1a2a4a 0%, #2d3e5f 100%);
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 16px;
  color: white;
}

.points-deduct-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 600;
}

.points-deduct-icon {
  font-size: 22px;
}

.points-deduct-rate {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.75;
}

.points-deduct-info {
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.points-deduct-info strong {
  color: #FFD700;
  font-weight: 700;
  font-size: 17px;
}

/* 滑块区域 */
.points-deduct-slider {
  position: relative;
}

.points-deduct-label {
  display: block;
  width: 100%;
}

.points-deduct-slider input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.25);
  outline: none;
  cursor: pointer;
}

.points-deduct-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  border: 3px solid #FFD700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.15s;
}

.points-deduct-slider input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.deduction-preview {
  text-align: center;
  margin-top: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

.deduction-preview strong {
  color: #FFD700;
  font-weight: 700;
  font-size: 22px;
}

/* 报名列表 */
.signup-list {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.signup-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

.signup-item:last-child {
  border-bottom: none;
}

.signup-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #666;
  margin-right: 12px;
  flex-shrink: 0;
}

.signup-name {
  flex: 1;
  color: #333;
}

.signup-deduct-badge {
  font-size: 12px;
  color: #2E8B57;
  background: #E8F5E9;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Alert 提示框 */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
}

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

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

/* 往期活动样式 */
.past-activity {
  opacity: 0.65;
  pointer-events: none;
}

.past-label {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  background: #e0e0e0;
  color: #666;
}


/* 强制登录按钮在 .login-page 内可见 */
.login-page .btn-outline {
    background: rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.9) !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login-page .btn-outline:hover {
    background: rgba(255,255,255,0.3) !important;
}

/* 白色卡片内的登录按钮（确保可见） */
.login-form .btn-outline {
    background: #f5f5f5 !important;
    color: #555 !important;
    border: 1px solid #ddd !important;
}

.login-form .btn-outline:hover {
    background: #eee !important;
    color: #333 !important;
}


/* ===== 2026-05-29 修正：图标文字白色加大粗体 ===== */
.guest-text {
    color: white !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.guest-desc {
    color: rgba(255,255,255,0.7) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

/* 修正2: login-page 背景铺满，底部无白色 */
.login-page {
    min-height: 100vh !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
}

body {
    padding-bottom: 0 !important;
}
