/**
 * 哈密文旅宣创通 - 全新样式
 * 版本：3.0
 * 设计理念：现代、简洁、美观、易用
 */

/* ========== 基础样式 ========== */
:root {
    --primary-color: #667eea;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #07c160;
    --secondary-gradient: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-hint: #999999;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== 页面布局 ========== */
.page {
    min-height: 100vh;
}

/* 主页面 */
.main-page {
    min-height: 100vh;
    /* 底部留出 tabBar 空间 */
    padding-bottom: 80px;
}

/* ========== 登录页面 ========== */
.login-page {
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.gradient-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.login-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo {
    margin-bottom: 30px;
}

.logo-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 10px;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.login-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
}

.login-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.login-welcome {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.login-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(7,193,96,0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7,193,96,0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn-icon {
    font-size: 20px;
}

.login-tip {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-hint);
}

/* ========== 顶部导航 ========== */
.top-nav {
    background: var(--card-bg);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    background: var(--bg-color);
    transition: all 0.3s;
}

.user-info:hover {
    background: #eef0ff;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

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

/* ========== 快捷操作区 ========== */
.quick-actions {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.action-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.action-card.primary {
    background: var(--primary-gradient);
}

.action-card.primary .action-text h3,
.action-card.primary .action-text p {
    color: white;
}

.action-card.secondary {
    background: var(--secondary-gradient);
}

.action-card.secondary .action-text h3,
.action-card.secondary .action-text p {
    color: white;
}

.action-card.ai-card {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.action-card.ai-card .action-text h3,
.action-card.ai-card .action-text p {
    color: white;
}

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

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

.action-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.action-text p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========== 选项卡区域 ========== */
.tabs-section {
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
}

.tabs-nav {
    display: flex;
    width: 100%;
}

.tab-item {
    flex: 1;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: #999999;
    text-align: center;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    user-select: none;
    -webkit-user-select: none;
}

.tab-item.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-item:active {
    background-color: #f5f5f5;
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

/* ========== 统计卡片 ========== */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef0ff 100%);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========== 最近列表 ========== */
.recent-section {
    margin-top: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    cursor: pointer;
}

.recent-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102,126,234,0.12);
    transform: translateY(-1px);
}

.recent-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.recent-date {
    font-size: 12px;
    color: #bbb;
    flex-shrink: 0;
}

.recent-item-left {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
    min-width: 0;
}

/* ========== 列表页面 ========== */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-primary {
    padding: 8px 16px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submission-list,
.shoot-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.submission-item,
.shoot-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.3s;
}

.submission-item:hover,
.shoot-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

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

.item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.item-date {
    font-size: 12px;
    color: var(--text-hint);
    white-space: nowrap;
    margin-left: 10px;
}

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

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-published {
    background: #d1ecf1;
    color: #0c5460;
}

/* ========== 个人中心 ========== */
.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.profile-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.profile-info {
    text-align: left;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.info-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.profile-edit {
    display: grid;
    gap: 10px;
    text-align: left;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-color);
}

.profile-edit-label {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.profile-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 14px;
}

.profile-save-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.logout-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231,76,60,0.4);
}

/* ========== 表单页面 ========== */
.form-page {
    background: var(--bg-color);
}

.form-header {
    background: var(--card-bg);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    padding: 8px 16px;
    background: var(--bg-color);
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.back-btn:hover {
    background: #eef0ff;
}

.form-header h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.form-container {
    padding: 20px;
}

.form-section {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input[readonly] {
    cursor: pointer;
    background: #fafafa;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 13px;
    color: var(--text-hint);
    margin-top: 6px;
}

.datetime-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-group-inline {
    display: flex;
    flex-direction: column;
}

.form-label-inline {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.checkbox-group {
    display: flex;
    gap: 15px;
}

.checkbox-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-label:hover {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-primary);
}

/* ========== 文件上传 ========== */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-color);
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: #f8f9ff;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.upload-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 13px;
    color: var(--text-hint);
}

.file-list {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.file-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9ff;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.file-name {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    flex-shrink: 0;
    color: var(--text-hint);
    font-size: 12px;
}

.file-remove {
    color: #e74c3c;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.file-remove:hover {
    color: #c0392b;
}

/* ========== 表单操作区 ========== */
.form-actions {
    margin-top: 30px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ========== Toast 提示 ========== */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    animation: slideDown 0.3s ease;
}

.toast.show {
    display: block;
}

.toast.success {
    border-left: 4px solid #28a745;
}

.toast.error {
    border-left: 4px solid #dc3545;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========== 模态框 ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-hint);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.modal-btn {
    width: 100%;
    padding: 14px;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(7,193,96,0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7,193,96,0.4);
}

/* ========== 文件上传样式 ========== */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: #fafbfc;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: #f0f4ff;
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: #e8eeff;
    transform: scale(1.02);
}

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

.upload-text {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.upload-hint {
    font-size: 13px;
    color: var(--text-hint);
}

.file-input {
    display: none;
}

.file-list {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.file-item:hover {
    background: #f0f4ff;
    border-color: var(--primary-color);
}

.file-icon {
    font-size: 24px;
    margin-right: 12px;
}

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

.file-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    font-size: 12px;
    color: var(--text-hint);
    margin-top: 4px;
}

.file-actions {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
}

.btn-icon.preview {
    background: #3498db;
    color: white;
}

.btn-icon.delete {
    background: #e74c3c;
    color: white;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ========== 响应式 ========== */
@media (max-width: 600px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-value {
        font-size: 22px;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .datetime-group {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        flex-direction: column;
    }

    .user-name {
        display: none;
    }

    /* 列表项移动端适配 */
    .submission-item,
    .shoot-item {
        padding: 15px;
    }

    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .item-date {
        margin-left: 0;
        font-size: 11px;
    }

    .item-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 8px;
    }

    .item-footer .btn {
        width: 100%;
        justify-content: center;
    }

    /* 表单移动端适配 */
    .form-group {
        margin-bottom: 16px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* 防止 iOS 自动缩放 */
    }

    .form-textarea {
        min-height: 120px;
    }

    /* 导航栏移动端 */
    .top-nav {
        padding: 10px 15px;
    }

    .nav-title {
        font-size: 16px;
    }

    /* 模态框移动端 */
    .modal-content {
        margin: 15px;
        padding: 20px 15px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .toast {
        left: 15px;
        right: 15px;
        transform: none;
        padding: 12px 20px;
        font-size: 13px;
    }

    /* 列表头部移动端 */
    .list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .list-header .btn-primary {
        width: 100%;
        text-align: center;
    }

    /* 图片/视频上传区移动端 */
    .upload-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Tab 导航移动端 */
    .tabs-nav {
        flex-wrap: nowrap;
    }

    .tab-item {
        flex: 1;
        padding: 12px 0;
        font-size: 13px;
    }

    /* 评分星星移动端 */
    .rating {
        font-size: 20px;
    }
}

/* ========== 空状态 ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-hint);
}

.empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
    margin: 0;
}

/* ========== 增强状态徽章 ========== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff8e6;
    color: #b8860b;
    border: 1px solid #ffe0a0;
}

.status-approved,
.status-published {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.status-rejected {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.status-auto_checked {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.status-processing {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #ce93d8;
}

.status-pending_fetch {
    background: #ede7f6;
    color: #6a1b9a;
    border: 1px solid #b39ddb;
}

.status-fetch_failed {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ========== 投稿/拍摄卡片优化 ========== */
.submission-item,
.shoot-item {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.submission-item:hover,
.shoot-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102,126,234,0.15);
    transform: translateY(-1px);
}

.submission-item:active,
.shoot-item:active {
    transform: translateY(0);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.item-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
    line-height: 1.4;
}

.item-title.empty {
    color: #999;
    font-style: italic;
}

.item-date {
    font-size: 12px;
    color: #bbb;
    white-space: nowrap;
    flex-shrink: 0;
}

.item-category {
    display: inline-block;
    font-size: 11px;
    color: #888;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.item-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

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

.item-meta {
    display: flex;
    gap: 12px;
}

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

/* ========== iOS风格日期时间选择器 ========== */
.picker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.4);
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.picker-modal.active {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.picker-container {
    background: #fff;
    border-radius: 12px 12px 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
}
.picker-cancel {
    color: #999;
    font-size: 16px;
    background: none;
    border: none;
    padding: 4px 12px;
    cursor: pointer;
}
.picker-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
}
.picker-confirm {
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    background: none;
    border: none;
    padding: 4px 12px;
    cursor: pointer;
}
.picker-body {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    height: 216px;
    overflow: hidden;
}
.picker-column {
    flex: 1;
    max-width: 80px;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.picker-column-wide {
    flex: 1;
    max-width: 60px;
}
.picker-wheel {
    height: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.picker-wheel::-webkit-scrollbar {
    display: none;
}
.picker-items {
    padding: 84px 0;
}
.picker-item {
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 18px;
    color: #bbb;
    transition: color 0.15s;
    white-space: nowrap;
}
.picker-item.selected {
    color: #000;
    font-weight: 600;
}
.picker-highlight {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 36px;
    margin-top: -18px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    pointer-events: none;
}
.picker-column-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    width: 100%;
    text-align: center;
    pointer-events: none;
}
.picker-column-label-left {
    left: 100%;
    padding-left: 4px;
}
