/**
 * Verified Access — embedded card form styling.
 *
 * Clean white/basic base out of the box. Brand-driven bits (accent, text, radius, font) come in via
 * CSS variables set inline from the merchant's Branding settings (see VRA_Public::enqueue), so the
 * checkout matches their brand without any extra setup. Stripe renders the input text inside an iframe
 * (styled via the Elements `style` option in JS); everything around it — the boxes, labels, layout — is
 * ours and styled here. We hook Stripe's own state classes (.StripeElement--focus / --invalid).
 */
.vra-card-form {
  --vra-cc-bg: #ffffff;
  --vra-cc-border: #e3e6eb;
  --vra-cc-radius: 8px;
  --vra-cc-accent: #374151;
  --vra-cc-text: #1a1f36;
  --vra-cc-font: inherit;
  margin-top: 10px;
  font-family: var(--vra-cc-font);
}

.vra-cc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--vra-cc-text);
  margin: 14px 0 6px;
}

.vra-cc-row {
  display: flex;
  gap: 14px;
}
.vra-cc-col {
  flex: 1 1 0;
  min-width: 0;
}

.vra-cc-field {
  background: var(--vra-cc-bg);
  border: 1px solid var(--vra-cc-border);
  border-radius: var(--vra-cc-radius);
  padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vra-cc-field.StripeElement--focus {
  border-color: var(--vra-cc-accent);
  box-shadow: 0 0 0 1px var(--vra-cc-accent);
}
.vra-cc-field.StripeElement--invalid {
  border-color: #df1b41;
}

.vra-cc-errors {
  color: #df1b41;
  font-size: 13px;
  margin-top: 8px;
  min-height: 1em;
}
