* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100px;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 0.14rem;
  line-height: 1.5;
}

#app {
  width: 100%;
  min-height: 100vh;
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
}

:root {
  --safe-area-inset-top: 0px;
}

.payment-page {
  min-height: 100vh;
  background: #ffffff;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.16rem 0.2rem;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  width: 100%;
  box-sizing: border-box;
}

.logo-section {
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.18rem;
  font-weight: bold;
  color: #004aad;
}

.order-detail-btn {
  display: flex;
  align-items: center;
  gap: 0.03rem;
  font-size: 0.14rem;
  color: #666;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.04rem 0.08rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.arrow-icon {
  width: 0.14rem;
  height: 0.14rem;
  color: #666;
  transition: transform 0.3s ease;
}

.arrow-icon.expanded {
  transform: rotate(180deg);
}

.order-card {
  margin: 0.12rem;
  background: #f5f5f5;
  border-radius: 0.08rem;
  padding: 0.16rem;
}

.order-detail-expanded {
  margin-bottom: 0.12rem;
}

.card-header {
  margin-bottom: 0.12rem;
}

.card-title {
  font-size: 0.14rem;
  font-weight: 600;
  color: #333;
}

.order-info {
  margin-bottom: 0.12rem;
}

.order-label {
  font-size: 0.12rem;
  color: #999;
  margin-bottom: 0.04rem;
}

.order-value {
  font-size: 0.13rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 0.04rem;
}

.order-product {
  font-size: 0.13rem;
  color: #333;
  margin-bottom: 0.02rem;
}

.order-product-price {
  font-size: 0.13rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 0.12rem;
  text-align: right;
}

.divider {
  height: 1px;
  background: #e5e5e5;
  margin: 0.12rem 0;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.08rem 0;
}

.row-label {
  font-size: 0.13rem;
  color: #999;
}

.row-value {
  font-size: 0.13rem;
  color: #333;
}

.total-row {
  padding-top: 0.12rem;
  border-top: 1px solid #e5e5e5;
}

.total-value {
  font-size: 0.14rem;
  font-weight: bold;
  color: #333;
}

.payment-hint {
  padding: 0.12rem 0.2rem;
  font-size: 0.14rem;
  color: #333;
  font-weight: 500;
}

#dropIn {
  margin: 0.12rem;
  min-height: 200px;
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.32rem 0.64rem;
  border-radius: 0.16rem;
  font-size: 0.28rem;
  z-index: 2000;
  opacity: 0.9;
}

.toast.info {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}

.toast.success {
  background: #07c160;
  color: #fff;
}

.toast.error {
  background: #ff4757;
  color: #fff;
}

.toast.warning {
  background: #ff9500;
  color: #fff;
}