.login-container {
  min-height: 100vh;
}
.content-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.form-section {
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.welcome-content {
  max-width: 500px;
  text-align: center;
}
.welcome-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.welcome-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.feature-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.feature-list li i {
  margin-right: 1rem;
  color: #4caf50;
  font-size: 1.2rem;
}
.login-form {
  height: 90vh;
  width: 100%;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08),
    0 15px 35px rgba(102, 126, 234, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.login-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  border-radius: 25px 25px 0 0;
}

.form-floating {
  position: relative;
  margin-bottom: 1.8rem;
}

.form-floating .field-label {
  position: absolute;
  top: -8px;
  left: 15px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 2px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #667eea;
  border-radius: 4px;
  z-index: 4;
  transition: all 0.3s ease;
}

.form-control {
  padding: 18px 20px 18px 70px;
  padding-left: 60px;
  border: 2px solid #e8ecf4;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 500;
  background: #fafbfc;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 60px;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}
input.form-control {
  padding-left: 55px !important;
  padding-top: 10px !important;
}

.form-control:focus {
  border-color: #667eea;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1),
    0 8px 25px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
  outline: none;
}

.form-control::placeholder {
  color: #a0a9b8;
  font-weight: 400;
  transition: all 0.3s ease;
  opacity: 1;
}

.form-control:focus::placeholder {
  opacity: 0.5;
}

.input-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0a9b8;
  font-size: 1rem;
  z-index: 3;
  transition: all 0.3s ease;
  pointer-events: none;
  width: 20px;
  text-align: center;
}

.password-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0a9b8;
  font-size: 1rem;
  z-index: 3;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 20px;
  text-align: center;
}

.password-toggle:hover {
  color: #667eea;
  transform: translateY(-50%) scale(1.1);
}

.form-floating:focus-within .input-icon {
  color: #667eea;
  transform: translateY(-50%) scale(1.1);
}

.form-floating:focus-within .field-label {
  color: #764ba2;
  transform: scale(1.05);
}

.btn-login {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-login:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:active {
  transform: translateY(-1px) scale(0.98);
}
.logo-img {
  max-width: 180px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.2));
}

.form-title {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 12px;
  position: relative;
  padding-bottom: 1rem;
}

.form-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.form-subtitle {
  color: #6c757d;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.5;
  opacity: 0.8;
}
.signup-link {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.signup-link p {
  margin: 0;
  color: #6c757d;
  font-weight: 500;
}

.signup-link a {
  color: #667eea;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: all 0.3s ease;
}

.signup-link a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

.signup-link a:hover {
  color: #764ba2;
  transform: translateY(-1px);
}

.signup-link a:hover::before {
  width: 100%;
}

.alert {
  border-radius: 12px;
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}

/* Loading animation for form */
.form-loading {
  pointer-events: none;
  opacity: 0.7;
}

.form-loading .btn-login {
  background: #6c757d;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-form > * {
  animation: fadeInUp 0.6s ease forwards;
}

.login-form > *:nth-child(2) {
  animation-delay: 0.1s;
}
.login-form > *:nth-child(3) {
  animation-delay: 0.2s;
}
.login-form > *:nth-child(4) {
  animation-delay: 0.3s;
}
.login-form > *:nth-child(5) {
  animation-delay: 0.4s;
}
.illustration {
  width: 300px;
  height: 130px;
  background: #fff;
  border-radius: 15px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .content-section {
    display: none;
  }
  .form-section {
    min-height: 100vh;
  }
  .login-form {
    margin: 1rem;
    padding: 2rem;
  }
  .welcome-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .login-form {
    padding: 1.5rem;
  }
  .logo-img {
    max-width: 150px;
  }
}
