@import url("app-user-menu.css");

.MainHome {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.loginForm {
  width: 100%;
  padding: calc(var(--gap) * 2);
  max-width: var(--mobile-l-width, 600px);
  margin: auto;
}

.loginFormHead {
  display: flex;
  gap: calc(var(--gap));
  align-items: center;
}

.loginFormHead .icon {
  display: flex;
}

.View.menu.appMenu .options go-options {
  padding: calc(var(--gap) * 0.8) 0;
}

.View.menu .userMenu go-options {
  border-top: solid 1px var(--border-color);
}

.View.menu .userMenu go-options-content {
  display: flex;
  flex-direction: row;
}

.View.menu .userMenu go-options-content go-option {
  flex: 0.5;
  justify-content: center;
}

.View.menu .userMenu go-options-content go-option:not(:first-child) {
  border-left: solid 1px var(--border-color);
}

.View.userSettings go-view-body {
  min-height: 320px;
}

.View.userSettings go-fileimage {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: solid 1px var(--border-color);
  min-width: 200px;
  min-height: 200px;
}

.View.userSettings go-view-header-right {
  display: flex;
  align-items: center;
  gap: calc(var(--gap) * 1);
}

.View.userSettings go-view-header-right .saveBtn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--button-text-color, #fff);
  border-radius: 2pc;
  cursor: pointer;
  &:active {
    opacity: 0.6;
  }
}

.cpSettingsBody {
  line-height: 1.35;
}

.loginButtons {
  display: none;
  font-size: 85%;
  margin: 0 calc(var(--gap) * 1) 0 0;
  gap: calc(var(--gap) * 1);
}

.loginButtons .btn {
  display: inline-flex;
  padding: calc(var(--gap) * 0.4) calc(var(--gap) * 0.6);
  border-radius: 2pc;
  cursor: pointer;
  font-size: 90%;
  align-items: center;
  white-space: nowrap;
  &:active {
    opacity: 0.6;
  }
}

.loginButtons .btn:last-child {
  color: var(--primary-color);
  border: solid 1px var(--primary-color);
}

.loginHeadOptions {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: calc(var(--gap));
  align-items: center;
}

.loginForm .poster {
  display: none;
  min-width: 50%;
  background-color: var(--login-poster-color, #d6e3fc);
  margin: 0 var(--rounded-corners, calc(var(--gap) * 1.5)) 0 0;
  border-radius: var(--rounded-corners, calc(var(--gap) * 1));
  background-image: var(--login-poster-image, url("/app/global/public/img/user/login-poster.png"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

@media (min-width: 590px) {
  .loginForm {
    border: solid 1px var(--code-demo-border-color);
    border-radius: calc(var(--gap) * 1);
  }
}

@media (min-width: 768px) {
  .loginForm {
    padding: calc(var(--gap) * 2);
  }
}

@media (min-width: 940px) {
  .loginButtons {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .__login .loginForm {
    display: flex;
    max-width: calc(var(--mobile-l-width) * 2);
    border: solid 1px var(--border-color);
  }

  .loginForm ._form {
    width: 100%;
  }

  .__login .loginForm .poster {
    display: flex;
  }
}

@media (min-width: 1444px) {
  .loginForm {
    max-width: calc(var(--mobile-l-width) * 1.1);
  }
}
