/* vv-license-card 20260919T194800Z
   Shared VIP VistaView License card — brushed gold, forest wordmark,
   shield-V, QR + barcode. Used by my-dashboard, Join Pro, agent desks,
   /v3/verify-member. Does not restyle Super Map / MLS gold-frame. */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600&family=Italiana&display=swap");

:root {
  --vv-lic-forest: #0a1a17;
  --vv-lic-green: #0e3429;
  --vv-lic-gold: #d4af37;
  --vv-lic-gold-hi: #f3e6b8;
  --vv-lic-cream: #f3e6c4;
}

.vv-lic-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 8px;
}

.vv-lic-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.72 / 1;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  color: var(--vv-lic-forest);
  font-family: Inter, system-ui, sans-serif;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 248, 220, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -10px 18px rgba(80, 50, 10, 0.18);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.28) 0%, transparent 18%, transparent 62%, rgba(255, 255, 255, 0.12) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 0 1px,
      transparent 1px 3px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(80, 50, 10, 0.035) 0 1px,
      transparent 1px 2px
    ),
    linear-gradient(
      155deg,
      #f7ebc4 0%,
      #e8d48a 10%,
      #d4af37 26%,
      #c4a265 40%,
      #b8922a 52%,
      #e6d07a 68%,
      #d4af37 82%,
      #c9a227 100%
    );
}

.vv-lic-metal,
.vv-lic-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.vv-lic-metal {
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 18% 0%, rgba(255, 255, 255, 0.38), transparent 46%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%);
}

.vv-lic-noise {
  z-index: 1;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.vv-lic-drop {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.22) 42%, rgba(180, 150, 70, 0.08) 68%, transparent 72%);
  box-shadow:
    inset 0 -2px 3px rgba(80, 50, 10, 0.16),
    0 1px 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.vv-lic-head,
.vv-lic-name,
.vv-lic-mid,
.vv-lic-foot,
.vv-lic-rule {
  position: relative;
  z-index: 3;
}

.vv-lic-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px 0;
}

.vv-lic-shield {
  width: 44px;
  height: 50px;
  flex-shrink: 0;
}

.vv-lic-shield-mark {
  width: 100%;
  height: 100%;
  display: block;
}

.vv-lic-word {
  flex: 1;
  text-align: center;
  padding-right: 44px;
}

.vv-lic-brand {
  margin: 2px 0 0;
  font-family: "Cormorant Garamond", Italiana, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(28px, 6vw, 42px);
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--vv-lic-green);
}

.vv-lic-kicker {
  margin: 4px 0 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: none;
  color: var(--vv-lic-green);
  font-weight: 500;
}

.vv-lic-rule {
  height: 1px;
  margin: 12px 22px 0;
  background: linear-gradient(90deg, transparent, rgba(10, 26, 23, 0.38), transparent);
}

.vv-lic-rule--thin {
  margin-top: 10px;
  opacity: 0.7;
}

.vv-lic-name {
  margin: 14px 22px 0;
  min-height: 1.15em;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 2.4vw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--vv-lic-forest);
}

.vv-lic-name:empty::after {
  content: "";
  display: block;
  height: 1em;
}

.vv-lic-mid {
  margin: 12px 22px 0;
  text-align: center;
  min-height: 2.4em;
}

.vv-lic-title,
.vv-lic-company,
.vv-lic-loc {
  margin: 0;
  color: var(--vv-lic-green);
}

.vv-lic-title {
  font-size: 13px;
  font-weight: 500;
}

.vv-lic-company {
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.vv-lic-foot {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: end;
  padding: 10px 20px 16px;
  min-height: 86px;
}

.vv-lic-qr {
  width: 64px;
  height: 64px;
  background: #f3e6c4;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vv-lic-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.vv-lic-qr-empty {
  display: block;
  padding: 6px;
  font-size: 8px;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(10, 26, 23, 0.55);
  line-height: 1.25;
}

.vv-lic-meta {
  text-align: center;
  padding-bottom: 2px;
}

.vv-lic-loc {
  font-size: 12px;
  margin-bottom: 6px;
}

.vv-lic-bar {
  height: 28px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.vv-lic-bar svg {
  height: 28px;
  width: auto;
  max-width: 100%;
}

.vv-lic-id {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vv-lic-forest);
}

.vv-lic-id--empty {
  opacity: 0.55;
  letter-spacing: 0.08em;
}

.vv-lic-actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.vv-lic-download {
  appearance: none;
  min-height: 48px;
  min-width: min(100%, 220px);
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vv-lic-forest);
  background: linear-gradient(180deg, #f3e6b8, #d4af37 48%, #c4a265);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.vv-lic-download:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vv-lic-download:not(:disabled):active {
  transform: translateY(1px);
}

.vv-dash-hero .vv-lic-wrap,
.vv-dash-gold--photo .vv-lic-wrap,
.vrd-shell .vv-lic-wrap {
  margin: 8px auto 18px;
}

.vv-lic-verify {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1), transparent 42%),
    linear-gradient(180deg, #0f2621 0%, #0a1a17 50%, #081512 100%);
  color: #f3e6c4;
  font-family: Inter, system-ui, sans-serif;
}

.vv-lic-verify__main {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.vv-lic-verify__kicker {
  margin: 0 0 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: #d4af37;
}

.vv-lic-verify h1 {
  margin: 0 0 10px;
  font-family: Italiana, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #d4af37;
}

.vv-lic-verify__lede,
.vv-lic-verify__note {
  color: rgba(243, 230, 196, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.vv-lic-verify a {
  color: #d4af37;
}

@media (max-width: 640px) {
  .vv-lic-card {
    border-radius: 16px;
    min-height: 200px;
  }
  .vv-lic-head {
    padding: 14px 16px 0;
    gap: 10px;
  }
  .vv-lic-word {
    padding-right: 28px;
  }
  .vv-lic-brand {
    font-size: clamp(24px, 8vw, 34px);
  }
  .vv-lic-name,
  .vv-lic-mid,
  .vv-lic-rule {
    margin-left: 16px;
    margin-right: 16px;
  }
  .vv-lic-foot {
    padding: 8px 14px 14px;
    grid-template-columns: 56px 1fr;
  }
  .vv-lic-qr {
    width: 56px;
    height: 56px;
  }
  .vv-lic-download {
    width: 100%;
  }
}

@media print {
  .vv-lic-actions,
  .vv-lic-verify a,
  .vv-lic-verify__note {
    display: none !important;
  }
  .vv-lic-card {
    box-shadow: none;
    break-inside: avoid;
  }
}
