/* 与 details.css 共用的页面壳、徽章、按钮 */
.cod-page {
  width: 750px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 20px 130px;
  background: #f3f5f9;
  box-sizing: border-box;
}

.cod-header {
  margin-bottom: 20px;
}

.cod-header__title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.cod-header__sub {
  margin: 8px 0 0;
  font-size: 24px;
  color: #8a8f99;
}

.cod-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 24px;
  line-height: 1.4;
  white-space: nowrap;
}

.cod-badge--success {
  background: #e8f8ef;
  color: #1f9d55;
}

.cod-badge--danger {
  background: #fdecec;
  color: #e03e3e;
}

.cod-badge--default {
  background: #eef2ff;
  color: #2c5cfb;
}

.cod-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  padding: 16px 24px;
  border: none;
  border-radius: 36px;
  font-size: 28px;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: #2c5cfb;
}

.cod-btn:active {
  opacity: 0.85;
}

/* 列表页 */
.cod-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 35, 95, 0.06);
}

.cod-tabs__item {
  flex: 1;
  padding: 16px 8px;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-size: 28px;
  color: #5c6370;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cod-tabs__item--active {
  background: #2c5cfb;
  color: #fff;
  font-weight: 600;
}

.cod-tip {
  margin: 0 0 20px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff5f5;
  color: #e03e3e;
  font-size: 24px;
  line-height: 1.5;
}

.cod-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 35, 95, 0.06);
  text-align: center;
}

.cod-empty__icon {
  width: 200px;
  height: auto;
  margin-bottom: 24px;
  opacity: 0.85;
}

.cod-empty__title {
  margin: 0 0 32px;
  font-size: 28px;
  color: #5c6370;
}

.cod-order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cod-order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 35, 95, 0.06);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cod-order-item:active {
  transform: scale(0.99);
  box-shadow: 0 2px 8px rgba(15, 35, 95, 0.08);
}

.cod-order-item__main {
  flex: 1;
  min-width: 0;
}

.cod-order-item__phone {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  word-break: break-all;
}

.cod-order-item__name {
  margin: 0 0 12px;
  font-size: 26px;
  color: #5c6370;
  line-height: 1.4;
}

.cod-order-item__time {
  margin: 0;
  font-size: 24px;
  color: #8a8f99;
  line-height: 1.4;
}

.cod-order-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
  max-width: 240px;
}

.cod-order-item__package {
  margin: 0;
  font-size: 24px;
  color: #242424;
  text-align: right;
  line-height: 1.4;
  word-break: break-all;
}

.cod-order-item__arrow {
  font-size: 28px;
  color: #c5cad3;
  line-height: 1;
}
