:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #0d1117;
  --card: #161b22;
  --primary: #3fb9ff;
  --text: #f6f7f8;
  --muted: #9ea4af;
  color: var(--text);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 32px 16px;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(63, 185, 255, 0.15), transparent 50%), var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: min(520px, 100%);
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

h1 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.subtitle {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--muted);
}

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

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

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-preview {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.link-button {
  background: transparent;
  border: none;
  color: var(--primary);
  padding: 4px 0;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  margin-left: auto;
}

.manual-contact input {
  margin-top: 8px;
}

.hidden {
  display: none;
}

.block-label {
  font-weight: 600;
  color: var(--text);
}

input,
textarea,
button {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  border-color: transparent;
}

.currency-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.currency-options label {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  user-select: none;
}

.currency-options input {
  width: auto;
  margin: 0;
}

button {
  border: none;
  background: linear-gradient(120deg, #3fb9ff, #6c5ce7);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  min-height: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.status.error {
  color: #ff7676;
}

.status.success {
  color: #7ed957;
}

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

  .card {
    padding: 24px 18px;
  }
}
