/* PlayMeu Voucher V1 — player Review UI only. Uses inherited theme tokens. */
.pm-voucher-v1,
.openplay-voucher-v1 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pm-voucher-v1 .icon,
.openplay-voucher-v1 .icon {
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1;
}

.pm-voucher-v1 input,
.openplay-voucher-v1 input {
  min-width: 0;
  flex: 1 1 auto;
  border: 1px solid var(--line, rgba(128,128,128,.3));
  border-radius: 10px;
  padding: 11px 12px;
  background: var(--surface, inherit);
  color: inherit;
  font: inherit;
  text-transform: uppercase;
}

.pm-voucher-v1 input:focus,
.openplay-voucher-v1 input:focus {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

.pm-voucher-v1 button,
.openplay-voucher-v1 button {
  flex: 0 0 auto;
}

.pm-voucher-v1-result {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pm-voucher-v1-result > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pm-voucher-v1-result b {
  overflow-wrap: anywhere;
  letter-spacing: .03em;
}

.pm-voucher-v1-result small {
  opacity: .72;
}

.pm-voucher-v1-result strong,
.pm-voucher-v1-summary-discount b {
  white-space: nowrap;
}

.openplay-voucher-v1 {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line, rgba(128,128,128,.25));
  border-radius: 14px;
  background: var(--surface, rgba(127,127,127,.04));
}

.openplay-voucher-v1 button {
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pm-voucher-v1 button:disabled,
.openplay-voucher-v1 button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

@media (max-width: 640px) {
  .pm-voucher-v1,
  .openplay-voucher-v1 {
    flex-wrap: wrap;
  }

  .pm-voucher-v1 .icon,
  .openplay-voucher-v1 .icon {
    align-self: center;
  }

  .pm-voucher-v1 input,
  .openplay-voucher-v1 input,
  .pm-voucher-v1-result {
    flex: 1 1 calc(100% - 34px);
  }

  .pm-voucher-v1 button,
  .openplay-voucher-v1 button {
    width: 100%;
  }
}
