* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.eye-icon {
  cursor: pointer;
  width: 20px;
  margin-left: 10px;
}

.password-wrapper {
  display: flex;
  align-items: center;
}

body, html {
  height: 100%;
  background-color: #1e1e1e; /* black background */
  font-family: 'Poppins', sans-serif;
}

.link-group {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}


.page {
  display: flex;
  height: 100vh;
  width: 100%;
  padding-left: 16px; /* ONLY padding left */
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 64px;
}


.login-container {
  background: white;
  flex: 1;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-content {
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 20px;
}

.logo {
  width: 325px;
  margin-bottom: 10px;
  display: block;
}

.welcome-text {
  font-size: 24px;
  font-weight: 600;
  color: #262626;
  text-align: left; /* <<--- left aligned now */
}

.subtext {
  font-size: 14px;
  color: #a1a1a1;
  text-align: left; /* <<--- left aligned now */
}

/* Form styling stays the same: */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: #a1a1a1;
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid #dfdfdf;
  border-radius: 12px;
  font-size: 14px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.remember-me input {
  margin-right: 6px;
}

.forgot-password {
  color: #416ff0;
  text-decoration: none;
  font-size: 14px;
}

.login-button {
  background-color: #c99f86;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  margin-top: 10px;
}

/* Right Image Container */
.image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-right: 0; /* REMOVE right gap */
}

.image-container img {
  width: 100%;
  height: auto;
  max-height: 75%;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
}

.back-link {
  font-size: 14px;
  color: #262626;
  text-decoration: none;
  margin-bottom: 20px;
  display: inline-block;
}

.otp-inputs {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.otp-box {
  width: 40px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: 1px solid #dfdfdf;
  border-radius: 8px;
}




/* *********  sizing adjustments ************ */
.mobile-header {
  display: none;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  object-fit: cover;
  overflow: hidden;
}

/* Prevent mobile-header from escaping login-content padding */
.login-content {
  overflow: hidden;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

/* Mobile & Tablet Responsive Styles */
@media (max-width: 1024px) {
  .page {
    flex-direction: column;
    padding: 16px;
    gap: 24px;
  }

  .image-container {
    display: none !important;
  }

 .mobile-header {
	  display: block;
	  width: 100%;
	  max-width: 320px;
	  height: auto;
	  max-height: 140px; /* 👈 limit vertical height */
	  margin: 0 auto 12px;
	  border-top-left-radius: 24px;
	  border-top-right-radius: 24px;
	  object-fit: cover;
	  object-position: center top; /* or 'center center' or 'center bottom' */
	}
	
  /* Shrink logo slightly */
  .logo {
    width: 60%;
    max-width: 240px;
    margin: 8px auto 12px; /* Less bottom space */
  }

  .login-content {
    padding: 20px;
    gap: 16px;
  }

  .welcome-text, .subtext {
    text-align: center;
  }

  .options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .link-group {
    flex-direction: column;
    gap: 6px;
  }

  .login-button {
    font-size: 14px;
    padding: 12px;
  }

  .form-group input {
    font-size: 16px;
    padding: 12px;
  }

  .forgot-password {
    font-size: 13px;
  }
}


@media (max-width: 1024px) {
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body {
    display: flex;
    justify-content: center;
    align-items: center;
    overscroll-behavior: none; /* iOS bounce fix */
  }

  .page {
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
  }

  .login-container {
    max-width: 500px;
    width: 100%;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
  }
	
	body {
	  overscroll-behavior: none;
	}
	
	
/* Shrink logo slightly */
  .logo {
    width: 60%;
    max-width: 240px;
    margin: 4px auto 5px; /* Less bottom space */
  }
	
/* Tighten text spacing */
  .welcome-text {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 20px;
  }

  .subtext {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 13px;
  }

  /* Optional: reduce gap between form groups */
  .login-form {
    gap: 12px;
  }

  .form-group {
    gap: 6px;
  }

  .login-button {
    margin-top: 6px;
    padding: 12px;
  }
	
}



