* {
    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;
    line-height: 1.6;
    padding-bottom: 70px; /* 为底部操作栏留空间 */
}

/* 状态栏 */
.status-bar {
    height: 20px;
    background: #000;
}

/* 导航栏 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
}

.nav-title {
    font-size: 17px;
    font-weight: 500;
    color: #333;
}

.nav-right {
    display: flex;
    gap: 5px;
}

/* 视频/图片区域 */
.hero-section {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 15px;
    color: #fff;
}

.overlay-text {
    font-size: 12px;
    margin-bottom: 5px;
    opacity: 0.9;
}

/* 红色横幅 */
.red-banner {
    background: #ff4757;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
}

.banner-text {
    font-size: 16px;
    font-weight: 500;
    flex: 1;
}

.banner-donate-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.banner-donate-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.banner-donate-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 通用区块样式 */
.section {
    background: #fff;
    margin-bottom: 10px;
    padding: 20px 15px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-icon {
    font-size: 20px;
    display: inline-block;
}

.section-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.subsection-title {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-bottom: 10px;
}

/* 项目概述 */
.agency-box {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.agency-label {
    color: #999;
}

.agency-name {
    flex: 1;
    margin-left: 5px;
    color: #333;
}

.arrow {
    color: #999;
    margin-left: 5px;
}

/* 执行区域覆盖 */
.execution-coverage {
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7f0 100%);
}

.coverage-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #ff4757;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(255, 71, 87, 0.2);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    display: inline-block;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.stat-label {
    font-size: 13px;
    color: #666;
}

.coverage-text {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* 数字化工具 */
.digital-tools {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6edff 100%);
}

.tools-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.tool-item {
    text-align: center;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
    color: #1976d2;
    box-shadow: 
        0 4px 12px rgba(25, 118, 210, 0.2),
        0 2px 4px rgba(25, 118, 210, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.tool-icon:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 16px rgba(25, 118, 210, 0.3),
        0 3px 6px rgba(25, 118, 210, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.tool-text {
    font-size: 13px;
    color: #666;
}

/* 最新进展 */
.progress-container {
    margin-bottom: 15px;
}

.progress-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.progress-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.progress-item.hidden {
    display: none;
}

.progress-more-wrapper {
    text-align: center;
    margin-top: 10px;
}

.progress-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.progress-text {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.progress-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.progress-images {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.progress-img {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 6px;
}

.more-link {
    font-size: 13px;
    color: #ff4757;
    text-decoration: none;
}

/* 捐赠情况 */
.donation-status {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe8d6 100%);
}

.donation-progress {
    display: flex;
    align-items: center;
    gap: 20px;
}

.circular-progress {
    position: relative;
    flex-shrink: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 3px rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle-bg {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 8;
}

.progress-ring-circle {
    fill: none;
    stroke: #ff4757;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.5s ease;
}

/* 初始化圆形进度条 */
.progress-ring {
    width: 100px;
    height: 100px;
}

.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #ff4757;
}

.donation-stats {
    flex: 1;
}

.donation-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.donation-stat-item:last-child {
    margin-bottom: 0;
}

.donation-stat-item .stat-label {
    color: #666;
    flex: 0 0 auto;
    white-space: nowrap;
}

.donation-stat-item .stat-value {
    flex: 1;
    min-width: 0;
    color: #333;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    text-align: right;
    padding: 6px 10px;
    background: #fff;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donation-stat-item .stat-value:hover {
    overflow-x: auto;
    text-overflow: clip;
}

.donation-stat-item .stat-value::-webkit-scrollbar {
    height: 2px;
}

.donation-stat-item .stat-value::-webkit-scrollbar-track {
    background: transparent;
}

.donation-stat-item .stat-value::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1px;
}

/* 我们一块做好事 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.together-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.together-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.together-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 2px 5px rgba(0, 0, 0, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 1);
}

.together-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.together-info {
    flex: 1;
}

.together-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.together-amount {
    font-size: 12px;
    color: #666;
}

.together-btn {
    background: linear-gradient(135deg, #ff6b7a 0%, #ff4757 100%);
    color: #fff;
    border: none;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 
        0 3px 10px rgba(255, 71, 87, 0.3),
        0 1px 3px rgba(255, 71, 87, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.together-btn:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(255, 71, 87, 0.4),
        0 2px 4px rgba(255, 71, 87, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.together-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 6px rgba(255, 71, 87, 0.3),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 项目介绍 */
.intro-content {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.intro-content p {
    margin-bottom: 15px;
}

.intro-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.intro-content li {
    margin-bottom: 8px;
}

/* 爱心故事 */
.story-content {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 15px;
}

.story-image {
    margin: 15px 0;
}

.image-placeholder-small {
    width: 100%;
    height: 150px;
    background: #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
}

.expand-link {
    font-size: 13px;
    color: #ff4757;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

/* 爱心回礼 */
.love-gift {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe6f0 100%);
}

.gift-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.gift-content {
    display: flex;
    gap: 15px;
    align-items: center;
}

.gift-image {
    flex-shrink: 0;
}

.image-placeholder-gift {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gift-info {
    flex: 1;
}

.gift-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.gift-donate-btn {
    background: linear-gradient(135deg, #ff6b7a 0%, #ff4757 100%);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 10px;
    box-shadow: 
        0 4px 12px rgba(255, 71, 87, 0.35),
        0 2px 4px rgba(255, 71, 87, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.gift-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 16px rgba(255, 71, 87, 0.4),
        0 3px 6px rgba(255, 71, 87, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.gift-donate-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(255, 71, 87, 0.3),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gift-remaining {
    font-size: 12px;
    color: #999;
}

/* 执行情况 */
.execution-info {
    margin-bottom: 15px;
}

.execution-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.execution-item:last-child {
    border-bottom: none;
}

.execution-item.clickable {
    cursor: pointer;
}

.execution-label {
    color: #999;
    width: 80px;
    flex-shrink: 0;
}

.execution-value {
    flex: 1;
    color: #333;
}

/* 捐款记录 */
.blockchain-note {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.records-container {
    max-height: 300px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.records-list {
    margin-bottom: 15px;
}

.records-list.scrolling {
    animation: scrollUp 20s linear infinite;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.record-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.record-item:last-child {
    border-bottom: none;
}

.record-name {
    color: #333;
    width: 80px;
    flex-shrink: 0;
}

.record-amount {
    flex: 1;
    color: #ff4757;
    font-weight: 500;
}

.record-time {
    color: #999;
    font-size: 12px;
}

/* 意见反馈 */
.feedback-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feedback-item.clickable {
    cursor: pointer;
}

.feedback-icon {
    font-size: 20px;
    margin-right: 10px;
}

.feedback-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-right: 10px;
}

.feedback-desc {
    flex: 1;
    font-size: 13px;
    color: #999;
}

/* 底部 */
.footer {
    background: #fff;
    padding: 30px 15px;
    text-align: center;
    margin-top: 20px;
}

.footer-logo {
    font-size: 18px;
    font-weight: bold;
    color: #ff4757;
    margin-bottom: 8px;
}

.footer-slogan {
    font-size: 13px;
    color: #999;
}

/* 底部操作栏 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 10px 15px;
    display: flex;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.bottom-btn {
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.together-donate-btn {
    background: #fff;
    color: #333;
    border: 1px solid #e5e5e5;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.primary-donate-btn {
    flex: 1;
    background: #ff4757;
    color: #fff;
    padding: 12px 30px;
    font-weight: 500;
}

.bottom-btn:active {
    opacity: 0.8;
}

/* 支付弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.header-title {
    flex: 1;
    font-size: 18px;
    line-height: 1.4;
}

.header-text {
    color: #333;
    font-weight: 500;
}

.header-amount {
    color: #ff4757;
    font-weight: bold;
    font-size: 20px;
}

.header-care-count {
    color: #666;
    font-size: 16px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-left: 10px;
}

.payment-form {
    padding: 20px;
}

/* 份数选择 */
.care-options {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.care-btn {
    flex: 1;
    padding: 12px 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 400;
}

.care-btn.active {
    background: #fff5f5;
    border-color: #ff4757;
    color: #ff4757;
    font-weight: 500;
}

/* 自定义金额 */
.custom-amount-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.custom-amount-row input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.custom-amount-row input::placeholder {
    color: #999;
}

.random-btn {
    padding: 12px 16px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.random-btn:hover {
    background: #f0f0f0;
}

/* 爱心回礼 */
.gift-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 20px;
}

.gift-left {
    flex-shrink: 0;
}

.gift-image-placeholder {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gift-center {
    flex: 1;
}

.gift-title {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}

.gift-desc {
    font-size: 12px;
    color: #999;
}

.gift-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
}

.gift-badge-price-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-right: 8px;
}

.gift-tag {
    background: #ff9500;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

.gift-price {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.gift-toggle {
    width: 40px;
    height: 24px;
    background: #e0e0e0;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-toggle.active {
    background: #ff4757;
}

.toggle-switch {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gift-toggle.active .toggle-switch {
    left: 18px;
}

/* 用户信息区域 */
.user-info-section {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff4757;
}

.form-group textarea {
    resize: vertical;
}

/* 偏好选项 */
.preference-options {
    margin-bottom: 20px;
}

.preference-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
}

.preference-item input[type="checkbox"] {
    display: none;
}

.check-circle {
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.preference-item input[type="checkbox"]:checked + .check-circle {
    border-color: #ff4757;
    background: #ff4757;
}

.preference-item input[type="checkbox"]:checked + .check-circle::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.preference-text {
    font-size: 13px;
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: #ff4757;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.submit-btn:hover {
    background: #ff3742;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 71, 87, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 加载提示 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 消息提示 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 4000;
    animation: fadeIn 0.3s ease;
}

.toast.success {
    background: rgba(76, 175, 80, 0.9);
}

.toast.error {
    background: rgba(244, 67, 54, 0.9);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 响应式设计 */
@media (min-width: 768px) {
    body {
        max-width: 414px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
}
