:root {
  --clr-primary: #4C8BF5;
  --clr-primary-hover: #3A6FCC;
  --clr-text: #2E2E2E;
  --clr-bg-left: #1A1A1A;
  --clr-bg-right: #FFFFFF;
}

body.login-body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  display: flex;
}

.login-wrapper {
  display: flex;
  width: 100%;
}

.login-left {
  background-repeat: no-repeat; 
  background-position: center; 
  flex: 1;
  background-image: url('../../img/logo.png');
  background-color: #bbd8d1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}




.login-right {
  flex: 1;
  background: var(--clr-bg-right);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.login-form {
  width: 100%;
  max-width: 420px;
}

.login-form h2 {
  font-size: 28px;
  color: var(--clr-text);
  margin-bottom: 24px;
}

.login-field {
  margin-bottom: 20px;
}

.login-field label {
  display: block;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.login-field input {
  width: 100%;
  padding: 14px;
  border: 1px solid #DDD;
  border-radius: 6px;
  font-size: 16px;
  color: var(--clr-text);
  background: #FAFAFA;
  transition: all 0.2s ease;
}

.login-field input:focus {
  border-color: var(--clr-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(76, 139, 245, 0.35);
}

.login-actions {
  text-align: right;
  margin-bottom: 24px;
}

.login-actions .forgot-link {
  font-size: 14px;
  color: var(--clr-primary);
  text-decoration: none;
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--clr-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: var(--clr-primary-hover);
}

.login-or {
  text-align: center;
  margin: 20px 0;
  color: #888;
  font-size: 14px;
}

.btn-github {
  width: 100%;
  padding: 14px;
  border: 1px solid #DDD;
  background: #fff;
  color: var(--clr-text);
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-github i {
  margin-right: 8px;
}

.signup-link {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #555;
}

.signup-link a {
  color: var(--clr-primary);
  text-decoration: none;
}

.error-modal {
  /* keep your existing modal styles */
}

/* Responsive */
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
  }
  .login-left, .login-right {
    width: 100%;
    padding: 20px;
  }
}
/* Error Modal Styles */
.error-modal {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.error-modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  text-align: center;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.error-modal-content h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
}

.error-modal-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.error-modal-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
}

.error-modal-btn:hover {
  background: #c82333;
}
.error-icon {
  color: #dc3545;
  font-size: 48px;
  margin-bottom: 15px;
}