* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background-color: transparent;
}

.container-fluid,
.row {
  margin: 0;
  padding: 0;
}

.row.g-0 {
  --bs-gutter-x: 0;
}

.left-panel {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: white;
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.left-panel::before,
.left-panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.left-panel::before {
  top: -50px;
  right: -50px;
  background-color: rgba(255, 255, 255, 0.1);
  height: 300px;
  width: 300px;
}

.left-panel::after {
  bottom: -80px;
  left: -80px;
  background-color: rgba(255, 255, 255, 0.08);
  height: 200px;
  width: 200px;
}

.brand-content {
  position: relative;
  z-index: 2;
}

.logo-large {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.slogan {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.feature-list li i {
  margin-right: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.8rem;
}

.illustration {
  max-width: 80%;
  margin-top: 40px;
  opacity: 0.9;
}

.right-panel {
  background-color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-form-container {
  width: 100%;
  max-width: 400px;
}

.login-title {
  font-weight: 600;
  color: #3a0ca3;
}

.form-control {
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 0.95rem;
  background-color: #f8f9fc;
  border: 1px solid #e3e6f0;
}

.form-control:focus {
  border-color: #3a0ca3;
  box-shadow: 0 0 0 0.25rem rgba(58, 12, 163, 0.15);
  background-color: #fff;
}

.btn-primary {
  background-color: #3a0ca3;
  border: none;
  border-radius: 12px;
  padding: 12px 15px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(58, 12, 163, 0.2);
}

.btn-primary:hover {
  background-color: #2d0a7c;
  transform: translateY(-2px);
}

.register-link {
  color: #3a0ca3;
  font-weight: 500;
  text-decoration: none;
}

.register-link:hover {
  color: #f72585;
  text-decoration: underline;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
}

.divider {
  text-align: center;
  margin: 20px 0;
  color: #6c757d;
}

.divider::before,
.divider::after {
  content: '';
  display: inline-block;
  width: 40%;
  height: 1px;
  background-color: #dee2e6;
  vertical-align: middle;
}

.divider::before {
  margin-right: 10px;
}

.divider::after {
  margin-left: 10px;
}

@media (max-width: 768px) {
  .left-panel {
    padding: 24px;
    min-height: auto;
    text-align: center;
  }

  .illustration,
  .feature-list {
    display: none !important;
  }

  .logo-large {
    font-size: 2rem;
  }

  .right-panel {
    align-items: flex-start !important;
    padding-top: 48px;
  }

  .login-form-container {
    margin-top: 0;
  }

  .left-panel,
  .right-panel {
    width: 100%;
  }
}
