.apol-customer-code {
  margin: 0 0 var(--wp--custom--spacing--lg, 2rem);
  min-width: 0;
}

.apol-customer-code-label {
  margin: 0;
  font-size: var(--wp--custom--typography--font-size--xs, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--contrast-medium, #6a7282);
}

.apol-customer-code-row {
  display: flex;
  align-items: baseline;
  gap: var(--wp--custom--spacing--sm, 0.75rem);
  flex-wrap: wrap;
  margin: var(--wp--custom--spacing--xs, 0.5rem) 0 var(--wp--custom--spacing--xs, 0.5rem);
}

.apol-customer-code-value {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--wp--preset--color--contrast-higher, #030712);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.apol-customer-code-copy {
  appearance: none;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--wp--custom--radius--md, 0.25em);
  padding: 0.375rem var(--wp--custom--spacing--sm, 0.75rem);
  color: var(--wp--preset--color--contrast-medium, #6a7282);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--wp--custom--spacing--xs, 0.5rem);
  font-family: inherit;
  font-size: var(--wp--custom--typography--font-size--sm, 0.875rem);
  font-weight: 500;
  line-height: 1;
  transition: color 200ms cubic-bezier(0.22, 1, 0.36, 1), background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apol-customer-code-copy:hover,
.apol-customer-code-copy:focus-visible {
  color: var(--wp--preset--color--contrast-higher, #030712);
  background-color: var(--wp--preset--color--contrast-lower, #f3f4f6);
}

.apol-customer-code-copy:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary, #466780);
  outline-offset: 2px;
}

.apol-customer-code-copy svg {
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apol-customer-code-copy.is-copied {
  color: var(--wp--preset--color--contrast-higher, #030712);
}

.apol-customer-code-copy.is-copied .apol-customer-code-copy-label {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.apol-customer-code-copy-feedback {
  font-weight: 600;
  color: var(--wp--preset--color--contrast-higher, #030712);
}
.apol-customer-code-copy-feedback:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .apol-customer-code-copy,
  .apol-customer-code-copy svg {
    transition: none;
  }
}
@media (forced-colors: active) {
  .apol-customer-code-copy:focus-visible {
    outline-color: Highlight;
  }
}
.apol-customer-code-help {
  margin: 0;
  font-size: var(--wp--custom--typography--font-size--sm, 0.875rem);
  line-height: 1.45;
  color: var(--wp--preset--color--contrast-high, #1e2939);
  max-width: 60ch;
  overflow-wrap: break-word;
}

.apol-validation-banner {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  background: #fff8e5;
  border-left: 4px solid #dba617;
  color: #50575e;
}

.apol-validation-banner-icon {
  flex: 0 0 24px;
  font-size: 20px;
  color: #dba617;
  line-height: 1.2;
}

.apol-validation-banner-content {
  flex: 1;
}

.apol-validation-banner-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: #1d2327;
}

.apol-validation-banner-body {
  margin: 0 0 8px;
  font-size: 14px;
}

.apol-validation-banner-contact {
  margin: 0;
  font-size: 13px;
}
