/*
  Brilliancy Requests — styling
  Gradient colors pulled directly from BrilliancyLogo-withtagline-4c-colorforwhite.svg
  (deep purple -> magenta -> orange -> gold), used sparingly as accents against
  a clean white/charcoal layout so it reads as modern, not busy.
*/

:root {
  --bc-purple: #813473;
  --bc-magenta: #d01a4b;
  --bc-orange: #f26522;
  --bc-gold: #edc521;
  --bc-gradient: linear-gradient(90deg, var(--bc-purple), var(--bc-magenta), var(--bc-orange), var(--bc-gold));
  --bc-ink: #2b2b2f;
  --bc-ink-soft: #6b6b72;
  --bc-line: #e8e6eb;
  --bc-bg: #faf9fb;
  --bc-card: #ffffff;
  --bc-radius: 16px;
  --bc-shadow: 0 10px 30px -12px rgba(43, 27, 58, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bc-bg);
  color: var(--bc-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px 64px;
}

.bc-header {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.bc-logo {
  height: 34px;
  margin-bottom: 6px;
}

.bc-header-sub {
  font-size: 13px;
  color: var(--bc-ink-soft);
  letter-spacing: 0.02em;
}

.bc-card {
  width: 100%;
  max-width: 640px;
  background: var(--bc-card);
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 480px) {
  .bc-card { padding: 28px 20px; border-radius: 12px; }
}

.bc-progress-track {
  height: 6px;
  border-radius: 6px;
  background: var(--bc-line);
  overflow: hidden;
  margin-bottom: 28px;
}

.bc-progress-fill {
  height: 100%;
  background: var(--bc-gradient);
  border-radius: 6px;
  transition: width 0.35s ease;
}

.bc-step-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-magenta);
  margin-bottom: 8px;
}

.bc-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px;
  color: var(--bc-ink);
}

.bc-subtitle {
  font-size: 15px;
  color: var(--bc-ink-soft);
  margin: 0 0 26px;
  line-height: 1.5;
}

.bc-field {
  margin-bottom: 20px;
}

.bc-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bc-ink);
}

.bc-required {
  color: var(--bc-magenta);
  margin-left: 2px;
}

.bc-helper {
  font-size: 12.5px;
  color: var(--bc-ink-soft);
  margin: -2px 0 8px;
}

.bc-input,
.bc-textarea,
.bc-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1.5px solid var(--bc-line);
  border-radius: 10px;
  background: #fff;
  color: var(--bc-ink);
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bc-input:focus,
.bc-textarea:focus,
.bc-select:focus {
  outline: none;
  border-color: var(--bc-magenta);
  box-shadow: 0 0 0 3px rgba(208, 26, 75, 0.12);
}

.bc-textarea { min-height: 96px; resize: vertical; }

.bc-radio-group { display: flex; flex-direction: column; gap: 10px; }

.bc-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--bc-line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14.5px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bc-radio-option:hover { border-color: var(--bc-magenta); }

.bc-radio-option input { accent-color: var(--bc-magenta); }

.bc-radio-option.is-checked {
  border-color: var(--bc-magenta);
  background: rgba(208, 26, 75, 0.05);
}

.bc-file {
  width: 100%;
  padding: 14px;
  border: 1.5px dashed var(--bc-line);
  border-radius: 10px;
  font-size: 14px;
  background: #fcfbfc;
  cursor: pointer;
}

.bc-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .bc-categories { grid-template-columns: 1fr; }
}

.bc-category-card {
  border: 1.5px solid var(--bc-line);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.bc-category-card:hover {
  border-color: var(--bc-orange);
  transform: translateY(-1px);
}

.bc-category-card.is-selected {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--bc-gradient) border-box;
  border: 2px solid transparent;
  box-shadow: 0 6px 18px -8px rgba(208, 26, 75, 0.35);
}

.bc-category-icon {
  width: 28px;
  height: 28px;
  color: var(--bc-magenta);
}

.bc-category-label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bc-ink);
}

.bc-category-blurb {
  font-size: 12.5px;
  color: var(--bc-ink-soft);
  line-height: 1.4;
}

.bc-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
}

.bc-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.bc-btn:active { transform: scale(0.98); }

.bc-btn-primary {
  background: var(--bc-gradient);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(208, 26, 75, 0.45);
  transition: background-position 0.5s ease,
              box-shadow 0.25s ease,
              transform 0.15s ease,
              opacity 0.15s ease;
}

.bc-btn-primary:hover:not(:disabled) {
  animation: bc-gradient-flow 1.6s ease-in-out infinite alternate;
  box-shadow: 0 10px 26px -8px rgba(208, 26, 75, 0.6);
  transform: translateY(-1px);
}

@keyframes bc-gradient-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.bc-btn-primary:active:not(:disabled) {
  transition-duration: 0.1s;
}

.bc-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bc-btn-secondary {
  background: transparent;
  color: var(--bc-ink-soft);
  padding: 12px 8px;
}

.bc-btn-secondary:hover { color: var(--bc-ink); }

.bc-review-block {
  border: 1.5px solid var(--bc-line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.bc-review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--bc-line);
}

.bc-review-row:last-child { border-bottom: none; }

.bc-review-k { color: var(--bc-ink-soft); flex: 0 0 42%; }
.bc-review-v { color: var(--bc-ink); font-weight: 500; text-align: right; flex: 1; word-break: break-word; }

.bc-success {
  text-align: center;
  padding: 12px 0 4px;
}

.bc-success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bc-gradient);
  color: #fff;
  font-size: 26px;
  margin-bottom: 18px;
}

.bc-ref {
  display: inline-block;
  margin: 10px 0 4px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bc-bg);
  border: 1.5px solid var(--bc-line);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 15px;
}

.bc-demo-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fdf7ee;
  border: 1px solid #f1e1bd;
  font-size: 13px;
  color: #6b5a2c;
  text-align: left;
}

.bc-demo-note summary {
  cursor: pointer;
  font-weight: 600;
  color: #8a6d20;
}

.bc-demo-pre {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  margin-top: 10px;
  color: #4a3f1f;
}

.bc-error {
  font-size: 13px;
  color: var(--bc-magenta);
  margin-top: -12px;
  margin-bottom: 16px;
}

.bc-footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--bc-ink-soft);
  text-align: center;
}
