/* Страница оплаты (отдельный стиль от лендинга) */
:root {
  --bg: #f4f5f7;
  --card: #fff;
  --text: #1a1d26;
  --muted: #5c6370;
  --line: #e6e8ed;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --warn-bg: #fff8e6;
  --warn-border: #f5d78e;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 440px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.block {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px 32px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--line);
}

.heading {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 20px;
}

.heading .underline {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
}

#amount {
  font-weight: 700;
}

.message {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.message-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  font-weight: 600;
  font-size: 0.95rem;
}

.message-text {
  padding: 14px 16px;
  background: #fafbfc;
}

.message-text #message {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.messageTip {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.button-attention {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #7a5c1a;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.receipt-email-wrap label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.receipt-email-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.button {
  margin-top: 8px;
}

.button-primary {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-primary:active {
  transform: scale(0.98);
}

.btn-anim {
  transition: transform 0.15s ease, box-shadow 0.2s;
}

.btn-anim:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.form-checks-wrapper {
  margin-top: 20px;
}

.form-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.form-check-input-wrap {
  flex-shrink: 0;
  padding-top: 2px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-check-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-check-label a:hover {
  color: var(--accent-hover);
}

.form-check.checkbox-error .form-check-label {
  color: #b91c1c;
}

#checkboxesSingle.form-check {
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}
