html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f2f3f5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 36px 0 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.page {
  width: 90%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
}

.container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.header {
  background: #245592;
  color: white;
  text-align: center;
  padding: 10px 20px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.header img {
  width: 14%;
  margin-bottom: 0;
}

.content {
  padding: 22px 20px 26px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  font-size: 18px;
  gap: 18px;
}

.label {
  color: #555;
  flex: 0 0 38%;
  font-size: 1em;
}

.value {
  font-weight: bold;
  color: #333;
  font-size: 1.1em;
}

.value.amount {
  color: #245592;
}

.value#reference {
  color: #e53935;
  font-weight: 700;
}

.value-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.value-group .value {
  text-align: right;
  word-break: break-word;
  min-width: 0;
  flex: 1;
}

.copy-btn {
  flex: 0 0 auto;
  border: 1px solid #245592;
  background: #fff;
  color: #245592;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  background: #245592;
  color: #fff;
}

.copy-btn.copied {
  background: #2e8b57;
  border-color: #2e8b57;
  color: #fff;
}

.qr-container {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #e8eef5;
  padding-top: 20px;
}

.qr-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

#qrcode {
  display: flex;
  justify-content: center;
}

.important-box {
  background: #f7f7f7;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid #ececec;
}

.important-title {
  color: #e53935;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.important-list {
  margin: 0;
  padding-left: 20px;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

.important-list li + li {
  margin-top: 8px;
}

@media (max-width: 480px) {
  body {
    padding-top: 24px;
  }

  .row {
    font-size: 16px;
    margin: 26px 0;
    gap: 12px;
  }

  .label {
    flex-basis: 38%;
  }

  .copy-btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .important-box {
    padding: 14px 14px;
  }

  .important-title {
    font-size: 15px;
  }

  .important-list {
    font-size: 13px;
  }
}
