/* Guided license panel; scoped to keep the rest of the site independent. */
.license-panel {
  --panel-accent: #5ce8ee;
  --panel-tint: rgba(56, 213, 226, .1);
  padding: 26px;
  background: radial-gradient(ellipse at 100% 0, rgba(23, 122, 147, .15), transparent 48%), #0c121e;
  border: 1px solid #263747;
  box-shadow: 0 24px 80px #0008, 0 0 45px #2ed7ee08, inset 0 1px 0 #ffffff08;
  overflow: hidden;
  scroll-margin-top: 100px;
  text-align: left;
}
.license-panel[data-mode="hwid"] { --panel-accent: #c0a3ff; --panel-tint: rgba(166, 123, 255, .12); }
.license-panel[data-mode="extend"] { --panel-accent: #f6cc7a; --panel-tint: rgba(246, 204, 122, .1); }
.license-panel::after { display: none; }
.license-panel [hidden] { display: none !important; }
.license-panel h2, .license-panel h3 { font-family: 'Outfit', sans-serif; letter-spacing: -.4px; }
.license-panel button, .license-panel input { font: inherit; }
.license-header { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.license-brand-icon { display: grid; place-items: center; width: 44px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--panel-tint); border: 1px solid #5ce8ee30; color: var(--panel-accent); }
.license-brand-icon svg { width: 27px; height: 27px; }
.license-eyebrow { display: block; font-size: 9px; font-weight: 600; letter-spacing: 2.1px; color: #8fa4b9; margin-bottom: 3px; }
.license-header h2 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.license-online { display: flex; align-items: center; gap: 5px; white-space: nowrap; margin-left: auto; font-size: 10px; color: #8cdec1; background: #12403055; border: 1px solid #3bc69820; border-radius: 20px; padding: 4px 8px; }
.license-online > span { width: 5px; height: 5px; border-radius: 50%; background: #6de9b8; }
.license-mode-label { font-size: 12px; font-weight: 500; color: #b8c7d6; margin-bottom: 10px; }
.license-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.license-mode { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 13px 4px 11px; border: 1px solid #293344; border-radius: 12px; color: #b2bfd0; background: #121a27; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.license-mode:hover { border-color: var(--panel-accent); transform: translateY(-2px); }
.license-mode.active { color: var(--panel-accent); background: var(--panel-tint); border-color: var(--panel-accent); box-shadow: 0 3px 20px #0002; }
.license-mode.active::after { content: ''; width: 5px; height: 5px; position: absolute; right: 9px; top: 9px; border-radius: 50%; background: var(--panel-accent); }
.license-mode-icon { display: grid; place-items: center; height: 26px; margin-bottom: 4px; }
.license-mode-icon svg { width: 23px; height: 23px; }
.license-mode strong { font-size: 13px; font-weight: 600; }
.license-mode small { font-size: 10px; color: #96a7bb; }
.license-steps { display: flex; list-style: none; justify-content: space-between; gap: 8px; margin: 23px 0; padding: 0 0 20px; border-bottom: 1px solid #ffffff0d; }
.license-steps li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #94a3b8; }
.license-steps li > span { display: grid; place-items: center; width: 23px; height: 23px; font-size: 11px; border: 1px solid #344154; border-radius: 50%; }
.license-steps .is-current { color: #edf5ff; }
.license-steps .is-current > span { color: #0c1724; border-color: var(--panel-accent); background: var(--panel-accent); font-weight: 700; box-shadow: 0 0 15px var(--panel-tint); }
.license-steps .is-done > span { color: var(--panel-accent); border-color: var(--panel-accent); }
.license-intro { margin-bottom: 18px; }
.license-intro h3 { font-size: 23px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.license-intro p { font-size: 13px; line-height: 1.6; color: #a6b6c9; }
.license-plan { display: flex; justify-content: space-between; align-items: center; padding: 13px 17px; border-radius: 12px; background: linear-gradient(110deg, var(--panel-tint), #182034); border: 1px solid #354658; margin-bottom: 20px; }
.license-plan-caption { display: block; font-size: 8px; letter-spacing: 1.7px; color: #92abbf; }
.license-plan strong { display: block; font-size: 17px; font-weight: 600; }
.license-plan-price { font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--panel-accent); text-align: right; }
.license-plan-price > span { font-size: 13px; }
.license-plan-price > small { display: block; font-size: 10px; font-weight: 400; color: #a6b6c9; margin-top: 4px; }
.license-field { margin-bottom: 16px; }
.license-field label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px; color: #e0e9f5; font-size: 12px; font-weight: 500; }
.license-field label > span { font-size: 10px; color: #96a7bb; font-weight: 400; }
.license-field input { display: block; width: 100%; min-width: 0; height: 46px; border-radius: 9px; border: 1px solid #344155; background: #080e18; padding: 0 13px; color: #eef5ff; transition: border-color .18s, box-shadow .18s; }
.license-field input::placeholder { color: #8293a9; font-size: 13px; }
.license-field input:focus { outline: none; border-color: var(--panel-accent); box-shadow: 0 0 0 3px var(--panel-tint); }
.license-field input[aria-invalid="true"] { border-color: #fb8e9b; }
.license-field small { display: block; color: #95a6bb; font-size: 10px; margin-top: 6px; }
.license-primary { display: flex; align-items: center; justify-content: center; gap: 15px; width: 100%; min-height: 47px; padding: 11px 15px; border: 1px solid transparent; border-radius: 10px; background: linear-gradient(110deg, #64eddf, #43cde9); color: #081b26; font-weight: 600 !important; font-size: 14px !important; cursor: pointer; box-shadow: 0 5px 22px #28cde516; transition: filter .18s, transform .18s; }
.license-primary > span { font-size: 21px; line-height: 1; }
.license-panel[data-mode="hwid"] .license-primary { background: linear-gradient(110deg, #cfb8ff, #aa8cf2); }
.license-panel[data-mode="extend"] .license-primary { background: linear-gradient(110deg, #ffe0a4, #efc477); }
.license-primary:hover { filter: brightness(1.09); transform: translateY(-1px); }
.license-panel button:disabled { cursor: wait; opacity: .6; transform: none; }
.license-panel :is(button, a, summary):focus-visible { outline: 2px solid var(--panel-accent); outline-offset: 4px; }
.license-help { margin-top: 15px; font-size: 11px; color: #b9c8da; }
.license-help summary { cursor: pointer; padding: 3px 0; }
.license-help p { color: #a6b6c9; font-size: 12px; line-height: 1.8; margin-top: 10px; }
.license-help a { display: inline-block; color: var(--panel-accent); text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; }
.license-footer { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #ffffff0d; margin-top: 22px; padding: 16px 0 0; background: transparent; font-size: 11px; color: #96a7bb; }
.license-footer a { color: #c9b9fc; font-weight: 500; }
.license-footer a:hover { text-decoration: underline; }
.license-info { padding: 16px; border-radius: 12px; background: var(--panel-tint); border: 1px solid #c0a3ff33; margin-bottom: 20px; font-size: 12px; color: #bdcbdd; }
.license-info strong { display: block; color: #e4d8ff; margin-bottom: 5px; }
.license-info span { display: block; color: #d8c9fc; margin-top: 10px; font-size: 11px; }
.license-summary { padding: 4px 16px; border: 1px solid #334256; border-radius: 12px; background: #131d2b; }
.license-summary > div { padding: 12px 0; border-bottom: 1px solid #ffffff0a; }
.license-summary > div:last-child { border-bottom: 0; }
.license-summary dt { color: #9eb0c6; font-size: 11px; }
.license-summary dd { color: #ecf5ff; font-size: 14px; overflow-wrap: anywhere; }
.license-review-note { color: #b3c3d6; font-size: 12px; line-height: 1.8; margin: 18px 0; }
.license-secondary { display: block; width: 100%; text-align: center; background: transparent; color: #b6c5d8; border: 1px solid #344155; border-radius: 10px; padding: 11px 15px; margin-top: 10px; font-size: 12px; cursor: pointer; }
.license-secondary:hover { background: #ffffff06; color: #fff; }
.license-result { text-align: center; padding: 12px 0 0; }
.license-result-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #4bdfb314; border: 1px solid #4bdfb344; color: #7be8c6; font-size: 32px; margin: 0 auto 20px; }
.license-result[data-state="pending"] .license-result-icon { color: #f6cc7a; background: #f6cc7a14; border-color: #f6cc7a44; }
.license-result[data-state="error"] .license-result-icon { color: #ffb9c2; background: #fb8e9b14; border-color: #fb8e9b44; }
.license-result h3 { font-size: 23px; line-height: 1.3; }
.license-result p { font-size: 13px; color: #b3c3d6; line-height: 1.8; margin: 12px 0 24px; overflow-wrap: anywhere; }
#readyLicenseKey { display: block; font-size: 16px; color: var(--panel-accent); user-select: all; padding: 16px 10px; margin-bottom: 12px; border: 1px solid #344155; border-radius: 10px; overflow-wrap: anywhere; }
.license-error { padding: 12px 14px; margin-top: 16px; border: 1px solid #fb8e9b55; background: #fb8e9b0d; color: #ffb9c2; border-radius: 9px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .license-panel { padding: 20px 16px; border-radius: 18px; }
  .license-header { gap: 9px; }
  .license-header h2 { font-size: 18px; }
  .license-online { display: none; }
  .license-modes { gap: 6px; }
  .license-mode strong { font-size: 12px; }
  .license-steps li { font-size: 10px; gap: 5px; }
  .license-field input { font-size: 16px; }
  .license-field label { flex-wrap: wrap; gap: 2px 8px; }
  .license-intro h3 { font-size: 22px; }
  .license-footer { flex-wrap: wrap; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .license-panel *, .license-panel *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
