/* CADVOID Coordinate Converter — License Modal v2 */
/* Small access button, frosted-glass overlay, responsive verification dialog. */
.cvc-license-entry { display: grid; gap: 10px; margin-top: 3px; }
.cvc-license-entry p { margin: 0; font-size: 12px; color: #a7bcca; line-height: 1.6; }
.cvc-license-open {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  align-self: start; width: fit-content; max-width: 100%;
  padding: 10px 14px; border: 1px solid #416980; border-radius: 10px;
  background: #142c40; color: #edf6fa; font: inherit; font-size: 13px;
  font-weight: 750; cursor: pointer; transition: background .2s, border-color .2s;
}
.cvc-license-open svg { width: 17px; height: 17px; color: #b4d68a; }
.cvc-license-open:hover { background: #1c3a51; border-color: #7bb4d0; }
.cvc-license-open:focus-visible,.cvc-license-close:focus-visible,.cvc-check-row button:focus-visible { outline: 2px solid #b4d68a; outline-offset: 3px; }
.cvc-license-modal[hidden] { display: none !important; }
.cvc-license-modal {
  position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center;
  justify-content: center; padding: 18px; isolation: isolate;
}
.cvc-license-overlay {
  position: absolute; inset: 0; background: rgba(2, 10, 18, .70);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cvc-license-dialog {
  position: relative; width: min(100%, 495px); max-height: min(92dvh, 750px);
  overflow-y: auto; padding: clamp(24px, 5vw, 36px);
  border: 1px solid #3d6075; border-radius: 20px;
  background: linear-gradient(150deg,#132b40 0%,#0b1b2d 74%);
  color: #eef6fa; box-shadow: 0 30px 100px rgba(0,0,0,.6);
}
.cvc-license-close {
  position: absolute; top: 13px; right: 13px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 1px solid #3b5364;
  background: #183449; color: #c4d7e2; border-radius: 9px;
  font-size: 25px; line-height: 1; cursor: pointer;
}
.cvc-license-close:hover { color: #fff; background: #244760; }
.cvc-license-eyebrow { margin: 2px 44px 10px 0; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #b4d68a; }
.cvc-license-dialog h2 { margin: 0 38px 12px 0; font-size: clamp(24px, 4vw, 32px); font-weight: 800; color: #f1f8fa; }
.cvc-license-dialog > p { margin: 0 0 21px; color: #a7bcca; line-height: 1.7; font-size: 14px; }
.cvc-check-form { display: grid; gap: 11px; }
.cvc-check-form label { color: #e6f2f6; font-size: 13px; font-weight: 700; }
.cvc-check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cvc-check-row input { flex: 1 1 190px; width: 0; min-width: 0; padding: 12px 13px; border-radius: 10px; border: 1px solid #466275; background: #081929; color: #fff; font: inherit; }
.cvc-check-row input:focus { outline: 2px solid #9ccce2; outline-offset: 1px; }
.cvc-check-row button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 12px 15px; background: #b4d68a; color: #10201a; font-weight: 800; font-size: 13px; cursor: pointer; }
.cvc-check-row button:hover { background: #c9e8a5; }
.cvc-license-result { display: grid; gap: 4px; margin-top: 19px; padding: 15px; border-radius: 10px; border: 1px solid #477d62; background: #15372e; color: #e4f6e9; font-size: 13px; }
.cvc-license-result strong { color: #b4d68a; font-size: 15px; }
.cvc-license-result.cvc-license-error { border-color: #925363; background: #392328; color: #ffdbe0; }
.cvc-license-dialog > .cvc-license-hint { margin: 18px 0 0; font-size: 11px; color: #88a6b7; }
body.cvc-license-modal-open { overflow: hidden; }
@media (max-width: 480px) { .cvc-check-row { flex-direction: column; } .cvc-check-row input { flex-basis: auto; width: 100%; } .cvc-check-row button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .cvc-license-open { transition: none; } }
