:root {
  --infament-auth-primary: #605dff;
  --infament-auth-text: #0f172a;
  --infament-auth-muted: #64748b;
  --infament-auth-border: #d6dae1;
  --infament-auth-bg: #f7f8fc;
  --infament-auth-card: #ffffff;
  --infament-auth-radius: 14px;
  --infament-auth-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

body.customers.customers_login:not(.infament-auth-ready),
body.customers.forgot-password:not(.infament-auth-ready),
body.authentication:not(.infament-auth-ready),
body.login_admin:not(.infament-auth-ready) {
  opacity: 0 !important;
}

body.infament-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(700px 380px at -12% -12%, rgba(96, 93, 255, 0.15), transparent 55%),
    radial-gradient(700px 380px at 112% 15%, rgba(20, 184, 166, 0.11), transparent 55%),
    var(--infament-auth-bg);
  color: var(--infament-auth-text);
}

body.infament-auth-page .company-logo img {
  max-height: 42px;
}

body.infament-auth-page .infament-auth-shell {
  max-width: 1340px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 20px;
}

body.infament-auth-page .infament-auth-split {
  width: auto;
  display: grid;
  grid-template-columns: 520px 560px;
  gap: 56px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

body.infament-auth-page .infament-auth-visual {
  width: 520px;
  max-width: 100%;
  min-height: 690px;
  border-radius: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  box-shadow: none;
  justify-self: end;
}

body.authentication.forgot-password.infament-auth-page .infament-auth-visual,
body.authentication.reset-password.infament-auth-page .infament-auth-visual,
body.authentication.set-password.infament-auth-page .infament-auth-visual {
  border-radius: 0;
}

body.infament-auth-page.infament-auth-login .infament-auth-visual {
  background-image: var(--infament-auth-login-image);
}

body.infament-auth-page.infament-auth-forgot .infament-auth-visual,
body.infament-auth-page.infament-auth-reset .infament-auth-visual {
  background-image: var(--infament-auth-forgot-image);
}

body.infament-auth-page .infament-auth-form-col {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

body.infament-auth-page .infament-auth-panel-wrap {
  width: 100%;
  float: none !important;
  margin: 0 !important;
}

body.infament-auth-page .panel_s {
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

body.infament-auth-page .panel_s,
body.infament-auth-page .panel,
body.infament-auth-page .panel-body,
body.infament-auth-page .authentication-form-wrapper,
body.infament-auth-page .authentication-form-wrappe {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.infament-auth-page .panel_s .panel-body,
body.infament-auth-page .authentication-form-wrapper > div,
body.infament-auth-page .authentication-form-wrappe > div {
  padding: 0;
}

body.infament-auth-page .infament-auth-intro {
  margin-bottom: 22px;
}

body.infament-auth-page .infament-auth-brand {
  margin-bottom: 22px;
}

body.infament-auth-page .infament-auth-brand img {
  width: auto;
  max-width: 220px;
  max-height: 44px;
  height: auto;
  display: block;
}

body.login_admin.infament-auth-page .infament-auth-form-col .company-logo,
body.login_admin.infament-auth-page .infament-auth-form-col .company-logo + p,
body.login_admin.infament-auth-page .infament-auth-form-col .panel-body > p.text-center {
  display: none !important;
}

body.login_admin.infament-auth-page #header,
body.login_admin.infament-auth-page #footer,
body.login_admin.infament-auth-page .navbar,
body.login_admin.infament-auth-page .navbar-default,
body.login_admin.infament-auth-page footer,
body.login_admin.infament-auth-page .footer {
  display: none !important;
}

body.login_admin.infament-auth-page #wrapper,
body.login_admin.infament-auth-page #content {
  padding-top: 0 !important;
}

body.infament-auth-page .infament-auth-title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
}

body.infament-auth-page .infament-auth-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: #5b6b85;
}

body.infament-auth-page h1,
body.infament-auth-page h2,
body.infament-auth-page h3 {
  color: var(--infament-auth-text);
  font-weight: 700;
}

body.infament-auth-page .no-mtop {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.2;
}

body.infament-auth-page .hr-panel-heading {
  border-color: #edf1f6;
  margin-top: 16px;
  margin-bottom: 18px;
}

body.infament-auth-page .label,
body.infament-auth-page label {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}

body.infament-auth-page .form-control {
  height: 55px;
  border-radius: 8px;
  border: 1px solid var(--infament-auth-border);
  font-size: 16px;
  color: #1e293b;
  box-shadow: none;
  padding: 12px 18px;
}

body.authentication.forgot-password.infament-auth-page .form-control {
  border-radius: 8px;
}

body.infament-auth-page .form-control:focus {
  border-color: rgba(96, 93, 255, 0.85);
  box-shadow: 0 0 0 4px rgba(96, 93, 255, 0.12);
}

body.infament-auth-page .btn.btn-primary {
  background: linear-gradient(90deg, #5b5ef7, #5958ef);
  border-color: var(--infament-auth-primary);
  min-height: 52px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
}

body.authentication.forgot-password.infament-auth-page .btn.btn-primary {
  border-radius: 8px;
}

body.infament-auth-page .btn.btn-primary:hover,
body.infament-auth-page .btn.btn-primary:focus {
  background: #4f4ce9;
  border-color: #4f4ce9;
}

body.infament-auth-page .checkbox label,
body.infament-auth-page .checkbox-inline label {
  font-weight: 500;
  color: #475569;
}

body.infament-auth-page p,
body.infament-auth-page .text-muted {
  color: var(--infament-auth-muted);
}

body.infament-auth-page a {
  color: #3a57ff;
  font-weight: 600;
  font-size: 16px;
}

body.infament-auth-page .infament-auth-forgot-link {
  margin: 6px 0 18px;
  text-align: left !important;
}

body.infament-auth-page .infament-auth-forgot-link a {
  color: #3a57ff;
  font-weight: 600;
  font-size: 16px;
  display: inline !important;
  margin: 0 !important;
  text-align: left !important;
}

body.infament-auth-page .infament-auth-register-link {
  margin: 12px 0 0;
  color: #334155;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
}

body.infament-auth-page .infament-auth-register-link a {
  font-size: 16px;
  font-weight: 600;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.infament-auth-page .alert {
  border-radius: 8px;
  font-size: 13px;
}

body.authentication.forgot-password.infament-auth-page .infament-back-login {
  margin: 10px 0 0;
  color: #334155;
  font-size: 16px;
}

body.authentication.forgot-password.infament-auth-page .infament-back-login a {
  color: #3a57ff;
  text-decoration: none;
  font-weight: 600;
}

body.infament-auth-page.infament-auth-admin-forgot .authentication-form-wrappe,
body.infament-auth-page.infament-auth-admin-forgot .authentication-form-wrapper,
body.infament-auth-page.infament-auth-admin-reset .authentication-form-wrappe,
body.infament-auth-page.infament-auth-admin-reset .authentication-form-wrapper {
  max-width: 100%;
  margin: 0;
  padding-top: 0;
}

body.infament-auth-page.infament-auth-forgot .infament-auth-brand {
  display: none;
}

body.infament-auth-page.infament-auth-forgot .company-logo,
body.infament-auth-page.infament-auth-forgot h1,
body.infament-auth-page.infament-auth-forgot h2,
body.infament-auth-page.infament-auth-forgot h3.no-mtop,
body.infament-auth-page.infament-auth-forgot .hr-panel-heading {
  display: none !important;
}

body.infament-auth-page.infament-auth-forgot .tw-bg-white,
body.infament-auth-page.infament-auth-forgot .tw-shadow-sm,
body.infament-auth-page.infament-auth-forgot .tw-rounded-lg,
body.infament-auth-page.infament-auth-forgot .tw-border {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.infament-auth-page.infament-auth-forgot .tw-py-8,
body.infament-auth-page.infament-auth-forgot .tw-px-6,
body.infament-auth-page.infament-auth-forgot .sm\:tw-px-8 {
  padding: 0 !important;
}

body.customers.forgot-password.infament-auth-page #header,
body.customers.forgot-password.infament-auth-page .navbar,
body.customers.forgot-password.infament-auth-page .navbar-default,
body.customers.forgot-password.infament-auth-page footer,
body.customers.forgot-password.infament-auth-page .footer,
body.customers.forgot-password.infament-auth-page .customers-nav-item-profile,
body.customers.forgot-password.infament-auth-page .customer-top-submenu {
  display: none !important;
}

body.customers.forgot-password.infament-auth-page #wrapper,
body.customers.forgot-password.infament-auth-page #content {
  padding-top: 0 !important;
}

body.infament-auth-page.infament-auth-forgot #header,
body.infament-auth-page.infament-auth-forgot #footer,
body.infament-auth-page.infament-auth-forgot .navbar,
body.infament-auth-page.infament-auth-forgot .navbar-default,
body.infament-auth-page.infament-auth-forgot footer,
body.infament-auth-page.infament-auth-forgot .footer,
body.infament-auth-page.infament-auth-forgot .customer-top-submenu,
body.infament-auth-page.infament-auth-forgot .customers-nav-item-profile {
  display: none !important;
}

body.infament-auth-page.infament-auth-forgot #wrapper,
body.infament-auth-page.infament-auth-forgot #content {
  padding-top: 0 !important;
}

body.infament-auth-page.infament-auth-confirm .verification-required-alert {
  border: 1px solid #eceef3;
  border-radius: 10px;
  background: #fff;
  padding: 28px 28px 26px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 640px;
  margin: 70px auto 20px;
}

body.infament-auth-page.infament-auth-confirm {
  background: #f5f6fa;
}

body.infament-auth-page.infament-auth-confirm #header,
body.infament-auth-page.infament-auth-confirm .navbar,
body.infament-auth-page.infament-auth-confirm .navbar-default,
body.infament-auth-page.infament-auth-confirm footer,
body.infament-auth-page.infament-auth-confirm .footer,
body.infament-auth-page.infament-auth-confirm .customer-top-submenu,
body.infament-auth-page.infament-auth-confirm .customers-nav-item-profile {
  display: none !important;
}

body.infament-auth-page.infament-auth-confirm #wrapper,
body.infament-auth-page.infament-auth-confirm #content {
  padding-top: 0 !important;
}

body.infament-auth-page.infament-auth-confirm .verification-required-alert:before {
  content: none;
}

body.infament-auth-page.infament-auth-confirm .verification-required-heading {
  text-align: center;
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #0f172a;
}

body.infament-auth-page.infament-auth-confirm .verification-required-message {
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: #5b6b85;
  max-width: 540px;
  margin: 0 auto 18px;
}

body.infament-auth-page.infament-auth-confirm .infament-confirm-btn {
  display: block;
  margin-top: 4px;
  text-align: center;
  background: linear-gradient(90deg, #5b5ef7, #5958ef);
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

body.infament-auth-page.infament-auth-confirm .verification-required-alert.alert.alert-warning {
  color: #304d74 !important;
  box-shadow: none;
  background-color: #fff !important;
  border-color: #eceef3 !important;
}

body.infament-auth-page.infament-auth-confirm .infament-auth-confirm-row {
  display: flex;
  justify-content: center;
}

body.infament-auth-page.infament-auth-confirm .infament-confirm-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

body.infament-auth-page.infament-auth-confirm .infament-confirm-brand img {
  max-height: 44px;
  width: auto;
}

body.infament-auth-page.infament-auth-confirm .infament-confirm-icon {
  width: 92px;
  height: 92px;
  margin: 2px auto 14px;
  background-image: var(--infament-auth-confirm-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

body.infament-auth-page .infament-auth-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

body.infament-auth-page .infament-auth-social-btn {
  height: 46px;
  border: 1px solid var(--infament-auth-border);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
}

body.infament-auth-page .infament-auth-social-btn img {
  width: 24px;
  height: 24px;
}

body.customers.customers_login.infament-auth-page #header,
body.customers.customers_login.infament-auth-page .navbar,
body.customers.customers_login.infament-auth-page .navbar-default,
body.customers.customers_login.infament-auth-page footer,
body.customers.customers_login.infament-auth-page .footer,
body.customers.customers_login.infament-auth-page .customers-nav-item-profile,
body.customers.customers_login.infament-auth-page .customer-top-submenu {
  display: none !important;
}

body.customers.customers_login.infament-auth-page #wrapper {
  padding-top: 0 !important;
}

body.customers.customers_login.infament-auth-page #content {
  padding-top: 0 !important;
}

body.customers.customers_login.infament-auth-page #content > .container:first-child > .row:first-child {
  display: none !important;
}

body.infament-auth-page.infament-auth-login .form-group {
  margin-bottom: 18px;
}

body.infament-auth-page.infament-auth-login .form-group:last-of-type {
  margin-bottom: 0;
}

body.infament-auth-page.infament-auth-forgot .infament-auth-social,
body.infament-auth-page.infament-auth-reset .infament-auth-social {
  display: none;
}

body.customers.customers_login.infament-auth-client-plain #header,
body.customers.customers_login.infament-auth-client-plain .navbar,
body.customers.customers_login.infament-auth-client-plain .navbar-default,
body.customers.customers_login.infament-auth-client-plain footer,
body.customers.customers_login.infament-auth-client-plain .footer,
body.customers.customers_login.infament-auth-client-plain .customers-nav-item-profile,
body.customers.customers_login.infament-auth-client-plain .customer-top-submenu {
  display: none !important;
}

body.customers.customers_login.infament-auth-client-plain #wrapper {
  padding-top: 0 !important;
}

body.customers.customers_login.infament-auth-client-plain #content > .container:first-child > .row:first-child {
  display: none !important;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-shell {
  max-width: 760px;
  padding: 22px 12px;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-split {
  grid-template-columns: 1fr;
  width: 640px;
  max-width: 100%;
  gap: 0;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-visual {
  display: none !important;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-form-col {
  max-width: 100%;
  margin: 0 auto;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-brand {
  margin-bottom: 18px;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-title {
  font-size: 28px;
  line-height: 1.12;
  margin-bottom: 10px;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-subtitle {
  font-size: 16px;
  margin-bottom: 14px;
}

body.customers.customers_login.infament-auth-client-plain .form-group {
  margin-bottom: 18px;
}

body.customers.customers_login.infament-auth-client-plain .checkbox {
  display: none;
}

body.customers.customers_login.infament-auth-client-plain .form-control {
  height: 55px;
  font-size: 16px;
  border-radius: 10px;
  padding: 12px 20px;
}

body.customers.customers_login.infament-auth-client-plain .label,
body.customers.customers_login.infament-auth-client-plain label {
  font-size: 14px;
  margin-bottom: 9px;
}

body.customers.customers_login.infament-auth-client-plain .btn.btn-primary {
  min-height: 58px;
  font-size: 16px;
  border-radius: 10px;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-social {
  margin-bottom: 18px;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-social-btn {
  height: 52px;
  border-radius: 10px;
}

body.customers.customers_login.infament-auth-client-plain .infament-auth-forgot-link a {
  font-size: 16px;
}

body.customers.customers_login.infament-auth-client-plain p.text-center {
  text-align: left;
  margin-top: 8px;
}

body.customers.customers_login.infament-auth-client-plain p.text-center a {
  font-size: 16px;
}

body.customers.customers_login.infament-auth-user-form-only .panel_s {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.customers.customers_login.infament-auth-user-form-only .panel-body {
  padding: 0;
}

body.customers.customers_login.infament-auth-user-form-only .infament-auth-brand {
  margin-bottom: 16px;
}

body.customers.customers_login.infament-auth-user-form-only .infament-auth-brand img {
  max-height: 44px;
  width: auto;
}

body.customers.customers_login.infament-auth-user-form-only .infament-auth-title {
  font-size: 28px;
  margin: 0 0 8px;
  color: #0f172a;
}

body.customers.customers_login.infament-auth-user-form-only .infament-auth-subtitle {
  font-size: 16px;
  margin: 0 0 14px;
  color: #5b6b85;
}

body.customers.customers_login.infament-auth-user-form-only .infament-auth-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

body.customers.customers_login.infament-auth-user-form-only .infament-auth-social-btn {
  height: 46px;
  border: 1px solid #d6dae1;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

body.customers.customers_login.infament-auth-user-form-only .infament-auth-social-btn img {
  width: 24px;
  height: 24px;
}

body.customers.customers_login.infament-auth-user-form-only label {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

body.customers.customers_login.infament-auth-user-form-only .form-control {
  height: 55px;
  border-radius: 8px;
  border: 1px solid #d6dae1;
  font-size: 16px;
  padding: 12px 16px;
}

body.customers.customers_login.infament-auth-user-form-only .form-control:focus {
  border-color: rgba(96, 93, 255, 0.85);
  box-shadow: 0 0 0 4px rgba(96, 93, 255, 0.12);
}

body.customers.customers_login.infament-auth-user-form-only .btn.btn-primary {
  min-height: 50px;
  border-radius: 8px;
  border-color: #5b5ef7;
  background: linear-gradient(90deg, #5b5ef7, #5958ef);
  font-size: 16px;
  font-weight: 600;
}

body.customers.customers_login.infament-auth-user-form-only .checkbox {
  margin-top: 8px;
}

@media (max-width: 991px) {
  body.infament-auth-page .infament-auth-shell {
    padding: 16px 10px;
  }

  body.infament-auth-page .infament-auth-split {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 560px;
    margin: 0 auto;
  }

  body.infament-auth-page .infament-auth-visual {
    display: none !important;
  }

  body.login_admin.infament-auth-page .infament-auth-visual {
    display: none !important;
  }

  body.infament-auth-page .infament-auth-form-col {
    max-width: 560px;
    margin: 0 auto;
  }

  body.infament-auth-page .infament-auth-title {
    font-size: 34px;
  }

  body.infament-auth-page .label,
  body.infament-auth-page label {
    font-size: 16px;
  }

  body.infament-auth-page .form-control {
    height: 54px;
    font-size: 16px;
  }

  body.infament-auth-page .btn.btn-primary,
  body.infament-auth-page a {
    font-size: 16px;
  }

  body.customers.customers_login.infament-auth-client-plain .infament-auth-title {
    font-size: 34px;
  }

  body.customers.customers_login.infament-auth-client-plain .infament-auth-subtitle {
    font-size: 16px;
  }

  body.customers.customers_login.infament-auth-client-plain .label,
  body.customers.customers_login.infament-auth-client-plain label {
    font-size: 14px;
  }

  body.customers.customers_login.infament-auth-client-plain .form-control {
    height: 52px;
    font-size: 16px;
  }

  body.customers.customers_login.infament-auth-client-plain .btn.btn-primary,
  body.customers.customers_login.infament-auth-client-plain p.text-center a,
  body.customers.customers_login.infament-auth-client-plain .infament-auth-forgot-link a {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  body.infament-auth-page .panel_s .panel-body,
  body.infament-auth-page .authentication-form-wrapper > div,
  body.infament-auth-page .authentication-form-wrappe > div {
    padding: 0;
  }

  body.infament-auth-page .form-control {
    height: 48px;
  }

  body.infament-auth-page .infament-auth-visual {
    min-height: 170px;
  }
}
