/* Custom Atrix-branded login screen override. Loaded after the compiled theme
   stylesheet in public/dist/index.html, so these rules win on the cascade
   without needing an Angular rebuild. */

.login-view {
  background: linear-gradient(135deg, #dbe3f0 0%, #b9c6de 100%);
  padding: 0 !important;
}

.login-view::before {
  content: "";
  display: block;
  flex: 0 0 58%;
  max-width: 58%;
  min-height: 100vh;
  align-self: stretch;
  background: url('bg.jpg') center center / cover no-repeat;
}

@media all and (max-width: 992px) {
  .login-view::before {
    display: none;
  }
}

/* 3D floating panel around the logo, fields and button */
.login-view .login-form {
  background: #ffffff;
  box-sizing: border-box;
  width: 27em;
  max-width: 90vw;
  padding: 2.75em 3em 2.5em;
  border-radius: 18px;
  border-top: 5px solid #d81f26;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 12px 24px -4px rgba(16, 24, 40, 0.12),
    0 32px 64px -12px rgba(16, 24, 40, 0.20);
}

@media all and (max-width: 576px) {
  .login-view .login-form {
    width: 92vw;
    padding: 2em 1.5em;
    border-radius: 14px;
  }
}

.login-view .login-form .logo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.5em auto;
}

.login-view .fade-card-front .inner-addon,
.login-view .fade-card-back .inner-addon {
  text-align: left;
  margin-bottom: 1.1em;
}

.login-view .fade-card-front .inner-addon:nth-of-type(1)::before,
.login-view .fade-card-back .inner-addon:nth-of-type(1)::before {
  content: "Username";
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.35em;
}

.login-view .fade-card-front .inner-addon:nth-of-type(2)::before {
  content: "Password";
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.35em;
}

.login-view .fade-card-back .inner-addon:nth-of-type(2)::before {
  content: "Email";
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.35em;
}

.login-view input {
  box-sizing: border-box;
  border-radius: 0.3em;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.login-view .inner-addon {
  width: 100%;
}

.login-view .login-form svg path,
.login-view .login-form svg polygon,
.login-view .login-form svg rect {
  fill: #666;
}

.login-view .forgotten-password {
  text-align: right;
  margin: 0.6em 0 1.4em 0;
}

.login-view .login-button {
  width: 100%;
  background: linear-gradient(90deg, #d81f26 0%, #1a1a1a 100%);
  border-radius: 0.3em;
  padding: 0.85em;
  border: none;
  box-shadow: 0 4px 10px rgba(216, 31, 38, 0.25);
}

.login-view .login-button:hover {
  background: linear-gradient(90deg, #b81920 0%, #000000 100%);
  box-shadow: 0 6px 14px rgba(216, 31, 38, 0.35);
}
