/* ===================================
   LOGIN PAGE - EXACT FIGMA DESIGN
   =================================== */

/* Main container - Full screen white background */
.login-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Left side image - Fixed 500px width */
.login-side-image {
  position: fixed;
  left: 0;
  top: 0;
  width: 500px;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.login-side-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

/* Right side content - Centered form */
.login-content-wrapper {
  position: relative;
  width: 392px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 104px;
  z-index: 2;
  margin: 199px auto 100px auto;
  padding: 0 24px;
}

/* Logo section */
.login-logo-container {
  width: 180px;
  height: 45px;
  position: relative;
}

.login-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Form container */
.login-form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Header text section */
.login-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: center;
}

.login-title {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.16px;
  color: #000000;
  margin: 0;
}

.login-subtitle {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.084px;
  color: #767676;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Form fields section */
.login-form-fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.login-inputs-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-inputs-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Text input component */
.login-text-input {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-input-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.176px;
  color: #151515;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.login-input-wrapper {
  position: relative;
  width: 100%;
  height: 34px;
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  box-sizing: border-box;
}

.login-input-field {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.084px;
  color: #151515;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  box-shadow: none;
}

.login-input-field::placeholder {
  color: #a1a1a1;
}

.login-input-field:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.login-input-wrapper:focus-within {
  border-color: #d4d4d4;
  outline: none;
  box-shadow: none;
}

/* Password visibility toggle icon */
.login-password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 15.545px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-password-toggle svg {
  width: 100%;
  height: 100%;
  color: #151515;
}

/* Forgot password link */
.login-forgot-password-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.login-forgot-password-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.084px;
  color: #151515;
  text-decoration: underline;
  text-decoration-position: from-font;
  text-underline-position: from-font;
  white-space: pre;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.login-forgot-password-link:hover {
  opacity: 0.8;
}

/* Primary button */
.login-primary-button {
  width: 100%;
  background-color: #0a0f1f;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.login-primary-button:hover {
  opacity: 0.9;
}

.login-primary-button:active {
  opacity: 0.8;
}

.login-button-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.084px;
  color: #ffffff;
  white-space: pre;
  margin: 0;
}

/* Responsive adjustments */

/* Desktop with sidebar */
@media (min-width: 1200px) {
  .login-content-wrapper {
    margin-left: calc(500px + (100% - 500px - 392px) / 2);
    margin-right: auto;
  }
}

/* Tablet landscape */
@media (max-width: 1199px) and (min-width: 993px) {
  .login-side-image {
    width: 400px;
  }
  .login-content-wrapper {
    margin-left: calc(400px + (100% - 400px - 392px) / 2);
    margin-right: auto;
  }
}

/* Tablet portrait and mobile */
@media (max-width: 992px) {
  .login-side-image {
    display: none;
  }
  
  .login-content-wrapper {
    margin: 0 auto;
    padding: 40px 24px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    gap: 80px;
  }
  
  .login-logo-container {
    width: 160px;
    height: 40px;
  }
  
  .login-title {
    font-size: 28px;
    line-height: 36px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .login-content-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 32px 20px;
    gap: 60px;
  }
  
  .login-logo-container {
    width: 140px;
    height: 35px;
  }
  
  .login-title {
    font-size: 24px;
    line-height: 32px;
  }
  
  .login-subtitle {
    font-size: 13px;
  }
  
  .login-input-label {
    font-size: 15px;
  }
  
  .login-input-field {
    font-size: 13px;
  }
  
  .login-primary-button {
    padding: 12px 20px;
    font-size: 13px;
  }
}
