/* ========================================
   疗程健康服务项目 - 绿色系生机勃勃风格
   核心配色：生命绿 #10B981 + 自然绿 #34D399 + 森林绿 #059669
   ======================================== */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #10B981;
    --light-green: #34D399;
    --dark-green: #059669;
    --fresh-green: #6EE7B7;
    --bg-green: #F0FDF4;
    --bg-light: #F7FEE7;
    --primary-orange: #F97316;
    --bg-gray: #F8FAFC;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --shadow: 0 2px 12px rgba(16, 185, 129, 0.15);
    --shadow-lg: 0 4px 20px rgba(16, 185, 129, 0.2);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(180deg, #F0FDF4 0%, #F7FEE7 100%);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
}

/* 页面容器 */
.page-container {
    max-width: 480px;
    margin: 0 auto;
    background: transparent;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ========================================
   顶部导航 - 绿色渐变
   ======================================== */
.header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 50%, #047857 100%);
    padding: 24px 16px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.header-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
    letter-spacing: 0.5px;
}

.header-subtitle {
    font-size: 14px;
    opacity: 0.95;
    position: relative;
}

/* ========================================
   步骤指示器
   ======================================== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background-color: var(--white);
    margin-bottom: 12px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.step.completed .step-number {
    background: linear-gradient(135deg, var(--fresh-green) 0%, var(--light-green) 100%);
    color: var(--white);
}

.step-text {
    font-size: 13px;
    color: var(--text-gray);
}

.step.active .step-text {
    color: var(--primary-green);
    font-weight: 600;
}

.step-line {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #E5E7EB, #F3F4F6);
    margin: 0 8px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.step-line.active {
    background: linear-gradient(90deg, var(--primary-green), var(--fresh-green));
}

/* ========================================
   区块样式
   ======================================== */
.section {
    background-color: var(--white);
    margin: 0 16px 16px;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.section-icon {
    font-size: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ========================================
   药品分类标签
   ======================================== */
.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.category-tab {
    padding: 10px 18px;
    border: 2px solid #E5E7EB;
    border-radius: 24px;
    background-color: var(--white);
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ========================================
   药品列表
   ======================================== */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border: 2px solid #F3F4F6;
    border-radius: var(--radius);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--fresh-green);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.product-card.hidden {
    display: none;
}

.product-image {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

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

.product-placeholder {
    font-size: 13px;
    color: var(--primary-green);
    text-align: center;
    font-weight: 500;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-name-link {
    text-decoration: none;
    color: inherit;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-spec {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.product-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.tag-chronic {
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    color: var(--dark-green);
}

.tag-cold {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    color: #EA580C;
}

.tag-digest {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    color: #0284C7;
}

.tag-hot {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    color: #DC2626;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-orange);
}

.original-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

/* 产品复选框 */
.product-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 26px;
    height: 26px;
}

.product-checkbox input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.product-checkbox .checkmark {
    width: 26px;
    height: 26px;
    border: 3px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    pointer-events: none;
}

.product-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.product-checkbox input:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

/* 数量选择器 */
.product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--fresh-green);
    background: linear-gradient(135deg, var(--white) 0%, #F0FDF4 100%);
    border-radius: var(--radius-sm);
    font-size: 18px;
    color: var(--primary-green);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    border-color: transparent;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

/* SKU档位选择器 */
.sku-selector {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sku-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
    font-size: 13px;
    user-select: none;
}

.sku-option:hover {
    border-color: var(--fresh-green);
    background: #F0FDF4;
}

.sku-option.selected {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

.sku-option input { display: none; }

.sku-name {
    font-weight: 600;
    color: var(--text-dark);
}

.sku-qty {
    color: var(--text-gray);
}

.sku-price {
    font-weight: 700;
    color: var(--primary-orange);
    margin-left: auto;
}

/* ========================================
   已选服务列表
   ======================================== */
.section-tip {
    font-size: 13px;
    color: var(--primary-green);
    margin-left: auto;
    font-weight: 500;
}

.selected-products {
    margin-top: 18px;
    padding: 20px;
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    border-radius: var(--radius);
    border: 2px solid var(--fresh-green);
}

.selected-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background-color: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.selected-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.selected-item-name {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.selected-item-qty {
    font-size: 14px;
    color: var(--text-gray);
}

.selected-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-orange);
}

.selected-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.btn-change {
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
}

.selected-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.selected-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-orange);
}

/* ========================================
   保险区域
   ======================================== */
.insurance-card {
    border: 3px solid var(--fresh-green);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.insurance-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 50%, #047857 100%);
    padding: 20px;
    color: var(--white);
}

.insurance-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.insurance-subtitle {
    font-size: 14px;
    opacity: 0.95;
}

.insurance-features {
    padding: 20px;
    background: linear-gradient(180deg, #F0FDF4 0%, var(--white) 100%);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    font-weight: 700;
}

.feature-text {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.insurance-calc {
    padding: 20px;
    background-color: var(--white);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
}

.calc-row:last-child {
    margin-bottom: 0;
}

.calc-total {
    font-size: 17px;
    font-weight: 700;
}

.insurance-price {
    color: var(--primary-orange);
    font-size: 22px;
    font-weight: 800;
}

.rate-desc {
    font-size: 13px;
    color: var(--text-gray);
}

.calc-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fresh-green), transparent);
    margin: 16px 0;
}

.insurance-agreement {
    padding: 16px 20px;
    background: linear-gradient(180deg, #F8FAFC 0%, #F0FDF4 100%);
    border-top: 2px solid #E5E7EB;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 3px solid #E5E7EB;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.2s ease;
}

.checkbox-label input:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

.agreement-text {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

.agreement-text a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

/* ========================================
   用药计划
   ======================================== */
.medication-plan {
    margin-top: 18px;
    padding: 20px;
    background: linear-gradient(135deg, #F0FDF4 0%, #F7FEE7 100%);
    border-radius: var(--radius);
    border: 2px solid var(--fresh-green);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.plan-header h3 {
    font-size: 16px;
    font-weight: 700;
}

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

.plan-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row label {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: 14px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.radio-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
}

.time-inputs {
    display: flex;
    gap: 14px;
}

.time-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.2s ease;
}

.time-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* ========================================
   订单汇总
   ======================================== */
.summary-card {
    background: linear-gradient(135deg, #F0FDF4 0%, #F7FEE7 100%);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 2px solid var(--fresh-green);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-label {
    color: var(--text-gray);
}

.summary-value {
    color: var(--text-dark);
    font-weight: 600;
}

.discount-row .summary-value {
    color: var(--primary-green);
    font-weight: 700;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fresh-green), transparent);
    margin: 16px 0;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
}

.total-row .summary-value {
    color: var(--primary-orange);
    font-size: 26px;
    font-weight: 800;
}

/* 支付方式 */
.payment-methods {
    margin-top: 18px;
}

.payment-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.payment-options {
    display: flex;
    gap: 14px;
}

.payment-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border: 3px solid #E5E7EB;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.payment-option input {
    display: none;
}

.payment-option.active {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, #F0FDF4 0%, var(--white) 100%);
    box-shadow: var(--shadow);
}

.payment-icon {
    font-size: 32px;
}

.payment-name {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

/* ========================================
   底部操作栏
   ======================================== */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: var(--white);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(16, 185, 129, 0.12);
    z-index: 100;
    border-radius: var(--radius) var(--radius) 0 0;
}

.footer-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.total-label {
    font-size: 15px;
    color: var(--text-gray);
}

.total-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-orange);
}

.btn-primary {
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 50%, #047857 100%);
    color: var(--white);
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-primary:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--white) 0%, #F0FDF4 100%);
    color: var(--primary-green);
    border: 2px solid var(--fresh-green);
    border-radius: 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ========================================
   弹窗样式
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: flex-end;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 -4px 20px rgba(16, 185, 129, 0.15);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #F3F4F6;
    background: linear-gradient(135deg, #F0FDF4 0%, var(--white) 100%);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    border-radius: 50%;
    font-size: 24px;
    color: var(--primary-green);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-top: 2px solid #F3F4F6;
    background: linear-gradient(180deg, var(--white) 0%, #F0FDF4 100%);
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    flex: 1;
}

/* 理赔步骤 */
.claim-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.claim-step {
    display: flex;
    gap: 16px;
}

.claim-step .step-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.claim-step .step-content {
    flex: 1;
}

.claim-step .step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.claim-step .step-desc {
    font-size: 14px;
    color: var(--text-gray);
}

/* 上传区域 */
.upload-area {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

.upload-box {
    flex: 1;
    aspect-ratio: 1;
    border: 3px dashed var(--fresh-green);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #F0FDF4 0%, var(--white) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, #D1FAE5 0%, #F0FDF4 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.upload-icon {
    font-size: 40px;
}

.upload-text {
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
    font-weight: 500;
}

/* 输入框 */
.input-field {
    width: 100%;
    padding: 14px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-sm);
    font-size: 16px;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.verify-row {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}

.verify-row .input-field {
    flex: 1;
    margin-top: 0;
}

.btn-verify {
    padding: 0 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

/* ========================================
   提示消息
   ======================================== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
}

.toast.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   响应式适配
   ======================================== */
@media (max-width: 480px) {
    .page-container {
        max-width: 100%;
    }
    
    .footer-bar {
        max-width: 100%;
    }
}

/* ========================================
   公众号服务页面样式 - 绿色系风格
   ======================================== */
.service-page {
    background: linear-gradient(180deg, #F0FDF4 0%, #F7FEE7 100%);
}

.service-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 50%, #047857 100%);
    padding: 28px 16px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

.service-header .user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
}

.user-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--white) 0%, #F0FDF4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-name {
    font-size: 20px;
    font-weight: 700;
}

.user-phone {
    font-size: 14px;
    opacity: 0.95;
}

.quick-stats {
    display: flex;
    gap: 14px;
    position: relative;
}

.stat-item {
    flex: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
}

.stat-label {
    font-size: 13px;
    opacity: 0.95;
    margin-top: 4px;
}

/* 功能菜单网格 - 绿色系 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px 16px;
    background-color: var(--white);
    margin: 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-item:hover {
    transform: translateY(-3px);
}

.menu-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.menu-icon:hover {
    transform: scale(1.1);
}

.menu-icon.blue {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.menu-icon.green {
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
}

.menu-icon.orange {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

.menu-icon.red {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
}

.menu-text {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
}

/* 我的保障列表 */
.policy-list {
    padding: 0 12px;
}

.policy-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.policy-card:hover {
    border-color: var(--fresh-green);
    transform: translateY(-2px);
}

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

.policy-name {
    font-size: 16px;
    font-weight: 700;
}

.policy-status {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.policy-status.active {
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
    color: var(--dark-green);
}

.policy-status.expired {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: var(--text-gray);
}

.policy-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.policy-progress {
    margin-top: 16px;
}

.progress-bar {
    height: 8px;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--fresh-green) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 8px;
}

.policy-actions {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.policy-actions button {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.btn-outline {
    background: linear-gradient(135deg, var(--white) 0%, #F0FDF4 100%);
    color: var(--primary-green);
    border: 2px solid var(--fresh-green);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    border-color: transparent;
}

.btn-solid {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-solid:hover {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}
