/* 移动端样式 */
body {
    background-color: #f5f5f5;
}

/* 顶部导航栏 */
.mobile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.mobile-header h1 {
    font-size: 18px;
    font-weight: 600;
}

.back-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 主内容区 */
.mobile-content {
    padding: 70px 15px 80px;
    min-height: 100vh;
}

/* 底部导航栏 */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 100;
}

.footer-item {
    flex: 1;
    text-align: center;
    color: #6b7280;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s;
}

.footer-item.active {
    color: #667eea;
}

.footer-item-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.footer-item-text {
    font-size: 12px;
}

/* 功能卡片 */
.function-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.function-card {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.function-card:active {
    transform: scale(0.98);
}

.function-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.function-title {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
}

.function-desc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

/* 信息卡片 */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.info-label {
    color: #6b7280;
    font-size: 14px;
}

.info-value {
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
}

/* 扫码按钮 */
.scan-btn {
    width: 100%;
    padding: 50px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.scan-btn-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 10px;
}

/* 步骤指示器 */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 20px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: -1;
}

.step.active:not(:last-child)::after {
    background-color: #667eea;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step.active .step-circle {
    background-color: #667eea;
    color: white;
}

.step.completed .step-circle {
    background-color: #10b981;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #6b7280;
}

.step.active .step-label {
    color: #667eea;
    font-weight: 500;
}

/* 列表项 */
.mobile-list-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

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

.list-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.list-item-body {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* 状态标签 */
.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-processing {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background-color: #d1fae5;
    color: #065f46;
}

/* 底部操作栏 */
.bottom-action {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 99;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 80px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.empty-text {
    color: #6b7280;
    font-size: 14px;
}

/* 图片预览 */
.image-preview {
    width: 100%;
    border-radius: 8px;
    margin: 10px 0;
}

/* 输入组 */
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group .form-input {
    flex: 1;
}

/* 响应式 */
@media (max-width: 375px) {
    .function-grid {
        grid-template-columns: 1fr;
    }
}

