.login-bg {
  background: #f4f6fb;
  min-height: 100vh;
}

.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}

.login-card-modern {
  display: flex;
  width: 100%;
  max-width: 1060px;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 80px rgba(15, 35, 95, 0.12);
}

.login-hero-panel {
  flex: 1;
  background: #1f2b53;
  color: #fff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.login-hero-panel::after,
.login-hero-panel::before {
  content: none;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

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

.login-hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.hero-pill {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-hero-panel h2 {
  margin: 0;
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: #f6f8ff;
}

.login-hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.hero-benefits {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.benefit-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid #28a745;
  border-radius: 50%;
  color: #28a745;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(40, 167, 69, 0.08);
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.05);
}

.benefit-item i::before {
  content: "✓";
  color: inherit;
  font-weight: inherit;
}

.login-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.login-hero-stats div {
  padding-top: 0.25rem;
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.login-form-panel {
  flex: 1;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #fff;
}

.form-heading h4,
.form-heading h3 {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.form-heading h3 {
  font-size: 1.65rem;
}

.form-heading p {
  margin: 0;
  color: #657298;
}

.login-form .input-field {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
}

.login-form .input-field input {
  background: rgba(245, 247, 254, 0.9);
  border: 1px solid #d7e0f5;
  border-bottom: 1px solid #d7e0f5;
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.9rem;
  min-height: 2.6rem;
  box-sizing: border-box;
  box-shadow: none !important;
}

.login-form .input-field input:focus {
  border-color: #a8c6ff;
  border-bottom-color: #a8c6ff;
  box-shadow: 0 0 0 1px rgba(168, 198, 255, 0.8) !important;
  background-image: none;
  outline: none;
}

.login-form .input-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a84a6;
  margin-bottom: 0.35rem;
  position: static;
  transform: none;
  font-weight: 600;
}

.login-form .input-field input::placeholder {
  color: #a0aec0;
}

.login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.remember-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #2d3553;
}

.remember-field input[type=checkbox] {
  position: relative;
  accent-color: #5c7cfa;
}

.forgot-link {
  font-weight: 600;
  color: #5c7cfa;
}

.login-alert {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.login-form-panel .btn {
  height: auto;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  background: #5c7cfa;
}

.social-login {
  text-align: center;
  margin-top: 1.5rem;
}

.divider-text {
  font-size: 0.85rem;
  color: #7a84a6;
}

.social-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 124, 250, 0.2);
  font-weight: 600;
  color: #2d3553;
  background: #fff;
}

.social-btn i {
  font-size: 1rem;
}

.social-btn.google {
  color: #ea4335;
  border-color: rgba(234, 67, 53, 0.25);
}

.social-btn.facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.25);
}

.signup-text {
  text-align: center;
  margin: 1rem 0 0;
  color: #4c5672;
}

.signup-text a {
  font-weight: 600;
  color: #5c7cfa;
}

.signup-text small {
  display: block;
  margin-top: 0.35rem;
  color: #6c7c94;
}

@media (max-width: 1200px) {
  .login-card-modern {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .login-card-modern {
    flex-direction: column;
  }

  .login-hero-panel,
  .login-form-panel {
    padding: 2.5rem;
  }

  .login-hero-panel::after {
    inset: 1.5rem;
  }

  .login-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .login-form-panel {
    padding: 2rem;
  }

  .login-hero-panel {
    padding: 2rem;
  }

  .login-section {
    padding: 1.5rem 1rem;
  }

  .login-card-modern {
    border-radius: 24px;
  }

  .login-hero-stats {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
