/* INEC LMS Premium Login */

.login-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background: #f8fbf9;
  color: #101828;
}

.inec-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  padding: 8px;
}

.inec-login-left,
.inec-login-right {
  min-height: calc(100vh - 16px);
}

.inec-login-left {
  background: #ffffff;
  border-radius: 30px 0 0 30px;
  padding: 54px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.inec-login-brand {
  position: absolute;
  top: 52px;
  left: 8%;
}

.inec-login-brand img {
  width: 245px;
  height: auto;
}

.inec-login-card {
  width: 100%;
  max-width: 530px;
}

.login-kicker {
  margin-bottom: 8px;
  color: #006c3e;
  font-size: 20px;
  font-weight: 900;
}

.inec-login-card h1 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 900;
  color: #101828;
}

.login-subtitle {
  max-width: 430px;
  margin-bottom: 34px;
  color: #667085;
  font-size: 17px;
  line-height: 1.6;
}

.login-field {
  margin-bottom: 20px;
}

.login-field label {
  display: block;
  margin-bottom: 8px;
  color: #101828;
  font-size: 14px;
  font-weight: 900;
}

.login-input-icon {
  position: relative;
}

.login-input-icon > i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #006c3e;
  font-size: 18px;
  z-index: 2;
}

.login-input-icon input {
  width: 100%;
  height: 58px;
  border-radius: 14px;
  border: 1px solid #d9e7df;
  background: #ffffff;
  padding: 0 54px;
  font-size: 16px;
  color: #101828;
  outline: none;
  transition: all 0.25s ease;
}

.login-input-icon input:focus {
  border-color: #006c3e;
  box-shadow: 0 0 0 5px rgba(0, 108, 62, 0.1);
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: #f3faf6;
  color: #101828;
  cursor: pointer;
}

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 26px;
  gap: 16px;
}

.remember-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-weight: 700;
}

.remember-wrap input {
  width: 19px;
  height: 19px;
  accent-color: #006c3e;
}

.login-row a,
.inec-login-card a {
  color: #006c3e;
  font-weight: 900;
  text-decoration: none;
}

.login-submit {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #006c3e, #004f2d);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 18px 35px rgba(0, 108, 62, 0.22);
  transition: all 0.25s ease;
}

.login-submit:hover {
  transform: translateY(-2px);
  background: #004f2d;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  color: #98a2b3;
  font-weight: 700;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e5e7eb;
}

.create-account-btn {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(0, 108, 62, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #006c3e;
  font-weight: 900;
  transition: all 0.25s ease;
}

.create-account-btn:hover {
  background: #eaf7f0;
}

.login-copyright {
  position: absolute;
  left: 8%;
  bottom: 50px;
  max-width: 430px;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

/* Right visual panel */
.inec-login-right {
  position: relative;
  border-radius: 0 30px 30px 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(28, 206, 115, 0.23), transparent 18%),
    radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #083d27 0%, #006c3e 48%, #04351f 100%);
  overflow: hidden;
  padding: 70px;
  color: #ffffff;
}

.inec-login-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 85%, transparent);
}

.back-link {
  position: absolute;
  top: 56px;
  right: 70px;
  z-index: 2;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.right-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-badge {
  width: fit-content;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(41, 255, 139, 0.4);
  color: #38ef8f;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 26px;
}

.right-content h2 {
  max-width: 620px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(42px, 4vw, 66px);
  line-height: 1.05;
  letter-spacing: -2.2px;
  font-weight: 950;
}

.right-content > p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 54px;
}

.learning-orb {
  position: absolute;
  right: 10%;
  top: 34%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.learning-orb::before,
.learning-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
}

.learning-orb::before {
  width: 420px;
  height: 210px;
  transform: rotate(-26deg);
}

.learning-orb::after {
  width: 420px;
  height: 210px;
  transform: rotate(34deg);
}

.orb-card {
  width: 150px;
  height: 150px;
  border-radius: 34px;
  background: linear-gradient(145deg, #0b7b49, #05351f);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
}

.orb-card i {
  font-size: 62px;
  color: #ffffff;
}

.login-features {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.login-features div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
}

.login-features i {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.login-features strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.login-features span {
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.4;
}

.alert {
  border-radius: 14px;
  font-weight: 700;
}

@media only screen and (max-width: 991px) {
  .inec-login-shell {
    grid-template-columns: 1fr;
  }

  .inec-login-right {
    display: none;
  }

  .inec-login-left {
    border-radius: 24px;
    min-height: 100vh;
    padding: 130px 28px 80px;
  }

  .inec-login-brand {
    left: 28px;
  }

  .login-copyright {
    position: static;
    margin: 34px auto 0;
    text-align: center;
  }
}

@media only screen and (max-width: 575px) {
  .inec-login-card h1 {
    font-size: 34px;
  }

  .inec-login-brand img {
    width: 205px;
  }
}

/* Login page cleanup */
.inec-login-left {
  padding-top: 42px !important;
}

.inec-login-brand {
  top: 42px !important;
}

.inec-login-brand img {
  width: 215px !important;
}

.inec-login-card {
  margin-top: 70px;
}

.login-kicker {
  margin-top: 0 !important;
  font-size: 18px !important;
}

.inec-login-card h1 {
  font-size: 38px !important;
  margin-bottom: 14px !important;
}

.login-subtitle {
  font-size: 16px !important;
  line-height: 1.55 !important;
  margin-bottom: 28px !important;
}

.login-input-icon input {
  height: 54px !important;
  font-size: 15px !important;
}

.login-submit,
.create-account-btn {
  height: 54px !important;
}

.login-copyright {
  border-top: 1px solid #e5e7eb;
  padding-top: 18px;
  bottom: 32px !important;
}
