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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #f8f8f8;
  min-height: 100vh;
  font-size: 14px;
}
a {
  color: #2c6bed;
  text-decoration: none;
}
input,
select,
button,
textarea {
  font: inherit;
}
input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d6d9e6;
  border-radius: 8px;
}
select {
  padding: 6px 10px;
  border: 1px solid #d6d9e6;
  border-radius: 8px;
}
button {
  background: #2c6bed;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  box-sizing: border-box;
}
button.block {
  display: block;
  width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
}
.wrap {
  padding: 20px 0;
}
.display-flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.align-items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-space-between {
  justify-content: space-between;
}
.field {
  margin: 5px 0;
}
label {
  display: block;
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
}
.muted {
  color: #666;
  font-size: 12px;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef3ff;
  color: #2c6bed;
  font-size: 12px;
}
.badge.disabled {
  background: #ffe9e9;
  color: #b00020;
}
.container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  width: 90%;
  padding: 20px;
  margin: 0 auto;
  border: 1px solid #e9ebf3;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.container h2 {
  display: block;
  font-size: 1.4em;
  font-weight: bold;
}
.container .error {
  background: #fff3f3;
  border: 1px solid #ffd2d2;
  padding: 10px;
  border-radius: 8px;
  color: #b00020;
}
.pay-box .header {
  text-align: center;
  margin-bottom: 30px;
}

.pay-box .header .logo {
  width: 150px;
  border-radius: 12px;
  margin: 0 auto;
  padding: 20px;
}
.pay-box .header .logo img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.pay-box .header .business-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.pay-box .info-grid {
  display: grid;
  gap: 20px;
}

.pay-box .info-grid .info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pay-box .info-grid .info-item .info-label {
  color: #666;
  font-size: 14px;
}

.pay-box .info-grid .info-item .info-value {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}
.pay-box .info-grid .info-item .info-value.amount {
  font-size: 12px;
  color: #ff6600;
}
.pay-box .info-grid .info-item .info-value.amount em {
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
}
.pay-box .btn-group {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.pay-box .btn-group .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pay-box .btn-group .btn.btn-primary {
  background: #00c250;
  color: white;
}
.pay-box .qrcode {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.pay-box .qrcode img {
  border: 1px solid #e9ebf3;
  border-radius: 12px;
  background: #fff;
}

.pay-box .safe-pay {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #ccc;
}
