.vvm-user {
  max-width: 760px;
  margin: 0 auto;
  /* Inherits typography from the NADCA theme — no font-family override. */
}

.vvm-user__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.vvm-user__header h1 {
  flex-basis: 100%;
  margin: 0 0 .5rem;
}

.vvm-user__sync-blurb {
  margin: 0;
  color: #555;
}

.vvm-user__sync-btn {
  padding: .6rem 1.2rem;
  background: #232f84;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.vvm-user__sync-btn:hover { background: #1a2466; }

.vvm-user__alert {
  padding: .75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.vvm-user__alert--shortfall {
  background: #fff5f4;
  border: 1px solid #cc2629;
  color: #9d191a;
}

.vvm-user__empty {
  background: #f8f9fa;
  border: 1px dashed #ccc;
  padding: 1.5rem;
  border-radius: 4px;
  color: #555;
}

.vvm-user__product {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

/* Higher specificity (.vvm-user .vvm-user__product h2) so the NADCA theme's
 * default h2 styling doesn't shrink our product heading. */
.vvm-user .vvm-user__product h2 {
  margin: 0 0 .75rem;
  font-size: 1.4rem;
  line-height: 1.3;
}

.vvm-user__instructions {
  background: #f8f9fa;
  border-left: 3px solid #232f84;
  padding: .75rem 1rem;
  margin: .5rem 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.vvm-user__codes {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.vvm-user__code {
  padding: .75rem 1rem;
  margin-bottom: .5rem;
  background: #fafbfc;
  border: 1px solid #e0e3e7;
  border-radius: 4px;
}

.vvm-user__code-string-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.vvm-user__code-string {
  font-family: SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.1rem;
  background: #fff;
  border: 1px solid #d0d4d8;
  padding: .4rem .7rem;
  border-radius: 3px;
  user-select: all;
  flex-grow: 1;
}

.vvm-user__copy-btn {
  padding: .35rem .8rem;
  background: #fff;
  border: 1px solid #232f84;
  color: #232f84;
  border-radius: 3px;
  cursor: pointer;
  font-size: .85rem;
}

.vvm-user__copy-btn:hover { background: #f5f5f9; }
.vvm-user__copy-btn.vvm-user__copy-btn--copied { background: #d4edda; color: #155724; border-color: #155724; }

.vvm-user__code-meta {
  font-size: 1rem;
  color: #555;
  margin-top: .4rem;
}

.vvm-user__schedule-btn {
  display: inline-block;
  padding: .6rem 1.2rem;
  background: #232f84;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.vvm-user__schedule-btn:hover { background: #1a2466; color: #fff; }
