:root {
  color-scheme: light;
  --brand-blue: #0072c6;
  --frame-cyan: #64cbea;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: #f8f8f8;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.stage {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.owa {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 5px 5px;
  overflow: hidden;
  flex-wrap: nowrap;
  background: var(--frame-cyan);
}

.left-panel,
.right-panel {
  position: relative;
  height: 100%;
  min-width: 0;
}

.left-panel {
  flex: 0 0 36.27%;
  max-width: 36.27%;
  background: var(--brand-blue);
}

.right-panel {
  flex: 1 1 auto;
  background: linear-gradient(to bottom, #f8f8f8 0%, #fcfcfc 42%, #f5f6f5 100%);
}

.owa img {
  display: block;
  max-width: none;
  user-select: none;
}

.logo-white {
  position: absolute;
  left: 32.7%;
  top: 30.9%;
  width: 44.8%;
  height: auto;
}

.logo-color {
  position: absolute;
  left: 50%;
  top: 25.4%;
  width: 55.1%;
  height: auto;
  transform: translateX(-50%);
}

.login-panel {
  position: absolute;
  inset: 0;
  font-size: 9px;
}

.label {
  position: absolute;
  left: 22.5%;
  margin: 0;
  padding: 0;
  color: #767676;
  font-size: 9px;
  font-weight: 400;
  line-height: 11px;
  white-space: nowrap;
}

.username-label {
  top: 42.35%;
}

.password-label {
  top: 52.34%;
}

.mock-input {
  position: absolute;
  left: 22.5%;
  width: 44.6%;
  height: 20px;
  margin: 0;
  padding: 0 3px;
  border: 1px solid #b9bbbc;
  border-radius: 0;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-size: 12px;
  line-height: 18px;
  appearance: none;
}

input.mock-input:focus-visible {
  border-color: #777;
  outline: 1px solid var(--brand-blue);
  outline-offset: 0;
}

.username-input {
  top: 44.25%;
}

.password-input {
  top: 54.48%;
}

.signin {
  position: absolute;
  left: 22.6%;
  top: 66.3%;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  font-family: inherit;
  font-size: 14px;
  line-height: 16px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
}

.signin:focus-visible {
  outline: 1px solid var(--brand-blue);
  outline-offset: 2px;
}

.signin-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

@media (max-width: 400px) {
  .owa {
    padding-right: 3px;
    padding-left: 3px;
  }

  .left-panel {
    flex-basis: 36.27%;
    max-width: 36.27%;
  }

  .label {
    font-size: 8px;
  }

  .mock-input {
    height: 18px;
  }

  .signin {
    font-size: 12px;
  }
}
/* Additional fields */
.subject-label {
  top: 62.5%;
}

.subject-input {
  top: 64.4%;
}

.body-label {
  top: 70.0%;
}

.body-input {
  top: 71.9%;
  height: 48px;
  resize: none;
  padding: 3px;
  font-size: 12px;
  line-height: 16px;
}

/* Move the button down to make room */
.signin {
  top: 82.5%;
}

#notification-status:not(:empty) {
  position: absolute;
  left: 22.5%;
  top: 90%;
  color: #555;
  font-size: 11px;
  white-space: nowrap;
}
