/* Nhất Kiếm GM: shared purple/gold identity, presentation only. */
body.nk-gm-theme {
  color-scheme: dark;
  font-family: Arial, sans-serif;
  color: #e8ddf4;
  background: #160e29;
}
body.nk-gm-theme :is(#app, .main-container, .app-main) {
  background: #160e29;
}
body.nk-gm-theme :is(h1, h2, h3, h4) {
  color: #fff0d0;
}
body.nk-gm-theme #app .sidebar-container {
  background: #1c1034 !important;
  border-right: 1px solid #624181;
}
body.nk-gm-theme #app .sidebar-container :is(.el-menu, .el-submenu__title, .el-menu-item) {
  background: #1c1034 !important;
  color: #d6c2eb !important;
}
body.nk-gm-theme #app .sidebar-container :is(.el-submenu__title, .el-menu-item):hover {
  background: #3c205e !important;
  color: #fff0cf !important;
}
body.nk-gm-theme #app .sidebar-container .el-menu-item.is-active {
  color: #ffe09a !important;
  background: linear-gradient(90deg, #7140a8, #432466) !important;
  box-shadow: inset 3px 0 #ffda78;
}
body.nk-gm-theme #app .sidebar-container :is(i, svg) {
  color: inherit;
}
body.nk-gm-theme :is(.navbar, .tags-view-container) {
  background: #211138;
  border-color: #644780;
  box-shadow: none;
}
body.nk-gm-theme
  :is(
    .hamburger,
    .el-breadcrumb__inner,
    .el-breadcrumb__inner a,
    .el-breadcrumb__item:last-child .el-breadcrumb__inner
  ) {
  color: #ddc9ef;
}
body.nk-gm-theme .gm-finance-link {
  color: #ffe195;
}
body.nk-gm-theme .gm-avatar {
  background: #5d328b;
  color: #ffe195;
}
body.nk-gm-theme .tags-view-container .tags-view-item {
  background: #301a4d;
  color: #d8c4eb;
  border-color: #6f4e8d;
}
body.nk-gm-theme .tags-view-container .tags-view-item.active {
  background: #7240aa;
  color: #ffe399;
  border-color: #aa7cda;
}
body.nk-gm-theme
  :is(
    .gm-shortcut,
    .el-card,
    .el-dialog,
    .el-message-box,
    .el-popover,
    .el-dropdown-menu,
    .el-select-dropdown,
    .el-picker-panel,
    .el-autocomplete-suggestion,
    .tags-view-container .contextmenu
  ) {
  background: #28183f;
  color: #e9ddf4;
  border: 1px solid #8057a4;
  border-radius: 4px;
  box-shadow:
    0 0 0 3px #46245e55,
    0 12px 35px #07021133;
}
body.nk-gm-theme .gm-shortcut {
  background:
    radial-gradient(circle, #ffffff0b 1px, transparent 1.6px) 0 0/9px 9px,
    linear-gradient(135deg, #3f205f, #29163f);
}
body.nk-gm-theme .gm-shortcut:hover {
  border-color: #c08deb;
}
body.nk-gm-theme .gm-shortcut :is(i, strong) {
  color: #ffe195;
}
body.nk-gm-theme
  :is(
    .gm-shortcut span,
    .gm-muted,
    .gm-dashboard > p,
    .gm-item-list small,
    .gm-item-encoded,
    .el-table__empty-text
  ) {
  color: #c5b1d7;
}
body.nk-gm-theme .gm-dashboard h1 {
  border-bottom: 1px solid #785493;
  padding-bottom: 20px;
}
body.nk-gm-theme .gm-note {
  background: #352247;
  color: #ead5f5;
  border-color: #c798ee;
}
body.nk-gm-theme .gm-note a {
  color: #ffe195;
}
body.nk-gm-theme .gm-error {
  color: #ffb0b8;
}
body.nk-gm-theme .filter-container {
  padding: 16px;
  background: #28183f;
  border: 1px solid #69498a;
  border-radius: 4px;
}
body.nk-gm-theme :is(.el-input__inner, .el-textarea__inner, .el-range-editor .el-range-input) {
  background: #1c1031;
  color: #f0e4fb;
  border-color: #8664a7;
}
body.nk-gm-theme :is(.el-input__inner, .el-textarea__inner)::placeholder {
  color: #ad98c0;
}
body.nk-gm-theme :is(.el-input__inner, .el-textarea__inner):focus {
  border-color: #ffda78;
}
body.nk-gm-theme
  :is(.el-input.is-disabled .el-input__inner, .el-textarea.is-disabled .el-textarea__inner) {
  background: #261a35;
  color: #9d8caf;
  border-color: #513d66;
}
body.nk-gm-theme
  :is(
    .el-form-item__label,
    .el-radio,
    .el-checkbox,
    .el-dialog__title,
    .el-message-box__title,
    .el-dialog__body,
    .el-message-box__content
  ) {
  color: #e4d4f0;
}
body.nk-gm-theme
  :is(
    .el-input-number__decrease,
    .el-input-number__increase,
    .el-input-group__append,
    .el-input-group__prepend
  ) {
  color: #d9c5eb;
  background: #3c2359;
  border-color: #8664a7;
}
body.nk-gm-theme .el-button {
  background: #39214f;
  color: #eadbf6;
  border-color: #916ab1;
  border-radius: 3px;
}
body.nk-gm-theme .el-button:hover,
body.nk-gm-theme .el-button:focus {
  background: #573071;
  color: #fff0ce;
  border-color: #c495e8;
}
body.nk-gm-theme .el-button--primary {
  background: linear-gradient(#ffe78b, #f4bc4b);
  color: #2c133a;
  border-color: #ffe194;
  font-weight: 700;
}
body.nk-gm-theme .el-button--primary:hover,
body.nk-gm-theme .el-button--primary:focus {
  background: #ffe08a;
  color: #2c133a;
  border-color: #ffeec2;
}
body.nk-gm-theme .el-button--danger {
  background: #542439;
  color: #ffc0c8;
  border-color: #a45c74;
}
body.nk-gm-theme .el-button--success {
  background: #1b4438;
  color: #b3eed2;
  border-color: #488773;
}
body.nk-gm-theme .el-button--warning {
  background: #4c3822;
  color: #ffe1a1;
  border-color: #a5804d;
}
body.nk-gm-theme .el-button--text {
  background: transparent;
  color: #dfb9ff;
  border-color: transparent;
}
body.nk-gm-theme .el-button.is-disabled,
body.nk-gm-theme .el-button.is-disabled:hover {
  opacity: 0.45;
  cursor: not-allowed;
}
body.nk-gm-theme :is(button, a, input, textarea, select):focus-visible {
  outline: 2px solid #ffda78;
  outline-offset: 2px;
}
body.nk-gm-theme
  :is(.el-table, .el-table tr, .el-table td, .el-table th, .el-table__expanded-cell) {
  background: #28183f;
  color: #e8ddf4;
  border-color: #624581;
}
body.nk-gm-theme .el-table th {
  background: #36204e;
  color: #ebd2a3;
}
body.nk-gm-theme :is(.el-table--border, .el-table--group) {
  border-color: #624581;
}
body.nk-gm-theme
  :is(
    .el-table::before,
    .el-table--border::after,
    .el-table--group::after,
    .el-table__fixed-right::before,
    .el-table__fixed::before
  ) {
  background: #624581;
}
body.nk-gm-theme .el-table--striped .el-table__body tr.el-table__row--striped td {
  background: #2e1b46;
}
body.nk-gm-theme .el-table__body tr:hover > td,
body.nk-gm-theme .el-table__body tr.hover-row > td,
body.nk-gm-theme .el-table__body tr.current-row > td {
  background: #45265e !important;
}
body.nk-gm-theme :is(.el-card__header, .el-dialog__header, .el-message-box__header) {
  border-bottom: 1px solid #725093;
}
body.nk-gm-theme :is(.el-dialog__close, .el-message-box__close) {
  color: #ddc5f2;
}
body.nk-gm-theme
  :is(
    .el-select-dropdown__item,
    .el-dropdown-menu__item,
    .el-picker-panel__icon-btn,
    .el-date-picker__header-label,
    .el-date-table th,
    .el-pagination,
    .el-pagination__total,
    .el-pagination__jump,
    .el-range-editor .el-range-separator
  ) {
  color: #ddcbed;
}
body.nk-gm-theme
  :is(
    .el-select-dropdown__item.hover,
    .el-select-dropdown__item:hover,
    .el-dropdown-menu__item:hover,
    .el-dropdown-menu__item:focus
  ) {
  background: #512b73;
  color: #fff0ce;
}
body.nk-gm-theme .el-select-dropdown__item.selected {
  color: #ffe09a;
  background: #492567;
}
body.nk-gm-theme :is(.el-select-dropdown__item.is-disabled, .el-dropdown-menu__item.is-disabled) {
  color: #8c7b9c;
}
body.nk-gm-theme
  :is(
    .el-picker-panel__footer,
    .el-picker-panel__sidebar,
    .el-date-range-picker__time-header,
    .el-date-picker__time-header,
    .el-time-panel,
    .el-time-panel__footer
  ) {
  background: #28183f;
  border-color: #725093;
  color: #ddcbed;
}
body.nk-gm-theme :is(.el-picker-panel__shortcut, .el-time-spinner__item, .el-time-panel__btn) {
  color: #ddcbed;
}
body.nk-gm-theme .el-time-spinner__item:hover:not(.disabled):not(.active) {
  background: #513071;
}
body.nk-gm-theme .el-date-table td.available:hover,
body.nk-gm-theme .el-date-table td.today span {
  color: #ffe08e;
}
body.nk-gm-theme .el-date-table td.current:not(.disabled) span {
  background: #7340a7;
  color: #fff0ce;
}
body.nk-gm-theme .el-date-table td.in-range div {
  background: #513071;
}
body.nk-gm-theme .el-date-table td.disabled div {
  background: #20152d;
  color: #82728f;
}
body.nk-gm-theme
  :is(
    .el-pager li,
    .el-pagination button,
    .el-pagination.is-background .btn-prev,
    .el-pagination.is-background .btn-next,
    .el-pagination.is-background .el-pager li
  ) {
  background: #35204e;
  color: #d8c4eb;
}
body.nk-gm-theme .el-pagination.is-background .el-pager li:not(.disabled).active {
  background: #7844af;
  color: #ffe395;
}
body.nk-gm-theme .el-pagination button:disabled {
  color: #857092;
  opacity: 0.6;
}
body.nk-gm-theme :is(.el-tag, .el-checkbox__inner, .el-radio__inner) {
  background: #3b2156;
  color: #e7d0fa;
  border-color: #9464bc;
}
body.nk-gm-theme .el-tag--success {
  background: #193f33;
  color: #a3e5c3;
  border-color: #4f8970;
}
body.nk-gm-theme .el-tag--warning {
  background: #49371f;
  color: #f7d798;
  border-color: #9e7a40;
}
body.nk-gm-theme .el-tag--danger {
  background: #4e2238;
  color: #ffb8c6;
  border-color: #a05a74;
}
body.nk-gm-theme
  :is(
    .el-checkbox__input.is-checked .el-checkbox__inner,
    .el-checkbox__input.is-indeterminate .el-checkbox__inner,
    .el-radio__input.is-checked .el-radio__inner,
    .el-switch.is-checked .el-switch__core
  ) {
  background: #874fb8;
  border-color: #bc83e4;
}
body.nk-gm-theme
  :is(
    .el-checkbox__input.is-checked + .el-checkbox__label,
    .el-radio__input.is-checked + .el-radio__label,
    .el-tabs__item.is-active
  ) {
  color: #ffe195;
}
body.nk-gm-theme .el-tabs__item {
  color: #c7b1dc;
}
body.nk-gm-theme .el-tabs__active-bar {
  background: #ffda78;
}
body.nk-gm-theme .el-tabs__nav-wrap::after {
  background: #654780;
}
body.nk-gm-theme .el-tabs--border-card {
  background: #28183f;
  border-color: #654780;
}
body.nk-gm-theme .el-tabs--border-card > .el-tabs__header {
  background: #201332;
  border-color: #654780;
}
body.nk-gm-theme .el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  background: #432461;
  border-color: #654780;
  color: #ffda78;
}
body.nk-gm-theme .el-alert--info {
  background: #36244c;
  color: #dbc9ec;
}
body.nk-gm-theme .el-alert--warning {
  background: #49381f;
  color: #f6dca2;
}
body.nk-gm-theme .el-alert--error,
body.nk-gm-theme .el-message--error {
  background: #4c2337;
  border-color: #a05a74;
  color: #ffc1ca;
}
body.nk-gm-theme .el-alert--success,
body.nk-gm-theme .el-message--success {
  background: #1b4236;
  border-color: #4f8970;
  color: #b1e9cb;
}
body.nk-gm-theme .el-message .el-message__content {
  color: inherit;
}
body.nk-gm-theme .el-loading-mask {
  background: #1d1135d9;
}
body.nk-gm-theme .el-loading-spinner .path {
  stroke: #ffda78;
}
body.nk-gm-theme .el-loading-spinner .el-loading-text {
  color: #ffda78;
}
body.nk-gm-theme .gm-item-list li {
  border-color: #61477d;
}
body.nk-gm-theme .login-container {
  background:
    linear-gradient(90deg, #160a2de0, #251042db),
    url("https://nhatkiemchimai.com/assets/hero-swordswoman.webp") center/cover;
  overflow-y: auto;
  display: grid;
  place-items: center;
}
body.nk-gm-theme .login-container .login-form {
  position: relative;
  width: 470px;
  max-width: calc(100% - 40px);
  margin: 45px auto;
  padding: 40px 34px 30px !important;
  border: 2px solid #9363ce;
  border-radius: 0;
  background:
    radial-gradient(circle, #ffffff0c 1px, transparent 1.6px) 0 0/9px 9px,
    linear-gradient(145deg, #2e155d, #49217d);
  box-shadow:
    0 0 0 5px #3e2166,
    0 0 0 7px #b58bdd66;
}
body.nk-gm-theme .login-container .login-form::before {
  content: "";
  display: block;
  height: 100px;
  background: url("https://nhatkiemchimai.com/assets/logo-chi-mai.webp") center/contain no-repeat;
  margin-bottom: 22px;
}
body.nk-gm-theme .login-container .title-container .title {
  color: #fff0ce;
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 28px;
}
body.nk-gm-theme .login-container .el-form-item {
  background: #1d0f37;
  border: 1px solid #926bb4;
  border-radius: 3px;
}
body.nk-gm-theme .login-container .el-input input {
  background: transparent;
  color: #f0e4fb;
  -webkit-text-fill-color: #f0e4fb;
  border: none;
}
body.nk-gm-theme .login-container :is(.svg-container, .show-pwd) {
  color: #c1a5da;
}
body.nk-gm-theme .login-container .el-button--primary {
  min-height: 46px;
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  font-weight: 700;
}
body.nk-gm-theme .v-modal {
  background: #080312;
}
@media (max-width: 767px) {
  body.nk-gm-theme .login-container .login-form {
    padding: 28px 22px !important;
  }
  body.nk-gm-theme .gm-dashboard h1 {
    font-size: 24px;
  }
  body.nk-gm-theme .filter-container {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.nk-gm-theme * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Grid children must be allowed to shrink below their intrinsic form width. */
body.nk-gm-theme .login-container {
  grid-template-columns: minmax(0, 1fr);
}
body.nk-gm-theme .login-container .login-form {
  width: min(470px, calc(100vw - 40px)) !important;
  max-width: 100%;
  min-width: 0;
  justify-self: center;
}
body.nk-gm-theme .login-container .tips,
body.nk-gm-theme .login-container p {
  white-space: normal;
  overflow-wrap: anywhere;
}
/* Vue-scoped legacy rules have attribute specificity; retain theme across tab states. */
body.nk-gm-theme #app .tags-view-container .tags-view-item {
  background: #301a4d;
  color: #d8c4eb;
  border-color: #6f4e8d;
}
body.nk-gm-theme #app .tags-view-container .tags-view-item.active {
  background: #7240aa;
  color: #ffe399;
  border-color: #aa7cda;
}
body.nk-gm-theme #app .navbar .hamburger {
  fill: #e4ccef;
}
body.nk-gm-theme #app .navbar .svg-icon {
  color: #d7bfe9;
}
