:root {
  --bg: #0f1115;
  --panel: #171a22;
  --panel-2: #1e222b;
  --text: #e6eaf2;
  --muted: #9aa3b2;

  --primary: #4f67ff;
  --primary-2: #4153d9;
  --danger: #ef4444;
  --danger-2: #dc2626;
  --success: #10b981;
  --warning: #f59e0b;

  --border: #2a2f3a;
  --frame: rgba(255, 255, 255, .05);
  --radius: 18px;
  --shadow: 0 0 16px rgba(15, 23, 42, .35), 0 18px 55px rgba(2, 6, 23, .85);
  --table-shadow: 0 0 18px rgba(15, 23, 42, .32), 0 22px 70px rgba(2, 6, 23, .88);
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, .18);
  --focus: 0 0 0 3px rgba(79, 103, 255, .35);
  --app-bg: linear-gradient(180deg, #0e1116, #0b0d11 60%, #090b0f);

  --input-bg: #0f131a;
  --thead-from: #1a1f27;
  --thead-to: #171b23;
  --thead-text: #cfd7e6;
  --row-hover: #141923;
  --row-alt: #131821;
  --header-bg: #0f1115;
  --alert-bg: rgba(239, 68, 68, .12);
  --alert-border: rgba(239, 68, 68, .35);
  --alert-text: #fecaca;

  --scroll-thumb: rgba(120, 120, 120, .65);
  --scroll-track: rgba(0, 0, 0, .08);
  --page-bottom-gap: 24px;
}

[data-theme="dark"] {
  --scroll-thumb: rgba(180, 180, 180, .7);
  --scroll-track: rgba(255, 255, 255, .1);
}

* {
  box-sizing: border-box
}

html {
  min-height: 100%;
  background: var(--app-bg)
}

body {
  margin: 0;
  min-height: 97svh;
  background: transparent;
  color: var(--text);
  font-family: Calibri, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 97svh;
  padding-bottom: var(--page-bottom-gap);
}

.container.login-center {
  max-width: 720px
}

.container-center {
  max-width: 1280px;
  margin: 30px auto;
  padding: 22px
}

.centered {
  width: min(720px, 100%);
  margin: 0 auto
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card,
.table-wrap {
  border-color: var(--frame);
}


.card.table-page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0
}

.card .title {
  margin: 6px 0 14px;
  font-size: 19px;
  font-weight: 700
}

header.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  margin: -22px -22px 22px;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  overflow: hidden;
  color: #fff;
}

header.top .who {
  font-size: 19px
}

header.top .logo {
  justify-self: center
}

header.top .logo img {
  max-height: 79px;
  height: auto;
  width: auto
}

.top .main-nav {
  justify-self: end;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 52vw;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

header.top a,
header.top button,
header.top .btn {
  color: inherit
}

header.top svg {
  stroke: currentColor;
  fill: currentColor
}

.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: -6px 0 14px
}

.pager {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.pager .page-size {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px
}

.pager .goto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px
}

.alert {
  background: var(--alert-bg);
  border: 1px solid var(--alert-border);
  color: var(--alert-text);
  padding: 12px 14px;
  border-radius: 12px;
  margin: 10px 0 18px;
}

.notice {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  transition: .18s ease all;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05)
}

.btn:active {
  transform: translateY(0)
}

.btn.primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  border-color: transparent;
  color: #fff
}

.btn.danger {
  background: linear-gradient(180deg, var(--danger), var(--danger-2));
  border-color: transparent;
  color: #fff
}

.btn.ghost {
  background: transparent;
  border-color: var(--border)
}

.btn.edit {
  background: linear-gradient(180deg, #34d399, #10b981);
  border-color: transparent;
  color: #fff
}

.btn.w100 {
  width: 100%
}

.btn.pill {
  border-radius: 9999px
}

.btn.sm {
  height: 28px;
  padding: 0 10px;
  font-size: 13px
}

.btn.slim {
  height: 32px;
  padding: 0 10px;
  border-radius: 10px
}

.btn.tiny {
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
  border-radius: 9999px;
  box-shadow: none;
}

.pager .btn {
  height: 32px;
  border-radius: 9999px
}

.form {
  display: grid;
  gap: 12px
}

.row {
  display: grid;
  gap: 8px
}

.row label {
  font-size: 13px;
  color: var(--muted)
}

input:not([type]),
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
  outline: none;
  transition: border-color .18s, box-shadow .18s, transform .12s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), var(--shadow-soft);
}

textarea {
  min-height: 120px;
  padding: 10px 12px;
  line-height: 1.45;
  resize: vertical
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(79, 103, 255, .55)
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--focus), inset 0 1px 0 rgba(255, 255, 255, .06)
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px
}

.form-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(220px, 1fr))
}

.find-form input[type="text"] {
  height: 44px;
  border-radius: 9999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 20px rgba(0, 0, 0, .06);
}

.find-form .row label {
  font-size: 15px
}

.find-form .row label>input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 6px
}

.date-combo {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 8px;
  align-items: center;
}

.date-combo input[type="date"] {
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text)
}

.table-wrap {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--table-shadow);
  overflow: auto;
  flex: 0 0 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

.card.table-page .table-wrap {
  flex: 1 1 auto
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel)
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--thead-from), var(--thead-to));
  font-weight: 700;
  color: var(--thead-text);
}

tbody tr:hover {
  background: var(--row-hover)
}

tbody tr:nth-child(even) {
  background: var(--row-alt)
}

td .btn {
  height: 30px;
  padding: 0 10px
}

.table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px
}

.table-wrap::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: 8px
}

.table-wrap::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.table-wrap::-webkit-scrollbar-corner {
  background: transparent
}

body.auth-guest {
  min-height: 97svh
}

.auth-guest .login-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 22px
}

.login-card .title {
  margin: 6px 0 18px
}

.login-card .row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px
}

.login-card input[type="text"],
.login-card input[type="password"] {
  height: 44px;
  padding: 0 14px
}

.pwd {
  display: flex;
  align-items: center;
  gap: 6px
}

.pwd input {
  flex: 1
}

.pwd .eye {
  border: 1px solid var(--border);
  background: var(--input-bg);
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer
}

.login-card .pwd .eye {
  height: 44px;
  width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px
}

.login-card .btn[type="submit"] {
  height: 44px;
  margin-top: 16px;
  font-weight: 600
}

.pick-table {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px
}

.pick-table select {
  min-width: 260px
}

.center {
  text-align: center
}

.hidden {
  display: none
}

.muted {
  color: var(--muted)
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 16px 0
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.card+.card {
  margin-top: 18px
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px
}

.btn-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.ml8 {
  margin-left: 8px
}

.inline {
  display: inline
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 8px
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace
}

.pwd-mask {
  letter-spacing: .8px
}

.col-func {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  width: 24px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
  transition: .18s ease all;
  line-height: 0;
}

.icon-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08)
}

.icon-btn:active {
  transform: translateY(0)
}

.icon-btn .ico {
  width: 16px;
  height: 16px;
  display: block
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 99
}

.overlay.open {
  display: flex
}

.modal {
  width: 100%;
  max-width: 520px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}

.modal-title {
  margin: 0 0 10px;
  font-size: 18px
}

.modal-body {
  color: var(--text)
}

.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px
}

.input-copy {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text)
}

.big-pwd {
  font-size: 16px
}

.hidden-input {
  display: none
}

.dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  margin: 12px 0;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  transition: .18s ease all;
  box-shadow: var(--shadow-soft);
}

.dropzone:hover {
  filter: brightness(1.03)
}

.dropzone.drag {
  border-color: var(--primary);
  box-shadow: var(--focus);
  color: var(--text)
}

.dropzone.error {
  border-color: var(--danger);
  background: rgba(239, 68, 68, .08);
  color: var(--alert-text)
}

.dropzone:focus {
  outline: none;
  box-shadow: var(--focus);
  border-color: var(--primary)
}

html[data-theme="light"] {
  --panel: #fff;
  --panel-2: #f3f4f6;
  --text: #0f172a;
  --muted: #475569;
  --border: #e5e7eb;
  --frame: rgba(15, 23, 42, .07);
  --shadow: 0 0 14px rgba(15, 23, 42, .10), 0 16px 50px rgba(15, 23, 42, .16);
  --table-shadow: 0 0 14px rgba(15, 23, 42, .08), 0 18px 55px rgba(15, 23, 42, .14);
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, .06);
  --focus: 0 0 0 3px rgba(65, 83, 217, .25);
  --app-bg: linear-gradient(180deg, #f8fbff, #f3f6fb 60%, #eef2f7);
  --input-bg: #fff;
  --thead-from: #f9fafb;
  --thead-to: #f3f4f6;
  --thead-text: #0f172a;
  --row-hover: #f6f7fb;
  --row-alt: #fbfcfe;
  --header-bg: #1e70b7;
  --alert-bg: #fff1f2;
  --alert-border: #fecaca;
  --alert-text: #b91c1c;
}

html[data-theme="light"] body {
  background: transparent
}

html[data-theme="light"] thead th {
  background: linear-gradient(180deg, #f7f8fb, #f1f3f7);
  color: #0f172a
}

html[data-theme="light"] .icon-btn {
  background: #f3f4f6;
  color: #0f172a;
  border-color: #e5e7eb
}

@media (min-width:1025px) {
  header.top {
    padding: 12px 22px;
    margin: -22px -22px 22px
  }

  .container {
    padding: 22px
  }

  .btn {
    height: 36px;
    padding: 0 14px
  }

  .date-combo input[type="date"] {
    height: 38px
  }
}

@media (max-width:1024px) {
  .top .main-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: end;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
  }

  header.top {
    padding: 10px 16px;
    margin: -18px -18px 18px
  }

  header.top .logo img {
    max-height: 60px
  }

  .card {
    padding: 16px
  }

  .btn {
    height: 36px;
    padding: 0 12px
  }

  th,
  td {
    padding: 9px 10px
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr))
  }

  .pager {
    gap: 8px
  }

  .pager .goto input[type="number"] {
    height: 32px;
    width: 72px;
    padding: 0 8px
  }

  .pager .page-size select {
    height: 32px
  }

  .dropzone {
    min-height: 130px
  }
}

@media (max-width:640px) {
  :root {
    --radius: 12px
  }

  .container {
    padding: 14px
  }

  header.top {
    grid-template-columns: 1fr;
    row-gap: 8px;
    padding: 8px 12px;
    margin: -14px -14px 14px;
  }

  header.top .logo {
    order: 1;
    justify-self: center
  }

  header.top .who {
    order: 2;
    justify-self: center;
    text-align: center
  }

  .top .main-nav {
    order: 3;
    justify-self: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  header.top .logo img {
    max-height: 48px
  }

  .card {
    padding: 14px
  }

  .toolbar {
    gap: 6px;
    flex-wrap: wrap
  }

  .btn {
    height: 34px;
    padding: 0 10px;
    border-radius: 10px
  }

  table {
    font-size: 13px
  }

  th,
  td {
    padding: 8px 9px;
    white-space: nowrap
  }

  .table-wrap {
    border-radius: 10px
  }

  .form {
    gap: 10px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  input:not([type]),
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    height: 44px;
    padding: 0 12px;
    font-size: 15px
  }

  input[type="radio"],
  input[type="checkbox"] {
    width: 18px;
    height: 18px
  }

  .pager {
    gap: 6px
  }

  .pager .btn {
    height: 32px
  }

  .pager .page-size label {
    display: none
  }

  .pager .page-size select {
    height: 32px
  }

  .pager .goto {
    gap: 4px
  }

  .pager .goto input[type="number"] {
    width: 64px;
    height: 32px;
    padding: 0 8px
  }

  .pick-table {
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center
  }

  .pick-table select {
    min-width: 0;
    width: clamp(170px, 58vw, 230px)
  }

  .pick-table .btn {
    flex: 0 0 auto
  }

  .dropzone {
    min-height: 140px
  }

  .date-combo input[type="date"] {
    height: 44px
  }
}

@media (max-width:360px) {
  .btn {
    height: 32px;
    padding: 0 8px
  }

  .pager .goto input[type="number"] {
    width: 56px
  }

  th,
  td {
    padding: 7px 8px
  }
}

html[data-theme="light"] header.top .btn.ghost {
  border-color: rgba(255, 255, 255, .35);
}

html[data-theme="light"] header.top .icon-btn {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

html:not([data-theme="light"]) header.top {
  border-bottom-color: rgba(30, 64, 175, .45);
  box-shadow:
    var(--shadow), 0 0 24px rgba(30, 64, 175, .14);
}


html:not([data-theme="light"]) .table-wrap,
html:not([data-theme="light"]) .vd-table-scroll,
html:not([data-theme="light"]) .hn-days-table-wrap,
html:not([data-theme="light"]) .cw-table-wrap,
html:not([data-theme="light"]) .bt-table-wrap,
html:not([data-theme="light"]) .vd-month-table-wrap,
html:not([data-theme="light"]) .rl-table-wrap,
html:not([data-theme="light"]) .log-wrap {
  box-shadow: var(--table-shadow), 0 0 22px rgba(30, 64, 175, .10);
}

html:not([data-theme="light"]) .table-wrap table,
html:not([data-theme="light"]) .vd-table-scroll table,
html:not([data-theme="light"]) .hn-days-table-wrap table,
html:not([data-theme="light"]) .cw-table-wrap table,
html:not([data-theme="light"]) .bt-table-wrap table,
html:not([data-theme="light"]) .vd-month-table-wrap table,
html:not([data-theme="light"]) .rl-table-wrap table,
html:not([data-theme="light"]) .log-wrap table {
  box-shadow: none;
}

:root {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

.ua-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 260px;
}

.ua-cell {
  display: block;
  line-height: 1.4;
  white-space: normal;
  overflow: hidden;
}

.ua-cell.is-collapsed {
  max-height: 2.0em;
}

.ua-cell.is-expanded {
  max-height: none;
}

.btn.chip {
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
  border-radius: 9999px;
  box-shadow: none;
}

.find-form .btn.chip {
  box-shadow: none;
}

.rl-filter-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  grid-template-rows: auto auto;
  gap: 6px 8px;
  align-items: end;
}

.rl-filter-row label {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin: 0;
}

.rl-filter-row input[type="text"],
.rl-filter-row input {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
}

.rl-filter-row .btn {
  grid-row: 2;
  min-width: 0;
}

.rl-filter-row>button {
  grid-column: 2;
}

.rl-filter-row>a {
  grid-column: 3;
}

.btn.tiny {
  height: 30px;
  padding: 0 8px;
  font-size: 12px;
  border-radius: 9999px;
  box-shadow: none;
}

.card.log-page {
  width: 100%;
  max-width: 100%;
}

.log-page .log-wrap {
  overflow: auto;
}

.log-page .log-table-license {
  table-layout: fixed;
}

.log-page .log-table-license th:nth-child(1),
.log-page .log-table-license td:nth-child(1) {
  width: 12%;
}

.log-page .log-table-license th:nth-child(2),
.log-page .log-table-license td:nth-child(2) {
  width: 18%;
}

.log-page .log-table-license th:nth-child(3),
.log-page .log-table-license td:nth-child(3) {
  width: 20%;
}

.log-page .log-table-license th:nth-child(4),
.log-page .log-table-license td:nth-child(4) {
  width: 35%;
  max-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-page .log-table-license th:nth-child(5),
.log-page .log-table-license td:nth-child(5) {
  width: 15%;
  text-align: center;
  white-space: nowrap;
}

.log-page .log-table-web {
  table-layout: fixed;
}

.log-page .log-table-web th:nth-child(1),
.log-page .log-table-web td:nth-child(1) {
  width: 20%;
}

.log-page .log-table-web th:nth-child(2),
.log-page .log-table-web td:nth-child(2) {
  width: 60%;
  max-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-page .log-table-web th:nth-child(3),
.log-page .log-table-web td:nth-child(3) {
  width: 20%;
  text-align: center;
  white-space: nowrap;
}

.alert.success {
  background: #e0f7e9;
  color: #166534;
}

.log-wrap {
  overflow-x: hidden;
}

.log-table {
  width: 100%;
  table-layout: fixed;
}

.log-table-license th,
.log-table-license td {
  font-size: 13px;
}

.log-table-license th:nth-child(1),
.log-table-license td:nth-child(1) {
  width: 70px;
}

.log-table-license th:nth-child(2),
.log-table-license td:nth-child(2) {
  width: 150px;
}

.log-table-license th:nth-child(3),
.log-table-license td:nth-child(3) {
  width: 140px;
}

.log-table-license th:nth-child(4),
.log-table-license td:nth-child(4) {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log-table-license th:nth-child(5),
.log-table-license td:nth-child(5) {
  width: 170px;
}

.log-table-license th:nth-child(6),
.log-table-license td:nth-child(6) {
  width: 80px;
  text-align: center;
  white-space: nowrap;
}

input[type="date"],
input[type="month"],
input[type="datetime-local"] {
  padding-right: 40px;
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E6EAF2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<rect x='3' y='4' width='18' height='18' rx='3' ry='3'/>\
<line x1='16' y1='2' x2='16' y2='6'/>\
<line x1='8' y1='2' x2='8' y2='6'/>\
<line x1='3' y1='10' x2='21' y2='10'/>\
</svg>");
}

html[data-theme="light"] input[type="date"],
html[data-theme="light"] input[type="month"],
html[data-theme="light"] input[type="datetime-local"] {
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<rect x='3' y='4' width='18' height='18' rx='3' ry='3'/>\
<line x1='16' y1='2' x2='16' y2='6'/>\
<line x1='8' y1='2' x2='8' y2='6'/>\
<line x1='3' y1='10' x2='21' y2='10'/>\
</svg>");
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 36px;
  height: 100%;
  margin-right: 4px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}

.date-combo input[type="date"] {
  height: 38px;
  padding-right: 40px;
}

@media (max-width: 640px) {
  .auth-guest .login-screen {
    padding: 14px;
  }

  .login-card {
    padding: 18px;
  }
}