.auth-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(59, 125, 221, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 28%),
    linear-gradient(180deg, #f4f7fb, #eef3f9);
}

.navbar-brand {
  letter-spacing: 0.02em;
}

.main .content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(244, 247, 252, 0.92));
  min-height: calc(100vh - 64px);
}

.card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.card-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(243, 246, 251, 0.94));
}

.table thead th {
  color: #5b7087;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table tbody td {
  vertical-align: middle;
}

.table tbody tr:hover {
  background: rgba(59, 125, 221, 0.03);
}

.navbar .nav-link.active {
  color: #1d4ed8 !important;
}

pre {
  max-height: 360px;
  overflow: auto;
}

.license-center-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
}

.license-center-modal.is-open {
  display: block;
}

.license-center-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

.license-center-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 2rem));
  margin: 4rem auto;
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.license-center-modal__dialog--wide {
  width: min(920px, calc(100vw - 2rem));
}

.license-center-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(243, 246, 251, 0.94));
}

.license-center-modal__title {
  margin: 0;
}

.license-center-modal__close {
  border: 0;
  background: transparent;
  color: #60758d;
  font-size: 1.5rem;
  line-height: 1;
}

.license-center-modal__body {
  padding: 1.25rem;
  overflow: auto;
}

.license-center-modal__body--scrollable {
  max-height: calc(100vh - 10rem);
}

.license-center-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.license-history-list {
  display: grid;
  gap: 1rem;
}

.license-history-item {
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), #fff);
}

.license-history-item__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
  .license-center-modal__dialog,
  .license-center-modal__dialog--wide {
    width: calc(100vw - 1rem);
    margin: 1rem auto;
  }

  .license-history-item__header {
    flex-direction: column;
  }
}
