body.xr-license-route .main .container-fluid {
  padding-top: 14px;
  background: #ffffff;
}

body.xr-license-route .xr-license-page {
  max-width: 860px;
  margin: 0 auto 20px;
}

body.xr-license-route .xr-license-topbar,
body.xr-license-route .xr-license-panel {
  border: 1px solid rgba(38, 50, 56, 0.10);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(38, 50, 56, 0.07);
}

body.xr-license-route .xr-license-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

body.xr-license-route .xr-license-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.xr-license-route .xr-license-brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.28) 0, rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, #f5c28a 0%, #f0a45e 35%, #d57c2c 70%, #c26a20 100%);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

body.xr-license-route .xr-license-brand-mark::before {
  content: "\f1eb";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Pro";
  font-size: 1rem;
  font-weight: 900;
  color: #ffffff;
  transform: rotate(90deg);
}

body.xr-license-route .xr-license-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.xr-license-route .xr-license-name {
  width: max-content;
  padding: 0 0 6px;
  color: #1a2328;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  background:
    linear-gradient(
      90deg,
      rgba(240, 164, 94, 0.98) 0%,
      rgba(213, 124, 44, 0.98) 60%,
      rgba(194, 106, 32, 0.96) 100%
    )
    left bottom / 78px 3px no-repeat;
}

body.xr-license-route .xr-license-subtitle {
  color: #6b7280;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0;
}

body.xr-license-route .xr-license-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 78px;
  height: 30px;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 800;
}

body.xr-license-route .xr-license-status::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
}

body.xr-license-route .xr-license-status.is-active {
  background: rgba(67, 160, 71, 0.10);
  color: #2e7d32;
}

body.xr-license-route .xr-license-status.is-active::before {
  background: #43a047;
  box-shadow: 0 0 0 4px rgba(67, 160, 71, 0.14);
}

body.xr-license-route .xr-license-status.is-disabled {
  background: rgba(248, 108, 107, 0.10);
  color: #c62828;
}

body.xr-license-route .xr-license-status.is-disabled::before {
  background: #f86c6b;
  box-shadow: 0 0 0 4px rgba(248, 108, 107, 0.14);
}

body.xr-license-route .xr-license-panel {
  overflow: hidden;
}

body.xr-license-route .xr-license-panel-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(38, 50, 56, 0.08);
  background: #ffffff;
  color: #263238;
}

body.xr-license-route .xr-license-kicker {
  display: block;
  margin-bottom: 4px;
  color: #f0a45e;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.xr-license-route .xr-license-panel-head h2 {
  margin: 0;
  color: #263238;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

body.xr-license-route .xr-license-reload {
  min-height: 38px !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 152px !important;
  padding: 0 24px !important;
  border: 1px solid rgba(240, 164, 94, 0.42) !important;
  border-radius: 6px !important;
  background: #263238 !important;
  color: #ffffff !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  box-shadow: 0 8px 16px rgba(38, 50, 56, 0.16) !important;
  cursor: pointer !important;
}

body.xr-license-route .xr-license-reload::before {
  content: "\f2f1";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Pro";
  font-size: .82rem;
  font-weight: 900;
  color: #f0a45e;
}

body.xr-license-route .xr-license-reload:hover {
  border-color: rgba(240, 164, 94, 0.70) !important;
  background: #1f2a30 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 18px rgba(38, 50, 56, 0.20) !important;
}

body.xr-license-route .xr-license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 18px 12px;
  background: #ffffff;
}

body.xr-license-route .xr-license-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(38, 50, 56, 0.08);
  border-radius: 8px;
  background: #fbfcfd;
}

body.xr-license-route .xr-license-field.is-wide {
  grid-column: 1 / -1;
}

body.xr-license-route .xr-license-field-label {
  color: #6b7280;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.xr-license-route .xr-license-field-value {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #263238;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: right;
}

body.xr-license-route .xr-license-field.is-wide .xr-license-field-value {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .9rem;
}

body.xr-license-route .xr-license-field.is-hardware-id {
  border-color: rgba(240, 164, 94, 0.34);
  background: #fff9e8;
  box-shadow:
    inset 4px 0 0 #f0a45e,
    0 8px 18px rgba(240, 164, 94, 0.14);
}

body.xr-license-route .xr-license-field.is-hardware-id .xr-license-field-label {
  color: #9a5b13;
}

body.xr-license-route .xr-license-field.is-hardware-id .xr-license-field-value {
  color: #3a2a12;
}

body.xr-license-route .xr-license-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(38, 50, 56, 0.08);
  background: #ffffff;
}

body.xr-license-route .xr-license-footnote {
  margin-left: auto;
  color: #7b8794;
  font-size: .78rem;
  font-weight: 600;
}

body.xr-license-route .xr-license-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  order: -1;
}

@media (max-width: 767px) {
  body.xr-license-route .xr-license-page {
    max-width: none;
  }

  body.xr-license-route .xr-license-topbar,
  body.xr-license-route .xr-license-panel-head,
  body.xr-license-route .xr-license-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  body.xr-license-route .xr-license-footnote {
    margin-left: 0;
  }

  body.xr-license-route .xr-license-grid {
    grid-template-columns: 1fr;
  }

  body.xr-license-route .xr-license-field {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  body.xr-license-route .xr-license-field-value {
    text-align: left;
  }
}

/* Skeleton state shown while waiting for license data */
body.xr-license-route .xr-license-page.is-loading .xr-license-field-value,
body.xr-license-route .xr-license-page.is-loading .xr-license-status {
  position: relative;
  color: transparent !important;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: xr-license-skeleton 1.4s ease-in-out infinite;
  border-radius: 4px;
  min-height: 14px;
  display: inline-block;
  min-width: 60px;
}

@keyframes xr-license-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
