.erp-contact-icon {
  display: inline-block;
  width: 16px;
  margin-right: 8px;
  text-align: center;
}

.erp-contact-icon--wa {
  height: 16px;
  vertical-align: -3px;
}

body.erp-login-page,
body.erp-login-page .main-wrapper,
body.erp-login-page .container-fluid,
body.erp-login-page .container-fluid > div {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #eef1f8;
}

.erp-login {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 100vh;
  font-family: Poppins, "Segoe UI", sans-serif;
  color: #1c2233;
}

.erp-login__brand {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(165deg, #6d63f6 0%, #4d3de0 42%, #3426b8 100%);
}

.erp-login__glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(88, 62, 210, 0.45);
  pointer-events: none;
}

.erp-login__glow--one {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
}

.erp-login__glow--two {
  width: 280px;
  height: 280px;
  left: -90px;
  bottom: -70px;
  background: rgba(47, 32, 160, 0.45);
}

.erp-login__brand-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 36px 48px 48px;
}

.erp-login__brand-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 72px;
}

.erp-login__logo {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.erp-login__logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
}

.erp-login__logo-badge img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.erp-login__kicker {
  margin-left: 46px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.erp-login__brand h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.erp-login__lead {
  max-width: 440px;
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.erp-login__features {
  max-width: 520px;
  padding: 22px 22px 8px;
  border-radius: 22px;
  background: #fff;
  color: #1c2233;
  box-shadow: 0 18px 40px rgba(28, 22, 90, 0.18);
}

.erp-login__features h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1c2233;
}

.erp-login__features ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.erp-login__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 8px;
}

.erp-login__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1efff;
  color: #4f46e5;
  font-size: 16px;
}

.erp-login__features strong,
.erp-login__features em {
  display: block;
}

.erp-login__features strong {
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  color: #1c2233;
}

.erp-login__features em {
  margin-top: 2px;
  font-size: 12px;
  font-style: normal;
  color: #6d7488;
}

.erp-login__apps {
  max-width: 520px;
  margin-top: 22px;
}

.erp-login__apps .erp-home__apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.erp-login__apps .erp-home__apps h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.erp-login__apps .erp-home__badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}

.erp-login__apps .erp-home__badges img {
  display: block;
  height: 36px;
  width: auto;
}

.erp-login__reach ul {
  display: block;
}

.erp-login__reach a {
  color: #3d4560;
  font-weight: 600;
  text-decoration: none;
}

.erp-login__card--contact {
  max-width: 480px;
}

.erp-login__phone {
  display: flex;
  gap: 8px;
  align-items: center;
}

.erp-login__phone .erp-login__input {
  flex: 1 1 auto;
  min-width: 0;
}

.erp-login__otp-btn {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #5b4ce6;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.erp-login__otp-btn:hover,
.erp-login__otp-btn:focus {
  background: #4a3ed4;
  color: #fff;
}

.erp-login__textarea {
  height: auto;
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

.erp-login__error {
  display: block;
  margin-top: 6px;
  color: #b42318;
  font-size: 12px;
}

.erp-login__thanks {
  margin: 8px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #2a3144;
}

.erp-login__panel {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 28px 36px 20px;
  background: #eef1f8;
}

.erp-login__switch {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  margin-bottom: 28px;
}

.erp-login__switch a {
  font-size: 14px;
  font-weight: 600;
  color: #8b93a7;
  text-decoration: none;
}

.erp-login__switch a.is-active {
  color: #4f46e5;
}

.erp-login__card {
  width: 100%;
  max-width: 460px;
  margin: auto;
  padding: 36px 32px 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(40, 48, 80, 0.08);
}

.erp-login__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: #f3f1ff;
  color: #5b4ce6;
  font-size: 22px;
  font-weight: 700;
}

.erp-login__card h2 {
  margin: 0 0 6px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #171b2b;
}

.erp-login__card-sub,
.erp-login__identity {
  margin: 0 0 22px;
  text-align: center;
  font-size: 14px;
  color: #8b93a7;
}

.erp-login__identity {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.erp-login__change {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

.erp-login__field {
  margin-bottom: 18px;
}

.erp-login__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #2a3144;
}

.erp-login__hint {
  display: block;
  margin: -2px 0 8px;
  font-size: 12px;
  font-style: normal;
  color: #8b93a7;
}

.erp-login__input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #e3e7f0;
  border-radius: 12px;
  background: #fff;
  color: #1c2233;
  font-size: 14px;
  box-shadow: none;
}

.erp-login__input:focus {
  outline: none;
  border-color: #6d63f6;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.erp-login__subdomain {
  display: flex;
  align-items: center;
  gap: 8px;
}

.erp-login__subdomain .erp-login__input {
  flex: 1 1 auto;
  min-width: 0;
}

.erp-login__subdomain-suffix {
  flex: 0 0 auto;
  max-width: 46%;
  color: #3d4560;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.erp-login__password {
  position: relative;
}

.erp-login__password .erp-login__input {
  padding-right: 44px;
}

.erp-login__eye {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8b93a7;
  font-size: 16px;
  cursor: pointer;
}

.erp-login__submit {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  background: #5b4ce6;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.erp-login__submit:hover,
.erp-login__submit:focus {
  background: #4a3ed4;
  color: #fff;
}

.erp-login__forgot-wrap {
  margin-top: 16px;
  text-align: center;
}

.erp-login__forgot {
  color: #5b4ce6;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.erp-login__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #eef0f5;
  color: #9aa1b4;
  font-size: 13px;
}

.erp-login__card .alert {
  margin-bottom: 16px;
  font-size: 13px;
}

.erp-login__card .text-white {
  color: #b42318 !important;
}

.erp-login__footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  color: #9aa1b4;
  font-size: 12px;
}

.erp-login__footer a {
  color: #9aa1b4;
  text-decoration: none;
}

.erp-login__footer a:hover {
  color: #4f46e5;
}

@media (max-width: 991px) {
  .erp-login {
    grid-template-columns: 1fr;
  }

  .erp-login__brand-inner {
    padding: 28px 24px 12px;
  }

  .erp-login__brand-mark {
    margin-bottom: 24px;
  }

  .erp-login__brand h1 {
    font-size: 32px;
  }

  .erp-login__features {
    display: none;
  }

  .erp-login__apps .erp-home__apps {
    grid-template-columns: 1fr;
  }

  .erp-login__reach {
    display: block;
    margin-top: 8px;
  }

  .erp-login__panel {
    min-height: auto;
    padding: 20px 16px 28px;
  }

  .erp-login__card {
    margin-top: 12px;
    padding: 28px 20px 22px;
  }
}
