.login-modern-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(38, 54, 68, 0.92), rgba(31, 111, 181, 0.84)),
    url("../images/bg-01.jpg") center/cover no-repeat;
  color: #263644;
}

.login-modern-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 28px;
}

.login-modern-panel {
  width: min(1120px, 100%);
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(16px);
}

.login-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(38, 54, 68, 0.98), rgba(31, 111, 181, 0.9)),
    url("../images/bg-01.jpg") center/cover no-repeat;
  color: #fff;
}

.login-brand-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.login-brand-logo {
  width: 142px;
  max-width: 60%;
  height: auto;
  display: block;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.login-brand-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-top: 44px;
}

.login-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 16px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.login-brand-title {
  margin-bottom: 14px;
  color: #fff;
  font-family: Poppins-SemiBold, sans-serif;
  font-size: 38px;
  line-height: 1.15;
}

.login-brand-copy {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.75;
}

.login-feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
}

.login-feature {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.11);
}

.login-feature strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
}

.login-feature span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.5;
}

.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px;
  background: #f8fafc;
}

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

.login-mobile-logo {
  display: none;
  width: 118px;
  height: auto;
  margin: 0 auto 22px;
}

.login-form-title {
  margin-bottom: 8px;
  color: #263644;
  font-family: Poppins-SemiBold, sans-serif;
  font-size: 28px;
  line-height: 1.25;
  text-align: left;
}

.login-form-subtitle {
  margin-bottom: 26px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

.login-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  background: #fff1f2;
  color: #be123c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

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

.login-label {
  display: block;
  margin-bottom: 7px;
  color: #40505f;
  font-size: 12px;
  font-weight: 800;
}

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

.login-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  color: #94a3b8;
  font-size: 18px;
  transform: translateY(-50%);
}

.login-input {
  width: 100%;
  height: 46px;
  padding: 10px 44px;
  border: 1px solid #d8e0e8;
  border-radius: 10px;
  background: #fff;
  color: #263644;
  font-size: 13px;
  font-weight: 600;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.login-input::placeholder {
  color: #9aa8b6;
  font-weight: 500;
}

.login-input:focus {
  border-color: #4099ff;
  box-shadow: 0 0 0 4px rgba(64, 153, 255, 0.14);
}

.login-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #64748b;
  transform: translateY(-50%);
}

.login-password-toggle:hover,
.login-password-toggle:focus {
  background: #edf6ff;
  color: #1f6fb5;
}

.login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 22px;
}

.login-hint {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.login-link {
  color: #1f6fb5;
  font-size: 12px;
  font-weight: 800;
}

.login-link:hover {
  color: #0f5f9f;
}

.login-submit {
  width: 100%;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  background: #263644;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(38, 54, 68, 0.20);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.login-submit:hover,
.login-submit:focus {
  background: #1f6fb5;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(31, 111, 181, 0.24);
}

.login-footer-note {
  margin-top: 22px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.login-developer-credit {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.login-developer-credit a {
  color: #1f6fb5;
  font-size: inherit;
  font-weight: 800;
}

.login-developer-credit a:hover,
.login-developer-credit a:focus {
  color: #0f5f9f;
}

@media (max-width: 991.98px) {
  .login-modern-shell {
    padding: 16px;
  }

  .login-modern-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .login-brand-panel {
    display: none;
  }

  .login-form-panel {
    min-height: calc(100vh - 32px);
    padding: 34px 22px;
  }

  .login-mobile-logo {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .login-modern-shell {
    padding: 0;
  }

  .login-modern-panel {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .login-form-panel {
    min-height: 100vh;
    padding: 28px 18px;
  }

  .login-form-title {
    font-size: 24px;
    text-align: center;
  }

  .login-form-subtitle {
    text-align: center;
  }

  .login-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
