@keyframes widget-loading-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
html,
body {
  margin: 0;
}

html,
body,
.background {
  width: 100%;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("/images/loginBackground.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--display-background-color, var(--primary-utility-color, #fff)) inset;
  -webkit-text-fill-color: var(--secondary-dark-color, #4d4d4d);
}

.background {
  position: fixed;
  z-index: -1;
  background: #333;
  opacity: 0.6;
}

.globalization {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 2;
  gap: 8px;
}
.globalization .select {
  width: 230px;
  height: 34px;
}

.logo {
  margin: 4% auto 20px;
  max-height: 96px;
  max-width: 90%;
}

.content {
  display: flex;
  flex-direction: column;
  margin: 16px auto auto;
  width: min(300px, 90vw);
}
.content * {
  appearance: none;
  text-decoration: none;
  outline: none;
}
.content :not(.control > *) {
  width: 100%;
}
.content .control {
  display: block;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 3px;
}
.content .group > :not(:first-child) {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.content .group > :not(:last-child) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.content .button {
  color: var(--secondary-dark-color, #4d4d4d);
  font-family: var(--content-font, "Hind", sans-serif);
  font-size: 14px;
  font-weight: 400;
  background: var(--brand-color, #3498db);
  color: var(--primary-utility-color, #fff);
  cursor: pointer;
  border: 0;
}
.content .button:focus:where(:not([disabled])), .content .button:hover:where(:not([disabled])) {
  background: var(--brand-focus-color, #196090);
}
.content .button:focus:where(:not([disabled]))::after, .content .button:hover:where(:not([disabled]))::after {
  background: none;
  border: 0;
}
.content .button:active {
  background: var(--brand-focus-color, #2284c4) !important;
}
.content .checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.content .checkbox__element {
  flex-shrink: 0;
  position: relative;
  background-color: var(--display-background-color, var(--primary-utility-color, #fff));
  width: 40px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid var(--tertiary-light-color, #ddd);
}
.content .checkbox__element:checked::after {
  margin-left: 20px;
}
.content .checkbox__element:checked::before {
  width: 40px;
}
.content .checkbox__element::before, .content .checkbox__element::after {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -1px;
  left: -2px;
  border-radius: inherit;
  transition-duration: 200ms;
}
.content .checkbox__element::before {
  width: 20px;
  background-color: var(--brand-color, #3498db);
}
.content .checkbox__element::after {
  box-sizing: border-box;
  width: 20px;
  background-color: inherit;
  border: 1px solid var(--tertiary-light-color, #ddd);
}
.content .checkbox__label {
  color: var(--secondary-dark-color, #4d4d4d);
  font-family: var(--content-font, "Hind", sans-serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--primary-utility-color, #fff);
  overflow: hidden;
  white-space: nowrap;
}
.content .input {
  position: relative;
}
.content .input__element {
  color: var(--secondary-dark-color, #4d4d4d);
  font-family: var(--content-font, "Hind", sans-serif);
  font-size: 14px;
  font-weight: 400;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 10px;
  position: relative;
  display: block;
  box-sizing: border-box;
  border-radius: inherit;
  color: var(--secondary-dark-color, #4d4d4d);
  border: 1px solid var(--tertiary-light-color, #ddd);
}
.content .input__element:placeholder-shown {
  color: var(--lumo-secondary-text-color);
}
.content .input__element:focus-within {
  z-index: 1;
  border-color: var(--brand-color, #3498db);
  box-shadow: 0 0 0 1px var(--brand-color, #3498db);
}
.content .input__element[type=password] {
  padding-right: 32px;
}
.content .input__button {
  position: absolute;
  z-index: 1;
  cursor: pointer;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-color: var(--secondary-dark-color, #4d4d4d);
  -webkit-mask-image: url("/images/l-eye.svg");
  mask-image: url("/images/l-eye.svg");
}
.content .input__element[type=text] ~ .input__button {
  -webkit-mask-image: url("/images/l-eye-disabled.svg");
  mask-image: url("/images/l-eye-disabled.svg");
}

.message {
  color: var(--secondary-dark-color, #4d4d4d);
  font-family: var(--content-font, "Hind", sans-serif);
  font-size: 14px;
  font-weight: 400;
  width: 100%;
  background: var(--primary-utility-color, #fff);
  text-align: center;
  padding: 17px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: auto 0;
  box-sizing: border-box;
}
.message.-hidden {
  visibility: hidden;
}
.message.-error {
  background: #ed1652;
  color: var(--primary-utility-color, #fff);
}

.select {
  position: relative;
  background-color: white;
  color: var(--secondary-dark-color, #4d4d4d);
}
.select__current {
  display: grid;
  grid-template-columns: min-content 1fr min-content;
}
.select__square {
  box-sizing: border-box;
  height: 34px;
}
.select__icon {
  padding: 25%;
}
.select__button {
  padding: 10%;
  cursor: pointer;
}
.select.-expanded .select__button {
  transform: rotate(180deg);
}
.select__item {
  color: var(--secondary-dark-color, #4d4d4d);
  font-family: var(--content-font, "Hind", sans-serif);
  font-size: 14px;
  font-weight: 400;
  display: block;
  padding: 4px 0;
  min-width: 0;
  text-overflow: ellipsis;
}
.select__currentItem {
  overflow: hidden;
  white-space: nowrap;
  outline: none;
  border: none;
}
.select__listItem {
  cursor: pointer;
  padding: 6px 15px;
  border-radius: 3.5px;
}
.select__listItem.-hidden {
  display: none;
}
.select__listItem:hover {
  background-color: var(--primary-accent-focus-color, #d0ddf7);
}
.select__list {
  position: absolute;
  box-sizing: border-box;
  background-color: white;
  width: 100%;
  max-height: 250px;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 2px;
}
.select:not(.-expanded) .select__list {
  display: none;
}
