/* Login page specific styles */
body {
  font-family: 'Noto Sans', sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 70px;
  background-color: var(--primary-bg);
  color: var(--primary-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-container {
  display: flex;
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Left side with form */
.login-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.login-left::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  height: 80%;
  width: 1px;
  background: var(--accent-color);
}

.form-wrapper {
  width: 100%;
  max-width: 480px;
  padding: 20px;
}

.form-wrapper h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: var(--primary-text);
  font-weight: 700;
}

.form-intro {
  color: var(--secondary-text);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Social login buttons */
.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-bg);
  border: 1px solid var(--accent-color);
  color: var(--primary-text);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.social-button:hover {
  border-color: var(--highlight-color);
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

.google-button:hover {
  background-color: rgba(66, 133, 244, 0.1);
}

.microsoft-button:hover {
  background-color: rgba(0, 120, 212, 0.1);
}

/* Separator */
.separator {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--secondary-text);
  font-size: 0.9rem;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--accent-color);
}

.separator span {
  padding: 0 15px;
}

/* Form elements */
.form-group {
  margin-bottom: 20px;
}

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

.form-group input {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-bg);
  border: 1px solid var(--accent-color);
  color: var(--primary-text);
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 2px rgba(255, 51, 102, 0.2);
  outline: none;
}

/* Forgot password link */
.forgot-password-link {
  text-align: right;
  margin-bottom: 24px;
}

.forgot-password-link a {
  color: var(--highlight-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.forgot-password-link a:hover {
  text-decoration: underline;
}

/* Login button */
.login-button {
  width: 100%;
  padding: 14px;
  background-color: var(--highlight-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

/* Register link */
.register-link {
  text-align: center;
  color: var(--secondary-text);
  font-size: 0.9rem;
}

.register-link a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 500;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Back to login link */
.back-to-login-link {
  text-align: center;
  margin-top: 20px;
}

.back-to-login-link a {
  color: var(--highlight-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.back-to-login-link a:hover {
  text-decoration: underline;
}

/* Hidden elements */
.hidden {
  display: none;
}

/* Message boxes */
.message-box {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.error-message {
  background-color: rgba(255, 74, 74, 0.1);
  border: 1px solid #ff4a4a;
  color: #ff4a4a;
}

.success-message {
  background-color: rgba(0, 204, 102, 0.1);
  border: 1px solid #00cc66;
  color: #00cc66;
}

/* Right side with graphic and tips */
.login-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.graphic-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  width: 100%;
}

.illustration {
  width: 100%;
  max-width: 400px;
  margin: 20px 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Tip box styling */
.tip-box {
  background-color: var(--secondary-bg);
  border: 1px solid var(--accent-color);
  border-left: 4px solid var(--highlight-color);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 30px;
  width: 100%;
  box-shadow: var(--box-shadow);
}

.tip-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: var(--highlight-color);
}

#tip-content {
  color: var(--secondary-text);
  line-height: 1.6;
}

#tip-content p {
  margin: 0;
}

/* Benefits list */
.benefits {
  width: 100%;
  margin-top: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.benefit-icon {
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-text {
  color: var(--secondary-text);
  font-size: 1rem;
}

/* Responsive design */
@media (max-width: 1024px) {
  .login-container {
    flex-direction: column;
    padding: 20px;
  }
  
  .login-left {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .login-left::after {
    display: none;
  }
  
  .login-right {
    width: 100%;
  }
  
  .form-wrapper {
    max-width: 100%;
  }
  
  .illustration {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .form-wrapper h1 {
    font-size: 2rem;
  }
  
  .illustration {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .form-wrapper h1 {
    font-size: 1.8rem;
  }
  
  .form-intro {
    font-size: 1rem;
  }
  
  .login-container {
    padding: 20px 15px;
  }
}