@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(68, 98, 255, 0.18), transparent 30%),
    radial-gradient(circle at right, rgba(32, 196, 255, 0.10), transparent 22%),
    linear-gradient(180deg, #0d1020 0%, #090b18 100%);
  color: #ffffff;
  min-height: 100vh;
  padding: 28px;
}


.refund-note {
    margin-top: 6px;
    font-size: 14px;
    color: #9fc2ff;
    font-weight: 600;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
}

.card {
  width: 100%;
  max-width: 760px;
  padding: 22px 20px 28px;
  background: linear-gradient(180deg, #171b36 0%, #12162d 100%);
  border: 1px solid rgba(100, 120, 220, 0.35);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c96ff;
}

h1 {
  margin: 0 0 26px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  color: #f2f4ff;
}

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

.form label {
  font-size: 16px;
  font-weight: 500;
  color: #f4f6ff;
  margin-top: 4px;
}

.form label span {
  color: #ffffff;
}

.form input,
.form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #4051a8;
  background: #303c73;
  color: #ffffff;
  border-radius: 4px;
  outline: none;
  font-size: 16px;
  padding: 14px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255,255,255,0.42);
}

.form input:focus,
.form textarea:focus {
  border-color: #6f8cff;
  background: #34417d;
  box-shadow: 0 0 0 3px rgba(73, 115, 255, 0.16);
}

.amount-row {
  display: grid;
  grid-template-columns: 1fr 148px;
  gap: 0;
}

.amount-row input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.currency-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c2448;
  border: 1px solid #1c2448;
  border-left: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  color: #edf1ff;
  font-size: 16px;
  font-weight: 500;
  padding: 0 12px;
}

.hint {
  margin-top: -4px;
  font-size: 14px;
  color: #eff2ff;
}

.form textarea {
  min-height: 88px;
  resize: vertical;
}

.form-note {
  margin-top: 8px;
  font-size: 14px;
  color: #eef2ff;
}

button {
  align-self: center;
  margin-top: 8px;
  min-width: 106px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #2f7cff 0%, #1e69f0 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  background: linear-gradient(180deg, #468bff 0%, #2a74f7 100%);
  box-shadow: 0 10px 24px rgba(32, 111, 255, 0.32);
}

button:active {
  transform: translateY(1px);
}

.note {
  margin-top: 18px;
  font-size: 13px;
  color: #b8c1ea;
  line-height: 1.55;
}

.seller-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #cbd5f5;
  z-index: 9999;
  min-width: 190px;
  max-width: 240px;
  box-shadow: 0 0 20px rgba(88,184,255,0.15);
  text-align: left;
}

.seller-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.seller-line {
  opacity: 0.9;
  line-height: 1.5;
  word-break: break-word;
}

#paysera-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

iframe[src*="paysera"],
div[data-paysera-project-id] {
  right: 20px !important;
  left: auto !important;
  bottom: 20px !important;
  top: auto !important;
}

@media (max-width: 700px) {
  body {
    padding: 16px 16px 170px;
  }

  .page-shell {
    min-height: auto;
    display: block;
  }

  .card {
    max-width: 100%;
    padding: 18px 16px 24px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .amount-row {
    grid-template-columns: 1fr;
  }

  .amount-row input {
    border-radius: 4px;
  }

  .currency-box {
    margin-top: 8px;
    min-height: 48px;
    border-left: 1px solid #1c2448;
    border-radius: 4px;
  }

  .seller-box {
    left: 12px;
    bottom: 12px;
    min-width: 160px;
    max-width: 45vw;
    font-size: 12px;
    padding: 10px 12px;
  }

  #paysera-badge {
    right: 12px;
    bottom: 12px;
  }

  iframe[src*="paysera"],
  div[data-paysera-project-id] {
    right: 12px !important;
    bottom: 12px !important;
  }
}


.dashboard-note code {
  background: rgba(255,255,255,.08);
  padding: 2px 8px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
