.login-section {
  padding: 120px 0 60px;
  min-height: 100vh;
  background: #f5f5f5;
}

/* Login Card */
.login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.login-content {
  display: flex;
  min-height: 500px;
}

/* Left Side - Image */
.login-image {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #f8f9fa;
}

.login-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Right Side - Form */
.login-form-container {
  flex: 0 0 55%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 25px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.icon-circle i {
  font-size: 28px;
  color: #fff;
}

.form-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.form-header p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* Form Styling */
.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.login-form label i {
  margin-right: 8px;
  color: #007bff;
}

.login-form .form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #fff;
}

.login-form .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  outline: none;
}

.login-form .form-control::placeholder {
  color: #aaa;
}

/* Password Wrapper */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 45px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  cursor: pointer;
  z-index: 10;
}

.password-toggle:hover {
  color: #007bff;
}

.password-toggle i {
  font-size: 16px;
}

/* Checkbox */
.form-check-group {
  margin-bottom: 25px;
}

.form-check-label {
  font-size: 14px;
  color: #555;
}

/* Submit Button */
.btn-submit {
  background-color: #f5a623;
  border: none;
  color: #fff;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}

.btn-submit:hover {
  background-color: #e09500;
  color: #fff;
}

/* Register Link */
.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.register-link a {
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Alert Styling */
.login-form-container .alert {
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 14px;
}

.login-form-container .alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.login-form-container .alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 767.98px) {
  .login-section {
    padding: 100px 15px 40px;
  }

  .login-content {
    flex-direction: column;
  }

  .login-image {
    flex: 0 0 auto;
    padding: 25px 20px;
  }

  .login-image img {
    max-width: 200px;
  }

  .login-form-container {
    flex: 0 0 auto;
    padding: 30px 25px;
  }

  .form-header h2 {
    font-size: 22px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
  }

  .icon-circle i {
    font-size: 24px;
  }
}

@media (max-width: 575.98px) {
  .login-form-container {
    padding: 25px 20px;
  }

  .form-header h2 {
    font-size: 20px;
  }

  .btn-submit {
    padding: 12px 25px;
    font-size: 15px;
  }

  .login-image img {
    max-width: 180px;
  }
}