/* 空中货拉拉 - 主样式文件 */

:root {
  --primary-color: #1a56db;
  --secondary-color: #4b5563;
  --accent-color: #f97316;
  --background-color: #f3f4f6;
  --text-color: #1f2937;
  --light-text: #6b7280;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
}

body {
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

.phone-container {
  width: 390px;
  height: 844px;
  background-color: white;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
}

.status-bar {
  height: 44px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: relative;
  z-index: 100;
}

.status-bar-left {
  display: flex;
  align-items: center;
}

.status-bar-right {
  display: flex;
  align-items: center;
}

.app-content {
  height: calc(100% - 44px - 83px);
  overflow-y: auto;
  position: relative;
}

.tab-bar {
  height: 83px;
  background-color: white;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--light-text);
  font-size: 12px;
}

.tab-item.active {
  color: var(--primary-color);
}

.tab-icon {
  font-size: 22px;
  margin-bottom: 4px;
}

/* 按钮样式 */
.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-accent {
  background-color: var(--accent-color);
  color: white;
}

/* 卡片样式 */
.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* 地图容器 */
.map-container {
  width: 100%;
  height: 100%;
  background-color: #e8eaed;
  position: relative;
}

/* 表单元素 */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: white;
}

/* 列表项 */
.list-item {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.list-item:last-child {
  border-bottom: none;
}

/* 通用间距 */
.p-4 {
  padding: 16px;
}

.m-4 {
  margin: 16px;
}

/* 订单状态标签 */
.status-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-pending {
  background-color: #fee2e2;
  color: #ef4444;
}

.status-in-progress {
  background-color: #e0f2fe;
  color: #0ea5e9;
}

.status-completed {
  background-color: #dcfce7;
  color: #10b981;
} 