@import url("../base/normalize.css");
@import url("../base/tokens.css");
@import url("../base/base.css");
@import url("../components/header.css");
@import url("../components/nav.css");
@import url("../components/footer.css");
@import url("../components/cards.css");

.virtual-cards-page {
  background:
    radial-gradient(circle at top left, rgba(64, 201, 255, 0.16), transparent 36%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 35%, #f7f7fc 100%);
}

.vc-shell {
  min-height: 60vh;
}

.vc-surface {
  background: rgba(255, 255, 255, 0.6);
}

.vc-narrow {
  max-width: 820px;
}

.vc-hero__grid,
.vc-authWrap,
.vc-editorLayout,
.vc-publicCard {
  display: grid;
  gap: 1.5rem;
}

.vc-hero__grid,
.vc-authWrap,
.vc-editorLayout {
  grid-template-columns: 1fr;
}

.vc-sectionHead {
  margin-bottom: 1.5rem;
}

.vc-sectionHead--row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.vc-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
}

.vc-panel--accent {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 255, 0.95)),
    linear-gradient(145deg, rgba(64, 201, 255, 0.3), rgba(232, 28, 255, 0.18));
}

.vc-panel__eyebrow,
.vc-stepCard__number {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.62);
}

.vc-grid {
  display: grid;
  gap: 1rem;
}

.vc-grid--2,
.vc-grid--3,
.vc-grid--4 {
  grid-template-columns: 1fr;
}

.vc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.vc-actions--stack {
  flex-direction: column;
}

.vc-checkList,
.vc-orderedList {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.vc-checkList li,
.vc-orderedList li {
  margin-bottom: 0.75rem;
}

.vc-metricList {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.vc-metricList--compact {
  margin-top: 1rem;
}

.vc-metric {
  min-width: 100px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.vc-metric__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.vc-metric__label {
  display: block;
  font-size: 0.85rem;
  color: rgba(17, 24, 39, 0.64);
}

.vc-themeCard {
  min-height: 220px;
}

.vc-themeCard--brand-sunrise {
  background: linear-gradient(160deg, rgba(64, 201, 255, 0.14), rgba(255, 255, 255, 0.96));
}

.vc-themeCard--digital-noir {
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.96), rgba(30, 41, 59, 0.92));
  color: rgba(255, 255, 255, 0.92);
}

.vc-themeCard--digital-noir .rc-kicker,
.vc-themeCard--digital-noir .rc-h3,
.vc-themeCard--digital-noir .rc-p {
  color: inherit;
}

.vc-themeCard--clean-canvas {
  background: linear-gradient(160deg, rgba(255, 255, 255, 1), rgba(239, 246, 255, 0.92));
}

.vc-authPanel {
  max-width: 560px;
}

.vc-formStack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vc-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.vc-field span {
  font-weight: 600;
  font-size: 0.95rem;
}

.vc-field input,
.vc-field textarea,
.vc-field select {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 0.8rem 0.95rem;
  background: #fff;
  font: inherit;
}

.vc-field textarea {
  min-height: 130px;
  resize: vertical;
}

.vc-field input[readonly] {
  background: rgba(15, 23, 42, 0.04);
}

.vc-btnFull {
  width: 100%;
}

.vc-metaLine {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(17, 24, 39, 0.72);
}

.vc-metaLine a {
  color: var(--rc-color-brand-700);
  font-weight: 600;
}

.vc-formError,
.vc-formSuccess {
  font-size: 0.9rem;
  margin: 0;
}

.vc-formError {
  color: #9f1239;
}

.vc-formSuccess {
  color: #166534;
}

.vc-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
}

.vc-emptyState {
  text-align: center;
}

.vc-cardSummary {
  height: 100%;
}

.vc-cardSummary__top,
.vc-linkBuilder__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.vc-avatarPreview {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid rgba(64, 201, 255, 0.28);
  background: #fff;
}

.vc-sidebar {
  align-self: start;
}

.vc-inlineChecks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.vc-inlineChecks label {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.vc-linkBuilder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vc-linkRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.02);
}

.vc-linkRow__remove {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #9f1239;
  font-weight: 600;
  cursor: pointer;
}

.vc-publicShell {
  background:
    radial-gradient(circle at top right, rgba(64, 201, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f4f8ff 0%, #fff 50%);
}

.vc-publicCard {
  grid-template-columns: 1fr;
  padding: 1rem;
  border-radius: 32px;
}

.vc-publicCard__main,
.vc-publicCard__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vc-publicCard__header {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.vc-publicCard__avatar {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.4);
  background: #fff;
}

.vc-publicCard__note {
  font-weight: 600;
  font-size: 1rem;
}

.vc-contactList,
.vc-linkList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vc-contactList a,
.vc-contactList span {
  color: inherit;
  text-decoration: none;
}

.vc-linkList__item {
  justify-content: center;
}

.vc-qrPanel {
  text-align: center;
  padding: 1.25rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.vc-qrPanel__image {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0.5rem auto 1rem;
  display: block;
  border-radius: 18px;
  background: #fff;
  padding: 0.65rem;
}

.vc-theme--brand-sunrise {
  background:
    linear-gradient(155deg, rgba(64, 201, 255, 0.2), rgba(255, 255, 255, 0.9)),
    linear-gradient(120deg, #ffffff 0%, #eef7ff 60%, #fff8fe 100%);
  color: #111827;
}

.vc-theme--digital-noir {
  background: linear-gradient(145deg, #111827 0%, #1e293b 50%, #0f172a 100%);
  color: rgba(255, 255, 255, 0.94);
}

.vc-theme--digital-noir .rc-kicker,
.vc-theme--digital-noir .rc-h1,
.vc-theme--digital-noir .rc-lead,
.vc-theme--digital-noir .rc-p,
.vc-theme--digital-noir a,
.vc-theme--digital-noir span,
.vc-theme--digital-noir .vc-publicCard__note {
  color: inherit;
}

.vc-theme--digital-noir .vc-qrPanel,
.vc-theme--digital-noir .vc-leadPanel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.vc-theme--clean-canvas {
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 55%, #eef6ff 100%);
  color: #0f172a;
}

.vc-leadPanel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

@media (min-width: 760px) {
  .vc-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vc-linkRow {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
}

@media (min-width: 960px) {
  .vc-hero__grid,
  .vc-authWrap,
  .vc-editorLayout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
  }

  .vc-publicCard {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1.5rem;
  }

  .vc-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vc-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
