/* Login Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@700&family=Inter:wght@400;600;700&family=Lato:wght@700&display=swap');

:root {
  --homepage-button-heading-font-family: 'Inter', sans-serif;
  --homepage-button-heading-font-weight: 600;
  --homepage-button-heading-font-size: 24px;
  --homepage-button-heading-letter-spacing: 0;
  --homepage-button-heading-line-height: normal;
  --pop-up-body-text-font-family: 'Inter', sans-serif;
  --pop-up-body-text-font-weight: 400;
  --pop-up-body-text-font-size: 20px;
  --pop-up-body-text-letter-spacing: 0;
  --pop-up-body-text-line-height: normal;
  --heading-three-font-family: 'Encode Sans', sans-serif;
  --heading-three-font-weight: 700;
  --heading-three-font-size: 20px;
  --heading-three-letter-spacing: 0;
  --heading-three-line-height: normal;
  --grey: #f2f2f2;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.login-container {
  display: flex;
  height: 100vh;
  background-color: #ffffff;
}

.login-left {
  flex: 1;
  background-image: url('/images/login-bg.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.login-logo img {
  width: 150px;
  margin-bottom: 2rem;
}

.login-content {
  margin-top: auto;
  margin-bottom: 4rem;
  max-width: 80%;
}

.login-content h1 {
  font-family: 'Encode Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.login-content p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 1.5rem;
}

.login-right {
  flex: 1;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #c4c4c4;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
}

.website-link {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #232A69;
  text-decoration: underline;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.login-form-container {
  width: 80%;
  max-width: 500px;
  padding: 2rem 0;
}

.login-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.login-header p {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: #333;
}

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

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

.form-group label {
  font-size: 1.5rem;
  font-weight: 600;
}

.form-group input {
  padding: 1rem;
  border: 1px solid #c4c4c4;
  font-size: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: #c4c4c4;
}

.password-group {
  position: relative;
}

.forgot-password {
  position: absolute;
  right: 0;
  bottom: -2rem;
  color: #232A69;
  text-decoration: underline;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.login-btn {
  margin: 3rem auto 0;
  width: 40%; /* narrower and responsive */
  padding: 1rem;
  background-color: #232A69;
  color: white;
  font-size: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
}


.signup-link {
  text-align: center;
  margin-top: 1rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.signup-link a {
  color: #232A69;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }
  
  .login-left {
    height: 40vh;
  }
  
  .login-content {
    margin-top: 0;
  }
  
  .login-content h1 {
    font-size: 2rem;
  }
  
  .login-right {
    height: 60vh;
    overflow-y: auto;
  }
  
  .login-form-container {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .login-form-container {
    width: 95%;
  }
  
  .login-header h2 {
    font-size: 1.75rem;
  }
  
  .form-group label {
    font-size: 1.25rem;
  }
  
  .form-group input {
    font-size: 1rem;
  }
}