#screen-pay {
  background: var(--bg);
}

.pay-wrap {
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 40px;
  box-sizing: border-box;
}

.pay-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 28px 22px;
  box-sizing: border-box;
}

.pay-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-logo {
  height: 38px;
  display: block;
  margin: 0 auto 20px;
  object-fit: contain;
}

.pay-title {
  font-family: var(--font);
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.25;
}

.pay-owner {
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.pay-desc {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.pay-progress-bg {
  height: 9px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 22px 0 12px;
}

.pay-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width .6s ease;
}

.pay-amounts {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pay-amt-right {
  text-align: right;
}

.pay-amt-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.pay-amt-lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-top: 2px;
}

.pay-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.pay-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 14px 0 7px;
}

.pay-form .pay-label:first-child {
  margin-top: 0;
}

.pay-input {
  width: 100%;
  height: 52px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  box-sizing: border-box;
  outline: none;
  transition: border-color .15s ease;
}

.pay-input:focus {
  border-color: var(--primary);
}

.pay-login-link {
  width: 100%;
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 14px 0 2px;
  cursor: pointer;
}

.pay-powered {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
}

.pay-error-msg {
  font-size: 14.5px;
  color: var(--text);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.pay-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 80px 0;
  color: var(--text-muted);
  font-size: 14px;
}
