:root {
  --win-gray: #d4d0c8;
  --win-gray-dark: #808080;
  --win-gray-darker: #404040;
  --win2k-blue: #3a6ea5;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: none;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  font-family: "Tahoma", "MS Sans Serif", sans-serif;
  font-size: 11px;
  color: #000;
  background: #000;
  color-scheme: light;
}

button,
input,
.win-push {
  color: #000;
  color-scheme: only light;
  forced-color-adjust: none;
}

.win-push,
.win-push.primary,
.win-push:hover,
.win-push:focus,
.win-push:active,
a.win-push {
  appearance: none;
  -webkit-appearance: none;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  background-color: #d4d0c8;
  background-image: none;
}

.logon {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
}

.logon-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, #5b8ec4 0%, var(--win2k-blue) 48%, #1e3f66 100%);
}

.logon-dialog,
.logon-footer {
  position: relative;
  z-index: 1;
}

.logon-dialog {
  width: min(420px, 100%);
  background: var(--win-gray);
  border: 2px outset #fff;
  border-right-color: var(--win-gray-darker);
  border-bottom-color: var(--win-gray-darker);
}

.logon-titlebar {
  background: linear-gradient(90deg, #0a246a, #a6caf0);
  color: #fff;
  font-weight: 700;
  padding: 3px 5px;
}

.logon-content {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 12px 12px;
}

.logon-icon {
  padding-top: 2px;
}

.keys {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #000080;
  border: 2px inset #fff;
  border-top-color: var(--win-gray-darker);
  border-left-color: var(--win-gray-darker);
  color: #fff;
}

.key-z {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.logon-help {
  margin: 0 0 10px;
  line-height: 1.4;
}

.logon-error {
  margin: 0 0 10px;
  padding: 5px 6px;
  background: #fff;
  border: 2px inset #fff;
  border-top-color: var(--win-gray-darker);
  border-left-color: var(--win-gray-darker);
  color: #800000;
  font-weight: 700;
}

.row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.row input {
  min-height: 21px;
  padding: 1px 3px;
  font: inherit;
  border: 2px inset #fff;
  border-top-color: var(--win-gray-darker);
  border-left-color: var(--win-gray-darker);
  background: #fff;
}

.logon-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.win-push {
  min-width: 75px;
  min-height: 23px;
  padding: 2px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--win-gray);
  border: 2px outset #fff;
  border-right-color: var(--win-gray-darker);
  border-bottom-color: var(--win-gray-darker);
  text-decoration: none;
  font: inherit;
  cursor: default;
}

.win-push.primary {
  font-weight: 700;
  outline: 1px dotted #000;
  outline-offset: -5px;
}

.win-push:active {
  border-style: inset;
}

.win-push:disabled {
  color: #808080;
}

.logon-tip {
  margin: 12px 0 0;
  color: #404040;
  line-height: 1.35;
}

.logon-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  background: var(--win-gray);
  border-top: 2px outset #fff;
}

@media (max-width: 480px) {
  .logon-content {
    grid-template-columns: 1fr;
  }
}
