:root {
  --bytehost-ink: #07182f;
  --bytehost-muted: #66758c;
  --bytehost-line: #d9e2ee;
  --bytehost-soft: #f7f9fc;
  --bytehost-blue: #0878ff;
  --bytehost-cyan: #00bfe9;
  --bytehost-violet: #7167f5;
}

body {
  letter-spacing: 0;
}

a {
  color: #075fc7;
}

.button.mainaction,
.btn-primary {
  border-color: var(--bytehost-blue);
  background: var(--bytehost-blue);
}

.task-login,
.task-login.dark-mode {
  min-width: 0;
  overflow-x: hidden;
  background: #f4f7fb;
  color: var(--bytehost-ink);
}

.task-login #layout,
.task-login #layout-content {
  width: 100%;
  min-width: 0;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: transparent;
}

.task-login #layout-content {
  display: block;
}

.bytehost-login-page {
  display: flex;
  width: 100%;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 14px;
}

.bytehost-login-card {
  width: min(100%, 400px);
  padding: 24px 28px 20px;
  border: 1px solid var(--bytehost-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 24, 47, 0.08);
}

.bytehost-login-header {
  margin-bottom: 20px;
  text-align: center;
}

.bytehost-login-logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto 14px;
}

.bytehost-eyebrow {
  margin: 0 0 6px;
  color: #0066ff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.bytehost-login-header h2 {
  margin: 0;
  color: var(--bytehost-ink);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
}

.bytehost-subtitle {
  margin: 6px 0 0;
  color: var(--bytehost-muted);
  font-size: 11px;
  line-height: 1.5;
}

.task-login #login-form {
  position: static;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  text-align: left;
}

.task-login #login-form table,
.task-login #login-form tbody,
.task-login #login-form tr,
.task-login #login-form td {
  display: block;
  width: 100%;
}

.task-login #login-form tr + tr {
  margin-top: 12px;
}

.task-login #login-form td.title {
  display: block !important;
  padding: 0 0 8px !important;
  color: #526178;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.task-login #login-form td.title label {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-indent: 0;
}

.task-login #login-form td.title label {
  display: block !important;
}

.task-login #login-form td.title label::before {
  display: none;
  content: none;
}

.task-login #login-form td.input {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0;
}

.task-login #login-form tr:nth-child(1) td.input::before,
.task-login #login-form tr:nth-child(2) td.input::before {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 16px;
  display: block;
  width: 18px;
  height: 18px;
  content: '';
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  pointer-events: none;
}

.task-login #login-form tr:nth-child(1) td.input::before {
  background-image: url('../images/mail.svg');
}

.task-login #login-form tr:nth-child(2) td.input::before {
  background-image: url('../images/lock.svg');
}

.task-login #login-form .input-group-prepend {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  width: 46px;
  height: 52px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.task-login #login-form .input-group-text {
  display: flex;
  width: 46px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #68778d;
  font-size: 18px;
}

.task-login #login-form .form-control {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 46px;
  border: 1px solid #cbd5e1;
  border-radius: 15px;
  background: var(--bytehost-soft);
  color: var(--bytehost-ink);
  font-size: 14px;
  line-height: 52px;
  box-shadow: none;
}

.task-login #login-form .form-control::placeholder {
  color: #8190a5;
  opacity: 1;
}

.task-login #login-form .form-control:focus {
  border-color: #0066ff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.bytehost-password-toggle {
  position: absolute;
  z-index: 3;
  top: 4px;
  right: 5px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.bytehost-password-toggle:hover,
.bytehost-password-toggle:focus-visible {
  background: #edf2f8;
  outline: 0;
}

.bytehost-password-toggle img {
  width: 18px;
  height: 18px;
}

.bytehost-password-toggle .password-eye-hide,
.bytehost-password-toggle[aria-pressed="true"] .password-eye-show {
  display: none;
}

.bytehost-password-toggle[aria-pressed="true"] .password-eye-hide {
  display: block;
}

.bytehost-account-actions {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  color: #526178;
  font-size: 12px;
}

.bytehost-account-actions a {
  color: #526178;
  text-decoration: none;
}

.bytehost-account-actions a:hover,
.bytehost-account-actions a:focus-visible {
  color: #005fd8;
  text-decoration: underline;
}

.bytehost-remember {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.bytehost-remember input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #0066ff;
  cursor: pointer;
}

.task-login #login-form .formbuttons {
  margin: 10px 0 0;
}

.task-login #rcmloginsubmit {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(100deg, var(--bytehost-blue) 0%, var(--bytehost-cyan) 60%, var(--bytehost-violet) 100%);
  box-shadow: 0 10px 22px rgba(0, 102, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.task-login #rcmloginsubmit img {
  width: 18px;
  height: 18px;
}

.task-login #rcmloginsubmit:hover,
.task-login #rcmloginsubmit:focus-visible {
  background: linear-gradient(100deg, #006ae8 0%, #00acd2 60%, #6158e0 100%);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.14), 0 12px 24px rgba(0, 102, 255, 0.18);
  outline: 0;
}

.bytehost-mail-trust {
  margin-top: 14px;
  color: #728096;
  text-align: center;
}

.bytehost-encrypted {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}

.bytehost-encrypted i {
  height: 1px;
  background: var(--bytehost-line);
}

.bytehost-encrypted span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.bytehost-encrypted img {
  width: 15px;
  height: 15px;
}

.bytehost-mail-trust p {
  margin: 9px 0 0;
  font-size: 10px;
  line-height: 1.5;
}

.task-login #login-footer:empty {
  display: none;
}

.bytehost-login-footer {
  margin-top: 12px;
  color: #748195;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.task-login .noscriptwarning {
  position: fixed;
  z-index: 10;
  right: 24px;
  bottom: 24px;
  left: 24px;
  margin: 0;
  border-radius: 6px;
}

#layout-menu .popover-header,
#layout-menu .special-buttons a.selected,
#layout-menu .special-buttons a:hover {
  background-color: var(--bytehost-ink);
}

.listing li.selected,
.listing tr.selected td,
.menu.toolbar a:hover,
.menu.toolbar a:focus {
  background-color: #eef5ff;
}

@media (max-width: 460px) {
  .task-login,
  .task-login.dark-mode {
    background: #fff;
  }

  .bytehost-login-page {
    justify-content: flex-start;
    padding: 14px 12px;
  }

  .bytehost-login-card {
    padding: 18px 12px 16px;
    border: 0;
    box-shadow: none;
  }

  .bytehost-account-actions {
    font-size: 12px;
  }
}

@media (max-height: 700px) and (min-width: 461px) {
  .bytehost-login-page {
    justify-content: flex-start;
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
