.app-menu .logo-lg,
.logo-topbar .logo-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.app-menu .logo-lg img,
.logo-topbar .logo-lg img,
.app-menu .logo-sm img,
.logo-topbar .logo-sm img {
  height: 32px;
  width: auto;
  max-width: none;
}
.logo-word {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111827;
}
html[data-menu-color="dark"] .app-menu .logo-word,
html[data-menu-color="gradient"] .app-menu .logo-word,
html[data-menu-color="gray"] .app-menu .logo-word,
html[data-menu-color="image"] .app-menu .logo-word {
  color: #fff;
}
html[data-topbar-color="dark"] .logo-topbar .logo-word,
html[data-topbar-color="gradient"] .logo-topbar .logo-word {
  color: #fff;
}
.btn-gradient {
  border-color: transparent;
  color: #fff;
  background-color: #37718e;
  background-image: linear-gradient(to right, #37718e, #5eabd6);
}
.btn-gradient:hover {
  color: #fff;
  background-image: linear-gradient(to bottom left, #29556b, #37718e);
}
.btn-gradient-danger {
  border-color: transparent;
  color: #fff;
  background-color: #c33c54;
  background-image: linear-gradient(to right, #c33c54, #f38ba0);
}
.btn-gradient-danger:hover {
  color: #fff;
  background-image: linear-gradient(to bottom left, #922d3f, #c33c54);
}
.btn-gradient-warning {
  border-color: transparent;
  color: #fff;
  background-color: #bc885c;
  background-image: linear-gradient(to right, #bc885c, #fab57a);
}
.btn-gradient-warning:hover {
  color: #fff;
  background-image: linear-gradient(to bottom left, #8f6846, #bc885c);
}
.btn-gradient-success {
  border-color: transparent;
  color: #fff;
  background-color: #4d7c64;
  background-image: linear-gradient(to right, #4d7c64, #89aa97);
}
.btn-gradient-success:hover {
  color: #fff;
  background-image: linear-gradient(to bottom left, #3a5e4c, #4d7c64);
}
.btn-gradient-violet {
  border-color: transparent;
  color: #fff;
  background-color: #6b5b95;
  background-image: linear-gradient(to right, #6b5b95, #a994d6);
}
.btn-gradient-violet:hover {
  color: #fff;
  background-image: linear-gradient(to bottom left, #514473, #6b5b95);
}
.btn-gradient-cyan {
  border-color: transparent;
  color: #fff;
  background-color: #2f7f8c;
  background-image: linear-gradient(to right, #2f7f8c, #6ec4c8);
}
.btn-gradient-cyan:hover {
  color: #fff;
  background-image: linear-gradient(to bottom left, #215e68, #2f7f8c);
}
.btn-gradient-pink {
  border-color: transparent;
  color: #fff;
  background-color: #b66878;
  background-image: linear-gradient(to right, #b66878, #f38ba0);
}
.btn-gradient-pink:hover {
  color: #fff;
  background-image: linear-gradient(to bottom left, #8d4e5c, #b66878);
}
.nk-status {
  pointer-events: none;
  cursor: default;
}
.nk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}
.nk-tabs .nk-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0.65rem 0.2rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}
.nk-tabs .nk-tab.active {
  color: #37718e;
  border-bottom-color: #37718e;
}
.nk-rule-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  align-items: start;
}
.nk-pair-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.nk-pair-col .btn {
  align-self: flex-start;
}
.nk-country-picker {
  position: relative;
}
.nk-country-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 37px;
  padding: 0 0.85rem;
  border: 1px solid var(--color-default-300, rgba(148, 163, 184, 0.55));
  border-radius: 6px;
  background: var(--color-card, #fff);
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.nk-country-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  max-height: 320px;
  overflow: auto;
  padding: 0.55rem;
  border: 1px solid var(--color-default-300, rgba(148, 163, 184, 0.55));
  border-radius: 12px;
  background: var(--color-card, #fff);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}
.nk-country-menu[hidden] {
  display: none;
}
.nk-asn-add {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}
.nk-country-row form {
  margin: 0;
}
.nk-country-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nk-country-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
  cursor: pointer;
}
.nk-country-row:hover,
.nk-country-row:has(input:checked) {
  background: rgba(55, 113, 142, 0.1);
}
.nk-country-row img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}
.nk-country-row span {
  flex: 1 1 auto;
  min-width: 0;
}
.nk-country-row .nk-pick {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 650;
  color: #37718e;
}
.nk-country-row .nk-pick::before {
  content: "Select";
}
.nk-country-row:has(input:checked) .nk-pick {
  color: #c33c54;
}
.nk-country-row:has(input:checked) .nk-pick::before {
  content: "Deselect";
}
.nk-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nk-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.4rem 0.3rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
}
.nk-flag img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}
.nk-flag form {
  margin: 0;
}
.nk-add-domain {
  width: auto;
  flex: 0 0 auto;
}
.nk-domain-dialog {
  width: min(40rem, calc(100vw - 2rem));
  max-width: 40rem;
  margin: 8vh auto 1.5rem;
}
.nk-topbar-search {
  position: relative;
  width: min(240px, 34vw);
}
.nk-topbar-search .iconify {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}
.nk-topbar-search input {
  width: 100%;
  border-radius: 999px;
  border-color: transparent;
  background: rgba(148, 163, 184, 0.14);
  padding-left: 2.15rem;
}
.nk-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 0;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nk-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.14);
  color: inherit;
  cursor: pointer;
}
.nk-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c33c54;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
.nk-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nk-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.nk-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  background-image: linear-gradient(to right, #37718e, #5eabd6);
}
.nk-notify {
  min-width: 280px;
}
html[data-theme="light"] .nk-theme-moon,
html[data-theme="dark"] .nk-theme-sun {
  display: none;
}
.nk-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.nk-dash-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.nk-dash-row > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}
.nk-dash-row .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
}
.nk-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1rem;
  align-items: start;
}
.nk-split-even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nk-split > *,
.nk-grid-4 > *,
.nk-dash-row > *,
.nk-rule-grid > * {
  min-width: 0;
}
.nk-hello-card {
  overflow: hidden;
}
.nk-hello {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 0;
  padding: 1rem 1.1rem 0.35rem;
}
.nk-hello-copy {
  min-width: 0;
}
.nk-hello-kicker {
  margin: 0;
  color: #8b95a7;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nk-hello-name {
  margin: 0.15rem 0 0;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.nk-hello-art {
  width: 96px;
  flex: 0 0 auto;
}
.nk-hello-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.nk-hello-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: rgba(148, 163, 184, 0.08);
  font-weight: 650;
}
.nk-hello-foot span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
#visitor-map {
  height: 340px;
}
.nk-compare-nums {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.7rem 0 0.55rem;
  font-size: 0.85rem;
}
.nk-compare-bar {
  display: flex;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
}
.nk-compare-bar .is-deny {
  background-image: linear-gradient(to right, #c33c54, #f38ba0);
}
.nk-compare-bar .is-good {
  background-image: linear-gradient(to right, #37718e, #5eabd6);
}
.nk-kicker {
  margin: 0;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nk-stat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.nk-stat-value {
  margin: 0.35rem 0 0.2rem;
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.nk-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #37718e;
  background: rgba(55, 113, 142, 0.12);
}
.nk-stat-icon-danger {
  color: #c33c54;
  background: rgba(195, 60, 84, 0.12);
}
.nk-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem;
}
.nk-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: #64748b;
  font-weight: 600;
}
.nk-subnav a.active {
  color: #1f2937;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.nk-table thead th {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nk-country {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nk-country img,
.nk-lang img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}
.nk-pill {
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 12px;
  line-height: 1.4;
}
.nk-reason {
  max-width: 280px;
  white-space: normal;
}
.nk-rank {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nk-rank li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}
.nk-rank form {
  margin: 0;
}
.nk-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-weight: 650;
}
.nk-rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.nk-rule-box {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.nk-rule-wide {
  grid-column: 1 / -1;
}
.nk-flags-compact {
  max-height: 9rem;
  overflow: auto;
}
.nk-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}
.nk-inline-form input[type="hidden"] {
  display: none;
}
.nk-inline-form .form-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.nk-inline-form .btn {
  justify-self: start;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .nk-grid-4,
  .nk-rule-grid,
  .nk-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .nk-dash-row,
  .nk-rule-pair {
    grid-template-columns: 1fr;
  }
}
