* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #1E293B;
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 950px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.login-right {
  flex: 1;
  background: linear-gradient(135deg, #1E3A8A, #2563EB, #3B82F6);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.login-left h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.login-left p {
  font-size: 1rem;
  max-width: 300px;
  line-height: 1.5;
  opacity: 0.9;
}

.login-left {
  flex: 1;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 40px;
}

.login-right h2 {
  font-size: 1.8rem;
  color: #1E3A8A;
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #F9FAFB;
  color: #111827;
  transition: 0.3s;
}

input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, .3);
}

.btn-primary {
  background: #3B82F6;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

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

.signup-text {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #6B7280;
  text-align: center;
}

.signup-text a {
  color: #3B82F6;
  font-weight: 600;
  text-decoration: none;
}

.signup-text a:hover {
  color: #2563EB;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
  color: #6B7280;
}

.toggle-password:hover {
  color: #3B82F6;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 15px 0;
  font-size: 0.9rem;
  color: #374151;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #3B82F6;
}

@media (max-width: 600px) {
  .login-container {
    flex-direction: column;
    max-width: 100%;
    height: auto;
    margin: 15px;
    border-radius: 12px;
    box-shadow: none;
  }

  .login-right {
    order: -1;
    width: 100%;
    padding: 30px 20px;
    border-radius: 12px 12px 0 0;
  }

  .login-left {
    width: 100%;
    padding: 30px 20px;
    border-radius: 0 0 12px 12px;
  }

  .login-right h1 {
    font-size: 1.6rem;
  }

  .login-right p {
    font-size: 0.95rem;
  }

  .login-left h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  input {
    font-size: 1rem;
    padding: 12px 40px 12px 12px;
  }

  .btn-primary {
    font-size: 1rem;
    padding: 14px;
  }
}