:root {
  --primary-color: #5329D3;
  --button-color: #6231F4;
  --testimonial-color: #471FBE;
  --text-color: #333333;
  --light-text: #666666;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  padding: 24px;
}

.login-container {
  display: flex;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
}

/* Left Section */
.left-section {
  width: 50%;  
  min-width: 520px; 
  min-height: 800px; 
  background: var(--primary-color);
  border-radius: 12px;
  padding: 3.5rem;  
  color: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(83, 41, 211, 0.1);  
  position: relative;
  overflow: hidden;
}

.radius-background {
  position: absolute;
  left: -20%;  
  bottom: -17%;  
  width: 450px;  
  height: 450px;
  z-index: 0;  
  pointer-events: none; 
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.logo-container {
  margin-bottom: 4rem;
}

.logo {
  width: auto;
  height: 2.5rem; 
}

.hero-content {
  margin-bottom: 4rem;
}

.hero-content h1 {
  font-size: 3.5rem;  
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.125rem;  
  line-height: 1.5;
  opacity: 0.8;
  max-width: 26rem; 
}

.testimonial {
  background: var(--testimonial-color);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: auto;
  backdrop-filter: blur(10px);  
}

.testimonial > p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.author-image {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 500;
}

.author-info p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.slider-dots {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dot.active {
  background: var(--white);
}

/* Right Section */
.right-section {
  flex: 1;
  padding: 48px 0;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -40px;
}

.right-section h2 {
  font-size: 32px;
  color: var(--text-color);
  margin-bottom: 8px;
}

.signup-text {
  color: var(--light-text);
  margin-bottom: 40px;
}

.signup-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 15px;
}

.password-input {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #666666;
}

.toggle-password:hover {
  color: var(--primary-color);
}

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

.password-options {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--light-text);
}

.reset-password {
  color: #FF5C5C;
  text-decoration: none;
  font-weight: 500;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.remember-me label {
  color: var(--light-text);
  font-size: 14px;
}

.sign-in-btn {
  width: auto;
  min-width: 120px;
  padding: 14px 48px;
  background: var(--button-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sign-in-btn:hover {
  background-color: #5628DC;
}

/* Responsive styles */
@media (max-width: 873px) {
  body {
    padding: 1rem;
  }

  .login-container {
      gap: 0;
  }

  .left-section {
      display: none;
  }

  .right-section {
      width: 100%;
      max-width: 100%;
      padding: 2rem;
      margin: 0;
      border-radius: 12px;
  }

  .right-section h2 {
      font-size: 1.75rem; 
  }

  .form-group input {
      padding: 0.875rem 1rem; 
  }

  .sign-in-btn {
      padding: 1rem; 
      width: 100%;
  }
}

@media (max-width: 380px) {
  .right-section {
      padding: 1.5rem;
  }

  .right-section h2 {
      font-size: 1.5rem;
  }

  .signup-text {
      font-size: 0.875rem;
  }
}