/* Single-card login. Existing markup, ids, and scripts stay as they are. */

.ez-login {
  min-height: 100vh;
  min-height: 100svh;
  color: #24383a;
  background-color: #e9faf6;
  background-image: linear-gradient(180deg, #e7fbf6 0%, #d7f4ee 48%, #e9faf6 100%);
}

.ez-login::before,
.ez-login::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}

.ez-login::before {
  content: none;
  background: none;
}

.ez-login::after {
  left: 28px;
  right: auto;
  bottom: 18px;
  color: #8eada8;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  content: "For the best experience, use Google Chrome.";
}

.ez-login .ez-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: calc(100vh - 19px);
  margin: 0;
  padding: 36px 20px 72px;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  align-items: safe center;
}

.ez-login .ez-shell-inner {
  width: min(520px, calc(100vw - 28px)) !important;
  max-width: 520px;
  padding: 0;
}

.ez-login .ez-stage {
  float: none !important;
  width: 100% !important;
  max-width: 460px;
  margin: 108px auto 0 !important;
  padding: 28px 36px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 50px rgba(36, 120, 110, 0.08);
}

.ez-login .ez-browser-warning {
  order: -1;
  margin: 0 0 16px !important;
  padding: 0;
  background: transparent;
  border: 0;
  color: #5d7874;
  font-size: 13px !important;
  line-height: 1.45;
  text-align: center;
}

.ez-login .ez-browser-warning svg {
  display: none;
}

.ez-login .ez-browser-warning a {
  color: #129e86;
}

.ez-login .ez-logo {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 196px;
  height: auto;
  min-height: 58px;
  margin: 0;
  padding-top: 60px;
  background-size: 196px auto;
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: baseline;
  transform: translate(-50%, calc(-100% - 18px));
}

.ez-login .ez-logo::before,
.ez-login .ez-logo::after {
  font-family: "Roboto-Regular", sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: 0;
}

.ez-login .ez-logo::before {
  content: "it\2019s that\00a0";
  color: #8ea0a4;
  margin-top: 10px;
}

.ez-login .ez-logo::after {
  content: "easy";
  color: #14b89a;
}

.ez-login .ez-version {
  position: fixed;
  top: auto;
  right: 28px;
  bottom: 18px;
  left: auto;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  font-size: 0;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.ez-login .ez-version::after {
  content: "Version 2.0";
  font-family: "Roboto-Regular", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #8eada8;
}

.ez-login .ez-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  color: #24383a;
}

.ez-login .ez-card .ez-card-title {
  margin: 2px 0 22px;
  padding: 0;
  text-align: center;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.ez-login .ez-card .ez-card-title::before {
  content: "Login";
  display: block;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.4;
  letter-spacing: 0;
  color: #3cc9b0;
}

.ez-login .ez-card .ez-card-title::after {
  content: none;
}

.ez-login .ez-card > .ez-banner,
.ez-login .ez-sso-error {
  position: relative;
  margin: 0 0 16px !important;
  padding: 11px 14px 11px 40px !important;
  border: 1px solid #f3d0d0 !important;
  border-radius: 8px !important;
  background: #fff7f7 !important;
  background-image: none !important;
  color: #9a3030 !important;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 13.5px;
  font-weight: normal;
  line-height: 1.45;
  text-align: left;
  text-shadow: none;
  box-shadow: none;
}

.ez-login .ez-card > .ez-banner::before,
.ez-login .ez-sso-error.alert-danger::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e23b3b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.4v6.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='12.2' r='0.9' fill='%23fff'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.ez-login .ez-sso-error.alert-success {
  border-color: #bfe8df !important;
  background: #f3fbf9 !important;
  color: #0f6f60 !important;
}

.ez-login .ez-sso-error.alert-info {
  border-color: #d5e0dc !important;
  background: #f7fbfa !important;
  color: #24383a !important;
}

.ez-login .ez-session-note {
  padding: 8px 0 12px;
  text-align: center;
}

.ez-login .ez-session-note .alert {
  background: transparent;
  border: 0;
  color: #24383a;
}

.ez-login .ez-session-note .btn {
  height: 46px;
  margin: 8px 0 0 !important;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #2fcebb;
  color: #fff;
  font-family: "Roboto-Bold", "Roboto-Regular", sans-serif;
  font-size: 16px;
}

.ez-login .ez-auth-form {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.ez-login .ez-auth-body {
  display: contents;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.ez-login .ez-auth-body::before,
.ez-login .ez-sso-panel::before,
.ez-login .ez-sso-panel::after,
.ez-login .ez-field-user::before,
.ez-login .ez-field-sso::before {
  content: none;
  display: none;
}

.ez-login .ez-field-user { order: 1; }
.ez-login .ez-field-pass { order: 2; }
.ez-login .ez-card-footer { order: 3; }
.ez-login .ez-field-org { order: 4; }
.ez-login .ez-actions { order: 5; }
.ez-login .ez-sso-panel { order: 6; }

.ez-login .ez-field {
  position: relative;
  margin: 0 0 16px !important;
}

.ez-login .ez-field-pass {
  margin-bottom: 6px !important;
}

.ez-login .ez-card .ez-field > label {
  position: absolute;
  top: 27px;
  left: 14px;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 0;
  color: #8ea0a4;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left center;
  transition: top 0.16s ease, transform 0.16s ease, font-size 0.16s ease, color 0.16s ease;
}

.ez-login .ez-card .ez-field > label span {
  color: #e23b3b !important;
}

.ez-login .ez-card .ez-field:focus-within > label,
.ez-login .ez-card .ez-field:has(input:not(:placeholder-shown)) > label,
.ez-login .ez-card .ez-field:has(input:-webkit-autofill) > label {
  top: 9px;
  color: #17362f;
  font-family: "Roboto-Bold", "Roboto-Regular", sans-serif;
  font-size: 11px;
  transform: translateY(0);
}

.ez-login .ez-card .ez-field-org > label {
  font-size: 0 !important;
  color: transparent !important;
}

.ez-login .ez-card .ez-field-org > label::after {
  content: "Organization code";
  display: inline-block;
  color: #8ea0a4;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
  transition: font-size 0.16s ease, color 0.16s ease;
}

.ez-login .ez-card .ez-field-org:focus-within > label,
.ez-login .ez-card .ez-field-org:has(input:not(:placeholder-shown)) > label,
.ez-login .ez-card .ez-field-org:has(input:-webkit-autofill) > label {
  font-size: 0 !important;
}

.ez-login .ez-card .ez-field-org:focus-within > label::after,
.ez-login .ez-card .ez-field-org:has(input:not(:placeholder-shown)) > label::after,
.ez-login .ez-card .ez-field-org:has(input:-webkit-autofill) > label::after {
  color: #17362f;
  font-family: "Roboto-Bold", "Roboto-Regular", sans-serif;
  font-size: 11px;
}

.ez-login .ez-card .input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: 54px;
  height: auto;
  background: #fff;
  border: 1px solid #d5e0dc;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

.ez-login .ez-card .input-group:focus-within {
  border-color: #2fcebb;
  box-shadow: 0 0 0 3px rgba(47, 206, 187, 0.16);
}

.ez-login .ez-card .has-error .input-group,
.ez-login .ez-card .has-error .input-group:focus-within {
  border-color: #e25555;
  box-shadow: 0 0 0 3px rgba(226, 85, 85, 0.12);
}

.ez-login .ez-card .input-group-addon:not(.toggle-password) {
  display: none;
}

.ez-login .ez-card .toggle-password {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 54px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #8b9aa0;
  box-shadow: none;
  line-height: 1;
  cursor: pointer;
}

.ez-login .ez-card .toggle-password:hover,
.ez-login .ez-card .toggle-password:focus {
  background: transparent;
  color: #17362f;
  outline: none;
}

.ez-login .ez-card .input-group .form-control,
.ez-login .ez-card input.form-control,
.ez-login .ez-card input.form-control:focus,
.ez-login .ez-card input.form-control:-webkit-autofill,
.ez-login .ez-card input.form-control:-webkit-autofill:hover,
.ez-login .ez-card input.form-control:-webkit-autofill:focus {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  height: 54px;
  margin: 0;
  padding: 18px 14px 6px;
  float: none;
  border: 0 !important;
  border-radius: 0;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  color: #24383a !important;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.ez-login .ez-card .password-field {
  border-right: 0 !important;
}

.ez-login .ez-card .form-control::placeholder {
  color: transparent;
  opacity: 0;
}

.ez-login .ez-card .help-block {
  margin: 6px 0 0;
  color: #d64545;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
}

.ez-login .ez-card .input-group .help-block {
  flex: 1 0 100%;
  margin: 0;
  padding: 0 10px 8px;
}

.ez-login .ez-card .ez-helper {
  display: block;
  max-width: 100%;
  margin: 8px 0 0;
  color: #7d9194;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.ez-login .ez-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 8px 0 4px;
}

.ez-login .ez-actions:before,
.ez-login .ez-actions:after {
  content: none;
  display: none;
}

.ez-login .ez-card .ez-btn-signin,
.ez-login .ez-card .ez-btn-cancel,
.ez-login .ez-card .ez-btn-sso {
  height: 48px;
  margin: 0 !important;
  float: none !important;
  border-radius: 8px;
  font-family: "Roboto-Bold", "Roboto-Regular", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
}

.ez-login .ez-card .ez-btn-signin {
  display: inline-flex !important;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0;
  padding: 0 18px;
  border: 0 !important;
  color: #fff !important;
  background: #2fcebb !important;
  background-color: #2fcebb !important;
  box-shadow: none;
}

.ez-login .ez-card .ez-btn-signin:hover,
.ez-login .ez-card .ez-btn-signin:focus {
  color: #fff !important;
  background: #22c3af !important;
  border: 0 !important;
}

.ez-login .ez-card .ez-btn-signin:disabled,
.ez-login .ez-card .ez-btn-sso:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.ez-login .ez-card .ez-btn-cancel[style*="block"],
.ez-login .ez-card .ez-btn-cancel[style*="inline"] {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 104px;
  padding: 0 14px;
  border: 1px solid #d5e0dc !important;
  color: #17362f !important;
  background: #fff !important;
  box-shadow: none;
}

.ez-login .ez-card-footer {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 0 14px !important;
  text-align: right;
  box-sizing: border-box;
}

.ez-login .ez-card-footer a {
  display: inline-block;
  color: #149a82 !important;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 0;
  font-weight: normal;
  line-height: 18px;
  text-decoration: underline;
}

.ez-login .ez-card-footer a::after {
  content: "Forgot password?";
  font-size: 13px;
  line-height: 18px;
}

.ez-login .ez-card-footer a:hover,
.ez-login .ez-card-footer a:focus {
  color: #0e7d69 !important;
}

.ez-login .ez-or {
  position: relative;
  height: auto;
  margin: 18px 0 14px;
  text-align: center;
  color: #8ea0a4;
}

.ez-login .ez-or:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border: 0;
  border-top: 1px solid #e3ece9;
}

.ez-login .ez-or span {
  position: relative;
  display: inline-block;
  min-width: 0;
  height: auto;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
}

.ez-login .ez-or span::after {
  content: "or continue with";
  font-family: "Roboto-Regular", sans-serif;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0;
  text-transform: none;
  color: #8ea0a4;
}

.ez-login .ez-sso-error {
  margin-top: 0;
}

.ez-login .ez-card .ez-btn-sso {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px !important;
  padding: 0 16px;
  border: 1px solid #d5e0dc !important;
  color: #24383a !important;
  background: #fff !important;
  background-color: #fff !important;
  box-shadow: none;
}

.ez-login .ez-card .ez-btn-sso::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M3 8.2V15h4.2v-3.2h3.6V15H15V8.2L9 3.4 3 8.2z' fill='none' stroke='%235d6f74' stroke-width='1.4' stroke-linejoin='round'/%3E%3Ccircle cx='12.2' cy='6.2' r='2.1' fill='none' stroke='%235d6f74' stroke-width='1.3'/%3E%3Cpath d='M13.6 7.4l1.5 1.4' fill='none' stroke='%235d6f74' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ez-login .ez-card .ez-btn-sso:hover,
.ez-login .ez-card .ez-btn-sso:focus {
  color: #17362f !important;
  background: #f7fbfa !important;
  border-color: #c5d5d0 !important;
}

.ez-login .ez-card .ez-btn:focus {
  outline: none;
}

.ez-login .ez-card .ez-btn-signin:focus-visible,
.ez-login .ez-card .ez-btn-sso:focus-visible,
.ez-login .ez-card .ez-btn-cancel:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 206, 187, 0.28);
}

@media (max-width: 640px) {
  .ez-login .ez-shell {
    align-items: flex-start;
    padding: 24px 14px 84px;
  }

  .ez-login .ez-shell-inner,
  .ez-login .ez-stage,
  .ez-login .ez-auth-form,
  .ez-login .ez-field,
  .ez-login .ez-card .input-group {
    max-width: 100%;
    min-width: 0;
  }

  .ez-login .ez-shell-inner {
    width: min(100%, calc(100vw - 28px)) !important;
  }

  .ez-login .ez-stage {
    width: 100% !important;
    max-width: 100%;
    margin-top: 92px !important;
    padding: 22px 18px 18px;
    border-radius: 22px;
  }

  .ez-login .ez-logo {
    width: 168px;
    padding-top: 52px;
    background-size: 168px auto;
    transform: translate(-50%, calc(-100% - 14px));
  }

  .ez-login .ez-logo::before,
  .ez-login .ez-logo::after {
    font-size: 16px;
  }

  .ez-login::after {
    left: 14px;
    right: 108px;
    font-size: 12px;
  }

  .ez-login .ez-version {
    right: 14px;
    font-size: 0;
  }

  .ez-login .ez-version::after {
    font-size: 12px;
  }
}

/* layout=0 — compact centered card */
.ez-layout-stack .ez-shell {
  padding: 20px 16px;
}

.ez-layout-stack .ez-shell-inner {
  width: min(440px, calc(100vw - 32px)) !important;
  max-width: 440px;
}

.ez-layout-stack .ez-stage {
  max-width: 420px;
  margin: 78px auto 0 !important;
  padding: 22px 26px 16px;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(72, 140, 136, 0.08), 0 26px 64px rgba(56, 120, 116, 0.14);
}

.ez-layout-stack .ez-logo {
  width: 156px;
  padding-top: 46px;
  background-size: 156px auto;
}

.ez-layout-stack .ez-logo::before,
.ez-layout-stack .ez-logo::after {
  font-size: 15px;
}

.ez-layout-stack .ez-version {
  position: absolute;
  top: -92px;
  right: auto;
  bottom: auto;
  left: calc(50% + 65px);
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Roboto-Regular", sans-serif;
  font-size: 11px;
  line-height: 1;
  color: #8ea0a4;
  text-align: left !important;
  z-index: 3;
  font-weight: bold;
}

.ez-layout-stack .ez-version::after {
  content: none;
}

.ez-layout-stack .ez-logo::after,
.ez-layout-stack .ez-card .ez-card-title::before,
.ez-layout-stack .ez-card-footer a,
.ez-layout-stack .ez-card-footer a:hover,
.ez-layout-stack .ez-card-footer a:focus {
  color: #2fcebb !important;
}

.ez-layout-stack .ez-card .ez-card-title {
  margin: 0 0 12px;
}

.ez-layout-stack .ez-field {
  margin-bottom: 10px !important;
}

.ez-layout-stack .ez-field-pass {
  margin-bottom: 2px !important;
}

.ez-layout-stack .ez-card .input-group {
  min-height: 44px;
}

.ez-layout-stack .ez-card .toggle-password {
  height: 44px;
}

.ez-layout-stack .ez-card .input-group .form-control,
.ez-layout-stack .ez-card input.form-control,
.ez-layout-stack .ez-card input.form-control:focus,
.ez-layout-stack .ez-card input.form-control:-webkit-autofill,
.ez-layout-stack .ez-card input.form-control:-webkit-autofill:hover,
.ez-layout-stack .ez-card input.form-control:-webkit-autofill:focus {
  height: 44px;
  padding: 14px 12px 4px;
  font-size: 14px;
}

.ez-layout-stack .ez-card .ez-field > label {
  top: 22px;
  left: 12px;
  font-size: 14px;
}

.ez-layout-stack .ez-card .ez-field:focus-within > label,
.ez-layout-stack .ez-card .ez-field:has(input:not(:placeholder-shown)) > label,
.ez-layout-stack .ez-card .ez-field:has(input:-webkit-autofill) > label {
  top: 6px;
  font-size: 10px;
}

.ez-layout-stack .ez-card .ez-field-org > label::after {
  font-size: 14px;
}

.ez-layout-stack .ez-card .ez-field-org:focus-within > label::after,
.ez-layout-stack .ez-card .ez-field-org:has(input:not(:placeholder-shown)) > label::after,
.ez-layout-stack .ez-card .ez-field-org:has(input:-webkit-autofill) > label::after {
  font-size: 10px;
}

.ez-layout-stack .ez-card .ez-btn-signin,
.ez-layout-stack .ez-card .ez-btn-sso {
  height: 42px;
  font-size: 15px;
}

.ez-layout-stack .ez-actions {
  margin: 2px 0 0;
}

.ez-layout-stack .ez-or {
  margin: 10px 0 8px;
}

.ez-layout-stack .ez-card-footer {
  padding-bottom: 8px !important;
}

/* layout=0 background */
.ez-layout-stack.ez-login {
  background-color: #e9faf6;
  background-image: url("images/login-total-bg.jpg?v=3");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.ez-layout-stack.ez-login::before,
.ez-layout-stack .ez-shell::before,
.ez-layout-stack .ez-shell::after {
  content: none;
  background: none;
}

.ez-layout-stack .ez-stage {
  z-index: 1;
}

.ez-layout-stack .ez-stage::after {
  content: none;
  background: none;
}
