/* 前台登录页、订单列表（轻量卡片，与首页色系协调） */

.page-site-login,
.page-order-list {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  background: #f6f6f4;
  color: #1a1a1a;
}

.site-auth {
  max-width: 28rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.site-auth--wide {
  max-width: 42rem;
}

.site-auth__card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8e8e4;
}

.site-auth__card--flat {
  padding-top: 1.5rem;
}

.site-auth__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c5c5c;
}

.site-auth__title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.site-auth__title--sm {
  font-size: 1.15rem;
  margin: 0;
}

.site-auth__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #5c5c5c;
  line-height: 1.55;
}

.site-auth__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-auth__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #333;
}

.site-auth__label input {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid #d8d8d4;
  border-radius: 6px;
}

.site-auth__label input:focus {
  outline: 2px solid rgba(42, 107, 85, 0.35);
  border-color: #2a6b55;
}

.site-auth__errors {
  padding: 0.5rem 0.65rem;
  background: #fff4f4;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #8b2a2a;
}

.site-auth__field-errors {
  font-size: 0.8rem;
  color: #8b2a2a;
}

.site-auth__submit {
  margin-top: 0.25rem;
  font: inherit;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 8px;
  background: #2a6b55;
  color: #fff;
  cursor: pointer;
}

.site-auth__submit:hover {
  background: #1f5544;
}

.site-auth__footer {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #5c5c5c;
}

.site-auth__footer a {
  color: #2a6b55;
  text-decoration: none;
}

.site-auth__footer a:hover {
  text-decoration: underline;
}

.site-order-list__head {
  margin-bottom: 1rem;
}

.site-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-order-list__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 0.85rem 1rem;
  background: #fafaf8;
  border: 1px solid #ececea;
  border-radius: 8px;
  align-items: center;
}

@media (min-width: 520px) {
  .site-order-list__item {
    grid-template-columns: 1fr 1fr auto;
  }
}

.site-order-list__no {
  font-weight: 600;
  margin-right: 0.5rem;
}

.site-order-list__status {
  font-size: 0.8rem;
  color: #5c5c5c;
}

.site-order-list__meta {
  font-size: 0.85rem;
  color: #5c5c5c;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-order-list__actions {
  grid-column: 1 / -1;
}

@media (min-width: 520px) {
  .site-order-list__actions {
    grid-column: auto;
    justify-self: end;
  }
}

.site-order-list__actions a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2a6b55;
  text-decoration: none;
}

.site-order-list__actions a:hover {
  text-decoration: underline;
}

.site-order-list__muted {
  font-size: 0.85rem;
  color: #999;
}

/* 收货地址：与全站顶栏/页脚同一 Chrome 容器 */
.page-account-address .sbk-site-chrome .site-auth {
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
}
