/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #43a047;
    --primary-light: #81c784;
    --primary-dark: #2e7d32;
    --accent-green: #66bb6a;
    --bg-green: #f1f8f0;
    --text-primary: #2c3e50;
    --text-secondary: #546e7a;
    --text-light: #90a4ae;
    --border-light: #c8e6c9;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(67, 160, 71, 0.08);
    --shadow-md: 0 4px 12px rgba(67, 160, 71, 0.12);
    --shadow-lg: 0 8px 24px rgba(67, 160, 71, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f1f8f0 0%, #e8f5e9 100%);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
}

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-dark);
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-toggle {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-weight: 500;
}

.nav-link:hover {
    background: var(--bg-green);
    color: var(--primary-green);
}

.nav-link.active {
    background: var(--primary-green);
    color: var(--white);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    color: var(--text-light);
    font-size: 14px;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 8px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 页面容器 */
.page {
    display: none;
    max-width: 1400px;
    margin: 24px auto;
    padding: 0 24px;
}

.page.active {
    display: block;
}

/* 首页英雄区域 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 48px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '🍄';
    position: absolute;
    font-size: 150px;
    opacity: 0.08;
    top: -30px;
    right: -30px;
    transform: rotate(25deg);
}

.hero-section::after {
    content: '🍄';
    position: absolute;
    font-size: 120px;
    opacity: 0.08;
    bottom: -30px;
    left: -30px;
    transform: rotate(-15deg);
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.hero-search input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    background: rgba(255, 255, 255, 0.95);
}

.hero-search button {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.hero-search button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 通用按钮 */
.btn-primary,
.btn-search,
.btn-submit,
.btn-bid,
.btn-contact {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover,
.btn-search:hover,
.btn-submit:hover,
.btn-bid:hover,
.btn-contact:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-contact {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
}

/* 区块样式 */
.section {
    margin-bottom: 56px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.view-more {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-more:hover {
    text-decoration: underline;
}

/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* 商品卡片 */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-green);
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.tag {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--bg-green);
    color: var(--primary-dark);
    border-radius: 12px;
    font-weight: 500;
}

.product-details {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.product-details p {
    margin-bottom: 4px;
}

/* 求购列表 */
.wants-list {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.want-item {
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
}

.want-item:last-child {
    border-bottom: none;
}

.want-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.want-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.want-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    align-items: center;
    flex-wrap: wrap;
}

.btn-want-contact {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-want-contact:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 发布求购区域 */
.publish-want-section {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.publish-want-form h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.btn-cancel {
    background: var(--text-light);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    margin-left: 12px;
}

.btn-cancel:hover {
    background: var(--text-secondary);
}

/* 商品管理样式 */
.admin-products-section {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.admin-product-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 12px;
}

.admin-product-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
}

.admin-product-tab.active {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
    margin-bottom: -14px;
}

.admin-product-tab:hover {
    color: var(--primary-green);
}

.admin-product-content {
    display: none;
}

.admin-product-content.active {
    display: block;
}

.admin-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-product-header h3 {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
}

.btn-add {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-add:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.admin-product-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.2s;
}

.admin-product-item:hover {
    background: var(--bg-green);
}

.admin-product-item:last-child {
    border-bottom: none;
}

.admin-product-thumb {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--bg-green);
}

.admin-product-info {
    flex: 1;
}

.admin-product-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.admin-product-info p {
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-size: 13px;
}

.admin-product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.btn-edit {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.btn-edit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-delete {
    padding: 8px 16px;
    background: linear-gradient(135deg, #ef5350 0%, #f44336 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.btn-delete:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* 商品编辑模态框样式 */
.edit-product-modal {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.edit-product-modal h2 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* 页面头部 */
.page-header {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.page-title h1 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.page-title p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 标本页面标题背景 - 蘑菇点缀 */
#page-specimens .page-title {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

#page-specimens .page-title::before {
    content: '🍄';
    position: absolute;
    font-size: 60px;
    opacity: 0.08;
    top: -10px;
    right: 20px;
}

#page-specimens .page-title::after {
    content: '🍄';
    position: absolute;
    font-size: 40px;
    opacity: 0.05;
    bottom: 10px;
    left: 20px;
}

/* 菌株页面标题背景 - 试管点缀 */
#page-strains .page-title {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

#page-strains .page-title::before {
    content: '🧪';
    position: absolute;
    font-size: 50px;
    opacity: 0.1;
    top: -5px;
    right: 30px;
}

#page-strains .page-title::after {
    content: '🧪';
    position: absolute;
    font-size: 35px;
    opacity: 0.07;
    bottom: 5px;
    left: 30px;
}

.page-search {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.page-search input {
    flex: 1;
    max-width: 400px;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s;
}

.page-search input:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* 筛选区域 */
.filter-section {
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.filter-group select {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    min-width: 150px;
    transition: border-color 0.2s;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* 地域容器 */
.region-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 省份区域 */
.province-section {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.province-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.province-header:hover {
    background: var(--bg-green);
}

.province-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.province-icon {
    font-size: 32px;
}

.province-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.province-count {
    color: var(--text-light);
    font-size: 13px;
    padding-left: 8px;
}

.province-toggle {
    padding: 6px;
}

.toggle-icon {
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.3s;
}

/* 城市列表 */
.province-cities {
    border-top: 1px solid var(--border-light);
    padding: 16px 24px;
    background: var(--bg-green);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.city-item {
    background: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border-light);
}

.city-item:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.city-name {
    font-size: 13px;
    font-weight: 500;
}

/* 地域网格样式 */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.region-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.region-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.region-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.region-count {
    color: var(--text-light);
    font-size: 13px;
}

/* 标签页 */
.seller-tabs,
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.tab-btn.active {
    background: var(--primary-green);
    color: var(--white);
}

.tab-btn:hover:not(.active) {
    background: var(--bg-green);
    color: var(--primary-green);
}

.seller-tab,
.admin-tab {
    display: none;
}

.seller-tab.active,
.admin-tab.active {
    display: block;
}

/* 发布表单 */
.publish-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.publish-form h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.1);
}

.location-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.location-select select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.required {
    color: #f44336;
}

.image-upload {
    border: 2px dashed var(--border-light);
    padding: 32px;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.image-upload:hover {
    border-color: var(--primary-green);
    background: rgba(67, 160, 71, 0.05);
}

.upload-tips {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 13px;
}

.form-tip {
    margin-top: 6px;
    color: var(--text-light);
    font-size: 12px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 16px;
}

/* 数据看板 */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.dash-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.dash-icon {
    font-size: 40px;
}

.dash-info h3 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.dash-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.dashboard-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.chart-section {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.chart-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-item span:first-child {
    width: 70px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.bar {
    flex: 1;
    height: 28px;
    background: var(--bg-green);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    transition: width 0.3s;
}

.bar-value {
    width: 45px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-green);
    font-size: 13px;
}

/* 财务卡片 */
.finance-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.finance-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.finance-card h3 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.finance-card .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.finance-card .amount.pending {
    color: #ffa726;
}

.finance-card .amount.success {
    color: var(--primary-green);
}

.finance-card .amount.commission {
    color: #ef5350;
}

/* 表格样式 */
.finance-table {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.finance-table h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.finance-table table {
    width: 100%;
    border-collapse: collapse;
}

.finance-table th,
.finance-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}

.finance-table th {
    background: var(--bg-green);
    font-weight: 600;
    color: var(--text-primary);
}

.finance-table tr:hover {
    background: rgba(67, 160, 71, 0.05);
}

/* 列表样式 */
.audit-list,
.user-list,
.order-list,
.shipping-list,
.admin-order-list,
.admin-wants-list,
.specimen-list {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.list-item {
    border-bottom: 1px solid var(--border-light);
    padding: 16px;
}

.list-item:last-child {
    border-bottom: none;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.list-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.list-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.list-actions {
    display: flex;
    gap: 8px;
}

.btn-approve,
.btn-reject,
.btn-ship,
.btn-view {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.btn-approve {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-reject {
    background: linear-gradient(135deg, #ef5350 0%, #f44336 100%);
    color: var(--white);
}

.btn-ship {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    color: var(--white);
}

.btn-view {
    background: linear-gradient(135deg, #78909c 0%, #607d8b 100%);
    color: var(--white);
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
}

.detail-modal {
    max-width: 1200px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-primary);
}

/* 详情页样式 */
.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.detail-images {
    position: sticky;
    top: 24px;
}

.main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    background: var(--bg-green);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-green);
}

.detail-info h1 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.detail-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.detail-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.info-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.lock-icon {
    font-size: 14px;
}

.unlock-tip {
    color: #ffa726;
    font-size: 13px;
    margin-bottom: 12px;
}

.info-grid {
    display: grid;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item .label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 90px;
    font-size: 13px;
}

.info-item strong {
    font-size: 16px;
    color: var(--primary-green);
}

.blur-text {
    filter: blur(4px);
    user-select: none;
}

.hidden {
    display: none;
}

.status-active {
    color: var(--primary-green);
    font-weight: 600;
}

.detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.detail-actions button {
    flex: 1;
    padding: 14px;
    font-size: 15px;
    font-weight: 500;
}

.btn-buy {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.price-tag {
    color: var(--primary-green);
    font-size: 24px;
    font-weight: 700;
}

/* 出价表单 */
.bid-modal {
    max-width: 500px;
}

.bid-modal h2 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.bid-info {
    background: var(--bg-green);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.bid-info p {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

/* 客服二维码模态框 */
.contact-modal {
    max-width: 320px;
    text-align: center;
    position: relative;
}

.contact-modal h2 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 14px;
}

.contact-slogan {
    font-size: 16px;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 16px !important;
    padding: 8px 16px;
    background: var(--bg-green);
    border-radius: 20px;
    display: inline-block;
}

.qr-code-container {
    margin: 16px 0;
    padding: 16px;
    background: var(--bg-green);
    border-radius: var(--radius-md);
    display: inline-block;
    position: relative;
}

.qr-code-container::before {
    content: '🍄';
    position: absolute;
    font-size: 24px;
    opacity: 0.1;
    top: 8px;
    left: 8px;
    transform: rotate(20deg);
}

.qr-code-container::after {
    content: '🍄';
    position: absolute;
    font-size: 20px;
    opacity: 0.1;
    bottom: 8px;
    right: 8px;
    transform: rotate(-25deg);
}

.qr-code {
    width: 180px;
    height: 180px;
    display: block;
    position: relative;
    z-index: 1;
}

.contact-tips {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px !important;
}

/* 物流时间轴 */
.logistics-timeline {
    margin-top: 16px;
}

.timeline-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 24px;
    width: 2px;
    height: calc(100% - 12px);
    background: var(--border-light);
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border-light);
    flex-shrink: 0;
}

.timeline-dot.active {
    background: var(--primary-green);
}

.timeline-content {
    flex: 1;
}

.timeline-content .time {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 4px;
}

.timeline-content .status {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

/* 登录表单 */
.login-modal {
    max-width: 400px;
    padding: 32px;
}

.login-modal h2 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-green);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 地域分组样式 */
.region-group-section {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.region-group-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.region-group-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.region-group-icon {
    font-size: 28px;
}

.region-group-name {
    font-size: 18px;
    font-weight: 600;
}

.region-group-count {
    font-size: 13px;
    opacity: 0.9;
}

.provinces-grid {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.province-item {
    background: var(--bg-green);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.province-item:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.province-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.province-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.province-name {
    font-size: 15px;
    font-weight: 600;
}

.province-count {
    font-size: 12px;
    color: var(--text-light);
    margin-left: auto;
}

.province-item:hover .province-count {
    color: rgba(255, 255, 255, 0.9);
}

/* 买家中心样式 */
.buyer-header,
.seller-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 32px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buyer-info,
.seller-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-large {
    font-size: 48px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.buyer-details h2,
.seller-details h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.buyer-details p,
.seller-details p {
    margin: 3px 0;
    opacity: 0.95;
    font-size: 14px;
}

.register-time {
    font-size: 13px;
    opacity: 0.9;
}

.buyer-stats,
.seller-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

.buyer-tabs,
.seller-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.buyer-tabs .tab-btn,
.seller-tabs .tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.buyer-tabs .tab-btn.active,
.seller-tabs .tab-btn.active {
    background: var(--primary-green);
    color: var(--white);
}

.buyer-tabs .tab-btn:hover,
.seller-tabs .tab-btn:hover {
    background: var(--bg-green);
    color: var(--primary-green);
}

.buyer-tab,
.seller-tab {
    display: none;
}

.buyer-tab.active,
.seller-tab.active {
    display: block;
}

.orders-list,
.wants-list,
.favorites-list {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.order-item {
    background: var(--bg-green);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.order-id {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.order-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.status-pending {
    background: #fff8e1;
    color: #ffa000;
}

.order-status.status-shipped {
    background: #e3f2fd;
    color: #1976d2;
}

.order-status.status-completed {
    background: var(--bg-green);
    color: var(--primary-green);
}

.order-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-product {
    display: flex;
    gap: 16px;
    align-items: center;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.product-price {
    color: var(--primary-green);
    font-size: 18px;
    font-weight: 700;
}

.order-time {
    color: var(--text-light);
    font-size: 12px;
}

.order-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.profile-form {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.profile-form h2 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 28px;
    color: var(--text-primary);
    font-weight: 600;
}

.profile-form h2:first-child {
    margin-top: 0;
}

/* 注册表单样式 */
.register-modal {
    max-width: 500px;
    padding: 32px;
}

.register-modal h2 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.role-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.role-option:hover {
    border-color: var(--primary-light);
    background: var(--bg-green);
}

.role-option input[type="radio"] {
    display: none;
}

.role-option input[type="radio"]:checked + .role-icon + .role-name + .role-desc {
    color: var(--primary-green);
}

.role-option:has(input:checked) {
    border-color: var(--primary-green);
    background: rgba(67, 160, 71, 0.05);
}

.role-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.role-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.role-desc {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

.checkbox-label a {
    color: var(--primary-green);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.auth-switch {
    text-align: center;
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 13px;
}

.auth-switch a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 48px 20px;
}

.empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
}

/* 商品编号样式 */
.product-code {
    font-size: 13px;
    color: var(--text-light);
    font-weight: normal;
    margin-left: 6px;
}

.detail-code {
    background: var(--accent-green);
    color: var(--white);
}

/* 求购页面头部样式 */
.wants-page-header {
    background: linear-gradient(135deg, rgba(67, 160, 71, 0.08) 0%, rgba(46, 125, 50, 0.08) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.wants-action-bar {
    text-align: left;
    margin-bottom: 24px;
}

.wants-page-header::before {
    content: '🍄';
    position: absolute;
    font-size: 180px;
    opacity: 0.05;
    top: -40px;
    right: -40px;
    transform: rotate(20deg);
}

.wants-page-header::after {
    content: '🍄';
    position: absolute;
    font-size: 140px;
    opacity: 0.05;
    bottom: -30px;
    left: -30px;
    transform: rotate(-15deg);
}

.wants-title-container h1 {
    font-size: 32px;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.wants-title-container .subtitle-brush {
    font-family: "KaiTi", "STKaiti", "华文楷体", "楷体", serif;
    font-size: 24px;
    color: var(--primary-green);
    margin: 12px 0 0 0;
    opacity: 0.9;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 16px;
    }

    .page {
        padding: 0 16px;
        margin: 16px auto;
    }

    .dashboard-cards,
    .finance-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section {
        padding: 60px 32px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .detail-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .main-image {
        height: 350px;
    }

    .publish-form {
        padding: 24px;
    }

    .buyer-header,
    .seller-header {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }

    .buyer-stats,
    .seller-stats {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .nav-container {
        height: auto;
        padding: 12px 16px;
        gap: 0;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 28px;
        height: 28px;
        background: var(--primary-color);
        border: none;
        border-radius: 4px;
        cursor: pointer;
        padding: 4px;
        order: 2;
    }

    .nav-toggle-icon {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-toggle-icon::before {
        transform: translateY(-6px);
    }

    .nav-toggle-icon::after {
        transform: translateY(6px);
    }

    .nav-toggle.active .nav-toggle-icon {
        background: transparent;
    }

    .nav-toggle.active .nav-toggle-icon::before {
        transform: rotate(45deg);
    }

    .nav-toggle.active .nav-toggle-icon::after {
        transform: rotate(-45deg);
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: max-height 0.3s ease;
        order: 3;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 12px 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-light);
    }

    .nav-user {
        margin-left: auto;
        gap: 8px;
    }

    .user-info {
        display: none;
    }

    /* 商品详情页 */
    .detail-images {
        position: relative;
        top: 0;
    }

    .detail-modal {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .detail-container {
        flex-direction: column;
        gap: 20px;
    }

    .main-image {
        height: 300px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-search {
        flex-direction: column;
        gap: 10px;
    }

    .hero-search input {
        width: 100%;
        font-size: 14px;
        padding: 14px 18px;
    }

    .hero-search button {
        width: 100%;
        padding: 14px;
    }

    .section-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-image {
        height: 180px;
    }

    .product-card {
        margin-bottom: 8px;
    }

    /* 筛选区域 */
    .filter-section {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .filter-group label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .filter-group select {
        width: 100%;
    }

    /* 页面头部 */
    .page-header {
        padding: 20px;
    }

    .page-title h1 {
        font-size: 22px;
    }

    .page-search {
        flex-direction: column;
    }

    .page-search input {
        max-width: 100%;
    }

    /* 数据看板 */
    .dashboard-cards,
    .finance-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dash-card,
    .finance-card {
        padding: 20px;
    }

    .dash-value,
    .finance-card .amount {
        font-size: 24px;
    }

    .dashboard-charts {
        grid-template-columns: 1fr;
    }

    .chart-section {
        padding: 20px;
    }

    .chart-section h3 {
        font-size: 16px;
    }

    /* 表单 */
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .publish-form {
        padding: 16px;
    }

    .publish-form h2 {
        font-size: 20px;
    }

    .image-upload {
        padding: 24px;
    }

    .upload-tips {
        font-size: 12px;
    }

    /* 详情页 */
    .detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-image {
        height: 280px;
    }

    .detail-info h1 {
        font-size: 22px;
    }

    .detail-section h3 {
        font-size: 15px;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-actions button {
        width: 100%;
    }

    /* 模态框 */
    .modal-content {
        width: 95%;
        max-width: none;
        padding: 20px;
        margin: 10px;
    }

    .detail-modal {
        max-width: none;
    }

    .edit-product-modal {
        max-width: none;
    }

    .contact-modal {
        max-width: 280px;
    }

    .login-modal {
        max-width: none;
        padding: 24px;
    }

    .register-modal {
        max-width: none;
        padding: 24px;
    }

    /* 标签页 */
    .seller-tabs,
    .admin-tabs,
    .buyer-tabs {
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px;
    }

    .tab-btn {
        font-size: 13px;
        padding: 8px 14px;
        flex: 1 1 auto;
        min-width: 80px;
    }

    /* 用户中心头部 */
    .buyer-header,
    .seller-header {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 20px;
    }

    .buyer-stats,
    .seller-stats {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 70px;
    }

    .stat-value {
        font-size: 22px;
    }

    .avatar-large {
        width: 56px;
        height: 56px;
        font-size: 40px;
    }

    /* 订单列表 */
    .order-item {
        padding: 12px;
    }

    .order-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .order-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .order-actions {
        width: 100%;
        flex-direction: column;
    }

    .order-actions button {
        width: 100%;
    }

    /* 个人表单 */
    .profile-form {
        padding: 20px;
    }

    .profile-form h2 {
        font-size: 18px;
    }

    /* 商品管理 */
    .admin-product-item {
        flex-direction: column;
        gap: 12px;
    }

    .admin-product-thumb {
        width: 100%;
        height: 140px;
    }

    .admin-product-actions {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .admin-product-actions button {
        flex: 1;
    }

    .admin-product-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .admin-product-tab {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* 地域页面 */
    .province-header {
        padding: 12px 16px;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .region-grid {
        grid-template-columns: 1fr;
    }

    /* 表格 */
    .finance-table {
        padding: 16px;
        overflow-x: auto;
    }

    .finance-table table {
        min-width: 600px;
    }

    .finance-table th,
    .finance-table td {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* 求购页面 */
    .wants-page-header {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        align-items: center;
        text-align: center;
    }

    .wants-title-container h1 {
        font-size: 22px;
    }

    .wants-title-container .subtitle-brush {
        font-size: 18px;
    }

    .publish-want-section {
        padding: 20px;
    }

    .publish-want-form h2 {
        font-size: 18px;
    }

    .want-item {
        padding: 12px;
    }

    .want-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .want-meta button {
        width: 100%;
    }

    /* 客服模态框 */
    .qr-code {
        width: 160px;
        height: 160px;
    }

    .qr-code-container {
        padding: 12px;
    }

    .contact-tips {
        font-size: 12px;
    }

    /* 站点设置样式 */
    .settings-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .settings-container h2 {
        font-size: 24px;
        color: var(--text-primary);
        margin-bottom: 32px;
        font-weight: 600;
    }

    .settings-section {
        background: var(--white);
        border-radius: var(--radius-md);
        padding: 24px;
        margin-bottom: 24px;
        box-shadow: var(--shadow-sm);
    }

    .settings-section h3 {
        font-size: 18px;
        color: var(--text-primary);
        margin-bottom: 16px;
        font-weight: 600;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--border-light);
    }

    .settings-section .form-group {
        margin-bottom: 16px;
    }

    .settings-section .form-group label {
        display: block;
        margin-bottom: 8px;
        color: var(--text-primary);
        font-weight: 500;
    }

    .settings-section .form-group input,
    .settings-section .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        font-size: 14px;
        transition: all 0.2s;
    }

    .settings-section .form-group input:focus,
    .settings-section .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-green);
        box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.1);
    }

    .settings-section .form-group textarea {
        resize: vertical;
        min-height: 100px;
    }

    .form-actions {
        display: flex;
        gap: 12px;
        margin-top: 24px;
    }

    .form-actions .btn-submit {
        flex: 1;
        padding: 12px 24px;
        background: var(--primary-green);
        color: var(--white);
        border: none;
        border-radius: var(--radius-sm);
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .form-actions .btn-submit:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .form-actions .btn-cancel {
        flex: 1;
        padding: 12px 24px;
        background: var(--text-light);
        color: var(--white);
        border: none;
        border-radius: var(--radius-sm);
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .form-actions .btn-cancel:hover {
        background: #999;
        transform: translateY(-2px);
    }

    /* 二维码上传区域 */
    .qr-upload-section {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .qr-upload-section input[type="text"] {
        flex: 1;
    }

    .btn-upload {
        padding: 10px 20px;
        background: var(--primary-color);
        color: var(--white);
        border: none;
        border-radius: var(--radius-sm);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .btn-upload:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .qr-preview {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }

    .qr-preview img {
        border: 2px dashed var(--border-color);
        border-radius: var(--radius-sm);
        padding: 10px;
        background: var(--white);
    }

    /* 滚动条 */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    /* 按钮 */
    .btn-primary,
    .btn-search,
    .btn-submit,
    .btn-bid,
    .btn-contact,
    .btn-login {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* 输入框 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
        padding: 10px 14px;
    }

    /* 页面容器 */
    .page {
        padding: 12px;
        margin: 8px auto;
    }

    /* 缩略图 */
    .thumbnail-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .thumbnail {
        height: 60px;
    }

    /* 缩小标签 */
    .tag {
        font-size: 11px;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 18px;
    }

    .logo-icon {
        font-size: 22px;
    }

    .hero-section {
        padding: 32px 16px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 13px;
    }

    /* 商品详情页 */
    .detail-images {
        position: relative;
        top: 0;
    }

    .detail-modal {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .detail-container {
        flex-direction: column;
        gap: 20px;
    }

    .main-image {
        height: 250px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 15px;
    }

    .wants-list,
    .orders-list,
    .favorites-list {
        padding: 16px;
    }

    .publish-form {
        padding: 12px;
    }

    .btn-login {
        padding: 8px 20px;
        font-size: 13px;
    }
}
