/* 响应式布局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F9FAFB;
    min-height: 100vh;
}

/* 状态栏样式 */
.status-bar {
    height: 44px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #F9FAFB;
}

/* 主内容区域 */
.main-content {
    min-height: calc(100vh - 44px);
    display: flex;
    flex-direction: column;
    background: #F9FAFB;
    padding: 0;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .status-bar {
        padding: 0 16px;
        font-size: 13px;
    }
    
    .main-content {
        padding: 0;
    }
}

@media (min-width: 769px) {
    .main-content {
        max-width: 375px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.15s ease-in-out;
}

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

/* 按钮点击效果 */
.btn-press {
    transition: all 0.1s ease-in-out;
}

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

/* 滚动条隐藏 */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* 状态标签样式 */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.status-approved {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

/* 数据卡片样式 */
.data-card {
    background: #0078E5;
    border-radius: 0;
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.data-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* 图表容器 */
.chart-container {
    height: 220px;
    width: 100%;
}

/* 表单项样式 */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
}

.form-label.required::after {
    content: '*';
    color: #EF4444;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 14px;
    color: #1F2937;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #0078E5;
    box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.1);
    outline: none;
}

.form-control.error {
    border-color: #EF4444;
}

.error-message {
    font-size: 12px;
    color: #EF4444;
    margin-top: 4px;
}

.form-hint {
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}

/* 文件上传区域样式 */
.upload-area {
    border: 2px dashed #D1D5DB;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    background-color: #F9FAFB;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.upload-area:hover {
    border-color: #0078E5;
    background-color: #EBF3FF;
}

.upload-icon {
    font-size: 24px;
    color: #6B7280;
    margin-bottom: 8px;
}

.upload-text {
    font-size: 14px;
    color: #6B7280;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: #F3F4F6;
    border-radius: 4px;
    margin-top: 8px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-icon {
    color: #0078E5;
}

.file-name {
    font-size: 14px;
    color: #1F2937;
}

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

/* 环比标签 */
.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
}

.trend-up {
    background: #10B981;
    color: white;
}

.trend-down {
    background: #EF4444;
    color: white;
}