.vc-kyc-legal {
  margin: 1.25rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(196, 163, 90, 0.35);
  border-radius: 8px;
  background: rgba(12, 12, 16, 0.6);
  text-align: left;
}

.vc-kyc-legal__title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4a35a;
}

.vc-kyc-legal__summary {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #b8b8c4;
}

.vc-kyc-legal__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e0e0ea;
  cursor: pointer;
  text-align: left;
}

.vc-kyc-legal__consent-box {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.35rem 0 -0.35rem -0.35rem;
}

.vc-kyc-legal__consent-box input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.vc-kyc-legal__check-visual {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(196, 163, 90, 0.85);
  border-radius: 5px;
  background: #121218;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, border-color 0.15s ease;
  pointer-events: none;
}

.vc-kyc-legal__consent-box input:checked + .vc-kyc-legal__check-visual {
  background: #c4a35a;
  border-color: #c4a35a;
  box-shadow: inset 0 0 0 2px #0c0c10;
}

.vc-kyc-legal__consent-box input:focus-visible + .vc-kyc-legal__check-visual {
  outline: 2px solid rgba(196, 163, 90, 0.55);
  outline-offset: 2px;
}

.vc-kyc-legal__consent-text {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 0.35rem;
}

.vc-kyc-legal__inline-link {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #c4a35a;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  vertical-align: baseline;
}

.vc-kyc-legal__inline-link:hover {
  color: #e0c88a;
}

.vc-kyc-legal-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

@media (min-width: 640px) {
  .vc-kyc-legal-modal {
    align-items: center;
  }
}

.vc-kyc-legal-modal__panel {
  width: min(640px, 100%);
  max-height: min(85vh, 720px);
  overflow: auto;
  background: #0c0c10;
  border: 1px solid #333;
  border-radius: 10px;
  color: #e8e8ec;
}

.vc-kyc-legal-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #2a2a32;
}

.vc-kyc-legal-modal__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.vc-kyc-legal-modal__close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.vc-kyc-legal-modal__body {
  padding: 1rem 1.1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.vc-kyc-legal-modal__list {
  list-style: disc outside;
  margin: 0.75rem 0 1rem;
  padding-left: 1.35rem;
}

.vc-kyc-legal-modal__list li {
  display: list-item;
  margin: 0.4rem 0;
  padding-left: 0.15rem;
}

.vc-kyc-legal-modal__body ul:not(.vc-kyc-legal-modal__list) {
  list-style: disc outside;
  margin: 0.75rem 0 1rem;
  padding-left: 1.35rem;
}

.vc-panel__note--warn {
  color: #f0c674;
  border-left: 3px solid #c4a35a;
  padding-left: 0.75rem;
}
