/**
 * myMAIL Webmail login page
 * All rules are scoped to body.task-login.
 */
body.task-login {
  --icom-accent: #275ea8;
  --icom-accent-hover: #1f4f90;
  --icom-canvas: #eef2f6;
  --icom-surface: #fff;
  --icom-surface-muted: #f5f7fa;
  --icom-border: #dce2e9;
  --icom-text: #172033;
  --icom-text-muted: #667085;
  --icom-focus: rgba(39, 94, 168, .22);
  background: var(--icom-canvas);
  color: var(--icom-text);
}
body.task-login #layout {
  min-height: 100%;
  height: auto;
  overflow: auto;
  background: var(--icom-canvas);
}
body.task-login #layout-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background: var(--icom-canvas);
  text-align: left;
}
body.task-login .icom-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(390px, 1fr);
  width: min(1180px, 100%);
  min-height: min(680px, calc(100vh - 4rem));
  overflow: hidden;
  border: 1px solid var(--icom-border);
  border-radius: 18px;
  background: var(--icom-surface);
  box-shadow: 0 20px 55px rgba(27, 39, 51, .12);
}
body.task-login .icom-login-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--icom-surface);
}
body.task-login .icom-login-inner {
  width: min(100%, 480px);
}
body.task-login .icom-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 3rem;
}
body.task-login #logo {
  position: static;
  display: block;
  width: 48px;
  height: 48px;
  max-height: none;
  margin: 0;
  opacity: 1;
}
body.task-login .icom-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
body.task-login .icom-brand-name {
  color: var(--icom-text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .055em;
}
body.task-login .icom-brand-service {
  margin-top: .28rem;
  color: var(--icom-text-muted);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.task-login .icom-login-card {
  width: 100%;
}
body.task-login .icom-eyebrow {
  margin: 0 0 .75rem;
  color: var(--icom-accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.task-login .icom-login-intro h2,
body.task-login .icom-promo h2 {
  margin: 0;
  color: var(--icom-text);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
}
body.task-login .icom-login-intro > p:last-child {
  max-width: 430px;
  margin: .85rem 0 2rem;
  color: var(--icom-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
body.task-login #login-form {
  position: static;
  top: auto;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.task-login #login-form table,
body.task-login #login-form tbody,
body.task-login #login-form tr,
body.task-login #login-form td {
  display: block;
  width: 100%;
}
body.task-login #login-form tr {
  position: relative;
  margin: 0 0 1.15rem;
}
body.task-login #login-form td.title {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--icom-text-muted);
  pointer-events: none;
}
body.task-login #login-form td.title label {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0;
  overflow: hidden;
  place-items: center;
  font-size: 0;
}
body.task-login #login-form td.title label::before {
  font-family: Icons;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
}
body.task-login #login-form tr:nth-child(1) td.title label::before {
  content: "\f007";
}
body.task-login #login-form tr:nth-child(2) td.title label::before {
  content: "\f023";
}
body.task-login #login-form tr:nth-child(3) td.title label::before {
  content: "\f233";
}
body.task-login #login-form td.input {
  position: relative;
  padding: 0;
}
body.task-login #login-form td.input > .input-group-prepend {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: block;
  width: 48px;
  height: 48px;
  margin: 0;
  pointer-events: none;
}
body.task-login #login-form td.input > .input-group-prepend .input-group-text {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--icom-text-muted);
  place-items: center;
}
body.task-login #login-form td.input > .input-group-prepend .icon::before {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  font-family: Icons;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}
body.task-login #login-form td.input > .input-group-prepend .icon.user::before {
  content: "\f007";
}
body.task-login #login-form td.input > .input-group-prepend .icon.pass::before {
  content: "\f023";
}
body.task-login #login-form td.input > .input-group-prepend .icon.host::before {
  content: "\f015";
}
body.task-login #login-form .form-control,
body.task-login #login-form .custom-select {
  width: 100%;
  min-height: 48px;
  padding: .7rem 3rem;
  padding-right: .85rem;
  border: 1px solid var(--icom-border);
  border-radius: 9px;
  background-color: var(--icom-surface);
  color: var(--icom-text);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.task-login #login-form .icom-password-field .form-control {
  padding-right: 3.25rem;
}
body.task-login #login-form .form-control:-webkit-autofill,
body.task-login #login-form .form-control:-webkit-autofill:hover,
body.task-login #login-form .form-control:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px var(--icom-surface) inset, 0 0 0 3px transparent;
  -webkit-text-fill-color: var(--icom-text);
  caret-color: var(--icom-text);
}
body.task-login .icom-password-toggle {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: .45rem;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--icom-text-muted);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}
body.task-login .icom-password-toggle:hover,
body.task-login .icom-password-toggle:focus {
  background: var(--icom-surface-muted);
  color: var(--icom-accent);
  outline: 0;
}
body.task-login .icom-password-toggle:focus-visible {
  box-shadow: 0 0 0 3px var(--icom-focus);
}
body.task-login .icom-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
body.task-login .icom-password-toggle.is-visible svg {
  opacity: .72;
}
body.task-login #login-form .form-control:hover,
body.task-login #login-form .custom-select:hover {
  border-color: #b7c1cd;
}
body.task-login #login-form .form-control:focus,
body.task-login #login-form .custom-select:focus {
  border-color: var(--icom-accent);
  outline: 0;
  box-shadow: 0 0 0 3px var(--icom-focus);
}
body.task-login #login-form .formbuttons {
  margin: 1.75rem 0 0;
}
body.task-login #rcmloginsubmit {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 1px solid var(--icom-accent);
  border-radius: 9px;
  background: var(--icom-accent);
  color: #fff;
  box-shadow: 0 5px 14px rgba(39, 94, 168, .2);
  font-size: 1rem;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
body.task-login #rcmloginsubmit:hover,
body.task-login #rcmloginsubmit:focus {
  border-color: var(--icom-accent-hover);
  background: var(--icom-accent-hover);
  color: #fff;
}
body.task-login #rcmloginsubmit:focus-visible,
body.task-login #login-form .oauth:focus-visible,
body.task-login .support-link:focus-visible {
  outline: 3px solid var(--icom-focus);
  outline-offset: 3px;
}
body.task-login #rcmloginsubmit:disabled {
  cursor: wait;
  opacity: .72;
}
body.task-login #login-form .oauthlogin {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top-color: var(--icom-border);
}
body.task-login #login-form .oauth {
  width: 100%;
  min-height: 46px;
  border-radius: 9px;
}
body.task-login #login-footer {
  color: var(--icom-text-muted);
  font-size: .85rem;
  line-height: 1.5;
}
body.task-login #login-footer:empty {
  display: none;
}
body.task-login #login-footer > div {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 8px;
  background: var(--icom-surface-muted);
}
body.task-login .icom-security-note {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 1.25rem 0 0;
  color: var(--icom-text-muted);
  font-size: .8rem;
  line-height: 1.5;
}
body.task-login .icom-security-note svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--icom-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
body.task-login .icom-promo {
  display: flex;
  align-items: center;
  padding: clamp(2rem, 3vw, 3.25rem);
  border-left: 1px solid var(--icom-border);
  background: var(--icom-surface-muted);
}
body.task-login .icom-promo-inner {
  width: 100%;
}
body.task-login .icom-promo h2 {
  max-width: 360px;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
}
body.task-login .icom-promo-lead {
  max-width: 380px;
  margin: .8rem 0 1.35rem;
  color: var(--icom-text-muted);
  font-size: .9rem;
  line-height: 1.55;
}
body.task-login .icom-server-settings {
  display: grid;
  gap: .65rem;
}
body.task-login .icom-server-card {
  border: 1px solid var(--icom-border);
  border-radius: 10px;
  background: var(--icom-surface);
  box-shadow: 0 3px 12px rgba(27, 39, 51, .04);
  overflow: hidden;
}
body.task-login .icom-server-card summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
  padding: .75rem 2.25rem .75rem .9rem;
  color: var(--icom-text);
  cursor: pointer;
  list-style: none;
}
body.task-login .icom-server-card summary::-webkit-details-marker {
  display: none;
}
body.task-login .icom-server-card summary::after {
  position: absolute;
  top: 50%;
  right: .9rem;
  content: "+";
  color: var(--icom-accent);
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(-50%);
}
body.task-login .icom-server-card[open] summary::after {
  content: "\2212";
}
body.task-login .icom-server-card summary:hover,
body.task-login .icom-server-card summary:focus-visible {
  background: rgba(39, 94, 168, .055);
  outline: 0;
}
body.task-login .icom-server-card summary > span:first-child,
body.task-login .icom-server-card summary strong,
body.task-login .icom-server-card summary small {
  display: block;
}
body.task-login .icom-server-card summary strong {
  font-size: .9rem;
}
body.task-login .icom-server-card summary small {
  margin-top: .14rem;
  color: var(--icom-text-muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.task-login .icom-server-endpoint {
  color: var(--icom-text-muted);
  font-size: .76rem;
  white-space: nowrap;
}
body.task-login .icom-server-card dl {
  margin: 0;
  padding: .25rem .9rem .85rem;
  border-top: 1px solid var(--icom-border);
}
body.task-login .icom-server-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .48rem;
  font-size: .78rem;
  line-height: 1.35;
}
body.task-login .icom-server-card dt {
  color: var(--icom-text-muted);
  font-weight: 400;
}
body.task-login .icom-server-card dd {
  margin: 0;
  color: var(--icom-text);
  font-weight: 600;
  text-align: right;
}
body.task-login .icom-server-card code {
  padding: 0;
  background: transparent;
  color: var(--icom-text);
  font-size: inherit;
}
body.task-login .icom-server-note {
  margin: 0;
  padding: .65rem .9rem 0;
  border-top: 1px solid var(--icom-border);
  color: var(--icom-text-muted);
  font-size: .75rem;
  line-height: 1.45;
}
body.task-login .icom-server-note + dl {
  border-top: 0;
}
body.task-login #messagestack {
  z-index: 1100;
}
body.task-login .noscriptwarning {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0 auto;
  max-width: 760px;
}
@media screen and (min-width: 901px) {
  body.task-login .icom-login-inner {
    transform: translateY(-24px);
  }
}
@media screen and (max-width: 900px) {
  body.task-login #layout-content {
    padding: 1.25rem;
  }
  body.task-login .icom-login-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 1fr);
    min-height: calc(100vh - 2.5rem);
  }
  body.task-login .icom-login-primary,
  body.task-login .icom-promo {
    padding: 2rem;
  }
}
@media screen and (max-width: 700px) {
  body.task-login #layout-content {
    display: block;
    min-height: 100%;
    padding: 0;
  }
  body.task-login .icom-login-shell {
    display: flex;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex-direction: column;
  }
  body.task-login .icom-login-primary {
    order: 1;
    min-height: 100vh;
    padding: 2.25rem clamp(1.25rem, 7vw, 3rem);
  }
  body.task-login .icom-promo {
    order: 2;
    padding: 2.5rem clamp(1.25rem, 7vw, 3rem);
    border-top: 1px solid var(--icom-border);
    border-left: 0;
  }
  body.task-login .icom-brand {
    margin-bottom: 2.5rem;
  }
}
@media screen and (max-width: 420px) {
  body.task-login .icom-login-primary {
    align-items: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
  }
  body.task-login .icom-brand {
    margin-bottom: 2rem;
  }
  body.task-login #logo {
    width: 44px;
    height: 44px;
  }
  body.task-login .icom-login-intro h2 {
    font-size: 1.7rem;
  }
  body.task-login .icom-login-intro > p:last-child {
    margin-bottom: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.task-login #login-form .form-control,
  body.task-login #login-form .custom-select,
  body.task-login #rcmloginsubmit {
    scroll-behavior: auto;
    transition: none;
  }
}
html.dark-mode body.task-login {
  --icom-accent: #73a7ed;
  --icom-accent-hover: #8bb8f2;
  --icom-canvas: #151a21;
  --icom-surface: #1d232c;
  --icom-surface-muted: #242b35;
  --icom-border: #39424e;
  --icom-text: #f1f4f8;
  --icom-text-muted: #aeb8c5;
  --icom-focus: rgba(115, 167, 237, .3);
}
html.dark-mode body.task-login #logo {
  opacity: 1;
}
html.dark-mode body.task-login #login-form .form-control,
html.dark-mode body.task-login #login-form .custom-select {
  background-color: #171c23;
}
html.dark-mode body.task-login #login-form .form-control:hover,
html.dark-mode body.task-login #login-form .custom-select:hover {
  border-color: #596574;
}
html.dark-mode body.task-login #rcmloginsubmit {
  border-color: #3977c9;
  background: #3977c9;
  color: #fff;
}
html.dark-mode body.task-login #rcmloginsubmit:hover,
html.dark-mode body.task-login #rcmloginsubmit:focus {
  border-color: #4a86d4;
  background: #4a86d4;
}
html.dark-mode body.task-login .icom-server-card summary:hover,
html.dark-mode body.task-login .icom-server-card summary:focus-visible {
  background: rgba(115, 167, 237, .08);
}
