* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f6f6f7;
  color: #1f1f1f;
}

.container {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

h1 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.2;
  color: #111827;
}

.subtitle {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.section {
  margin-bottom: 22px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.grid {
  display: grid;
  gap: 12px;
}

.two-cols {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9dde3;
  border-radius: 10px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 78px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #111111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.billing-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: auto;
  margin: 0;
  padding: 0;
}

.billing-fields {
  padding-top: 2px;
}

button {
  margin-top: 8px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: #111111;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

button:hover {
  opacity: 0.96;
}

.error {
  min-height: 16px;
  margin-top: 4px;
  color: #d11a2a;
  font-size: 12px;
}

.success {
  margin-top: 14px;
  color: #15803d;
  font-size: 14px;
  font-weight: 600;
}

.hidden {
  display: none;
}

.center {
  text-align: center;
}

.icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #111111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.info {
  margin-top: 12px;
  color: #444444;
}

.info.small {
  font-size: 13px;
  color: #777777;
}

@media (max-width: 768px) {
  .container {
    padding: 18px 12px;
  }

  .card {
    padding: 20px;
    border-radius: 12px;
  }

  .two-cols {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  h1 {
    font-size: 24px;
  }
}
