body {
  font-family: "Nunito", Arial, sans-serif;
  min-height: 100vh;
  background-color: #006034;
  background-image: url("https://www.transparenttextures.com/patterns/foggy-birds.png");
  background-repeat: repeat;
}

.login-main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fade-in animation */
.fade-in-card {
  opacity: 0;
  transform: translateY(32px);
  animation: fadeInUp 1s cubic-bezier(0.33, 1.04, 0.73, 1) 0.15s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.login-card-split {
  display: flex;
  align-items: stretch;
  max-width: 850px;
  width: 100%;
  min-height: 470px;
  border-radius: 1.35rem;
  box-shadow: 0 6px 36px 0 rgba(0, 0, 0, 0.11);
  background: #fff;
  overflow: hidden;
  margin: 2rem 0;
}

.login-info {
  flex: 1 1 0;
  padding: 2.5rem 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.ukdw-logo {
  width: 84px;
  margin-bottom: 0.8rem;
}

.login-info .univ-name {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #006034;
}

.login-info .desc {
  font-size: 1rem;
  color: #343a40;
  margin-bottom: 1.15rem;
  margin-top: 0.3rem;
  text-align: justify;
}

.login-info .motto {
  font-size: 1.08rem;
  color: #006034;
  font-weight: 800;
  letter-spacing: 1px;
  /* margin-top: 2.3rem; */
  line-height: 1.3;
}

.login-form-side {
  flex: 0 0 340px;
  background: #ffd54f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem 2.1rem 2rem;
  position: relative;
  height: 100%;
}

.login-form-side .login-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.7rem;
  color: #232323;
  font-family: "Nunito", Arial, sans-serif;
  letter-spacing: 1px;
}

.login-form-side .form-label {
  font-weight: 700;
}

.login-form-side .form-control {
  border-radius: 0.7rem;
  margin-bottom: 1.25rem;
  font-size: 1.12rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid #eee;
  background: #fff;
}

.login-form-side .btn-primary {
  background: #006034;
  border: none;
  border-radius: 0.7rem;
  width: 100%;
  font-weight: 700;
  font-size: 1.13rem;
  box-shadow: 0 2px 10px 0 #007e4940;
}

.login-form-side .btn-primary:hover,
.login-form-side .btn-primary:focus {
  background: #005c2c;
}

.login-form-side .login-footer {
  font-size: 0.93rem;
  margin-top: 2rem;
  color: #006034;
  font-weight: 600;
}

.login-form-side .motto {
  color: #166940;
  font-weight: 800;
  font-size: 1.03rem;
  margin-top: 1.2rem;
  line-height: 1.3;
}

.login-form-side .ukdw-shape {
  position: absolute;
  bottom: 1.2rem;
  right: 1.3rem;
  width: 48px;
  opacity: 0.1;
}

/* 🔻 Responsive adjustments for mobile/small screen */
@media (max-width: 768px) {
  .login-card-split {
    flex-direction: column;
    max-width: 100vw;
  }

  .login-info {
    display: none !important;
  }

  .login-form-side {
    flex: 1 1 auto;
    border-radius: 1.35rem;
    min-width: 0;
    padding: 2rem 1rem;
    background: #fff;
  }
}
