body {
  font-family: 'Poppins', sans-serif;
  background-color: #F8FAFC;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Hide body scrollbar on desktop to ensure perfect fit */
}

.split-container {
  height: 100vh;
  display: flex;
  align-items: stretch;
}

.split-left {
  width: 50%;
  background: radial-gradient(circle at 15% 20%, rgba(21, 179, 88, 0.15) 0%, transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(255, 193, 7, 0.08) 0%, transparent 45%),
              #05160c;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  border-right: 4px solid #FFC107;
}

/* Decorative vector background circles */
.split-left::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.split-left::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.split-right {
  width: 50%;
  background-color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
  /* Enable scrolling inside the right panel if content overflows on small heights */
}

.login-card-premium {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
  padding: 2.25rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
}

.glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  display: none;
}

/* Custom form styles */
.form-control:focus {
  border-color: #15b358;
  box-shadow: 0 0 0 3px rgba(21, 179, 88, 0.15);
}

.input-group-text {
  border-color: #E2E8F0;
}

/* Left panel animated line */
.accent-bar {
  width: 60px;
  height: 4px;
  background: #FFC107;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
  body {
    overflow: auto;
    /* Enable scrolling on mobile device */
  }

  .split-container {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
  }

  .split-left {
    display: none;
  }

  .split-right {
    width: 100%;
    padding: 2rem 1rem;
  }

  .login-card-premium {
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  }
}
