* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-purple: #b59e9c;
  --dark-purple: #b59e9c;
  --light-purple: #b59e9c;
  --accent-purple: #b59e9c;
  --white: #ffffff;
  --light-gray: #f8f7ff;
  --dark-text: #1f2937;
  --border-color: #b59e9c;
}

.login-container {
  width: 100%;
  padding: 20px;
  max-width: 100%;
  background: var(--white);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left Side - Decorative */
.login-left {
  background: linear-gradient(135deg,
      var(--primary-purple) 0%,
      var(--dark-purple) 100%);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-radius: 20px 0px 0px 20px;
}

.login-left::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.login-left::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(20px);
  }
}

.login-left-content {
  position: relative;
  z-index: 1;
}

.login-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.login-left p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 30px;
}

.feature-list-redesigned {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item-redesigned {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid rgba(255, 255, 255, 0.5);
}

.feature-item-redesigned:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.feature-icon-redesigned {
  font-size: 1.2rem;
  color: var(--white);
  width: 30px;
  text-align: center;
}

.feature-item-redesigned span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  opacity: 0.95;
}

/* Right Side - Form */
.login-right {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 0px 20px 20px 0px;
}

.login-form-header {
  margin-bottom: 40px;
}

.login-form-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.login-form-header p {
  color: #6b7280;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--dark-text);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(139, 90, 142, 0.1);
  background: var(--white);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #b59e9c;
}

.remember-me label {
  margin: 0;
  cursor: pointer;
  color: var(--dark-text);
  font-weight: 500;
}

.forgot-password {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: var(--dark-purple);
}

.login-btn {
  width: 100%;
  padding: 14px;
  background-color: #b59e9c;
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.login-btn:hover {
  background-color: #8b7a79;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 158, 188, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.signup-link {
  text-align: center;
  color: var(--dark-text);
  font-size: 0.95rem;
}

.signup-link a {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.signup-link a:hover {
  color: var(--dark-purple);
}

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: none;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Responsive Design */
@media (max-width: 992px) {
  .login-container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
  }

  .login-left {
    padding: 40px 30px;
    min-height: 400px;
    order: -1;
  }

  .login-left h2 {
    font-size: 1.8rem;
  }

  .login-right {
    padding: 40px 30px;
    order: 1;
  }

  .login-form-header h1 {
    font-size: 1.5rem;
  }

  .social-login {
    grid-template-columns: 1fr;
  }

  .step-indicator {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step-line {
    display: none;
  }

  .step {
    margin: 0 10px;
  }

  body {
    padding: 0;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .login-container {
    border-radius: 15px;
  }

  .login-left {
    padding: 30px 20px;
    min-height: 400px;
  }

  .login-right {
    padding: 30px 20px;
  }

  .login-left h2 {
    font-size: 1.5rem;
  }

  .login-form-header h1 {
    font-size: 1.3rem;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 16px;
  }

  .login-btn {
    padding: 12px;
  }
}