* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  height: 100vh;
  margin: 0;
  background-color: #f8f9fa;
}

.container {
  display: flex;
  height: 100vh;
}

.left-side {
  flex: 1.7;
  overflow: hidden;
  position: relative;
}

.promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-side {
  flex: 0.7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  background-color: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.login-container {
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 2rem;
}

.logo {
  width: 140px;
  margin-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.welcome-text {
  text-align: center;
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: #34495e;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: #646cff;
}

.password-input-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #95a5a6;
}

input {
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

input:focus {
  outline: none;
  border-color: #646cff;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(100, 108, 255, 0.1);
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: -0.5rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #7f8c8d;
}

button {
  padding: 1rem;
  background-color: #646cff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

button:disabled {
  background-color: #e0e0e0;
  cursor: not-allowed;
}

button:not(:disabled):hover {
  background-color: #535bf2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(100, 108, 255, 0.2);
}

.links {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.links a {
  color: #646cff;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.links a:hover {
  color: #535bf2;
}

.footer {
  width: 100%;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.copyright {
  color: #7f8c8d;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #646cff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #535bf2;
}

.separator {
  color: #e0e0e0;
}

@media (max-width: 1024px) {
  .container {
    flex-direction: column;
  }
  
  .left-side {
    height: 30vh;
  }
  
  .right-side {
    flex: none;
    height: 70vh;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .left-side {
    display: none;
  }
  
  .right-side {
    height: 100vh;
  }
  
  .login-container {
    padding: 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .separator {
    display: none;
  }
}