/* .header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 24px;
    margin-right: 120px;
} */
.header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 24px;
  margin-right: 0;
  box-sizing: border-box;
}

/* .header-logo {
  height: 40px;
} */
.header-logo {
  height: auto;
  max-height: 40px;
  max-width: 260px;
  width: 100%;
  object-fit: contain;
}

.container {
  display: flex;
  max-width: 1100px;
  width: 100%;
  background: var(--main-talana-white-primary);
  /* padding: 112px; */
  padding: 24px;
}

.login-section {
  padding: 40px;
  text-align: center;
}

.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--main-talana-white-primary);
}

.image-section img {
  max-width: 100%;
  height: auto;
}

.login-box h1 {
  font-size: 20px;
  margin-bottom: 10px;
}

input {
  width: 100%;
  height: 52px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid var(--main-talana-stroke-neutral-color);
  border-radius: 8px;
}

button {
  background-color: var(--main-talana-extended-secondary-extra_dark-color);
  color: var(--main-talana-white-primary);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
}

button:hover {
  background-color: var(--main-talana-button-background-hovered);
}

.forgot-password {
  color: var(--main-talana-text-black-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--body-md-size);
  line-height: var(--body-md-line-height);
}

.alternative-login {
  background: var(--main-talana-brand-light);
  padding: 15px;
  margin-top: 20px;
  border-radius: 8px;
  border: 2px solid var(--main-talana-surface-feedback-info-color);
}

.alternative-login-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alternative-login-options {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-left: 32px;
}

.talana-login-container {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.talana-login {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--main-talana-brand-light);
  color: var(--main-talana-text-black-primary);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--main-talana-stroke-secondary-color);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.talana-login:hover {
  background-color: var(--main-talana-brand-light);
  color: var(--main-talana-text-black-primary);
  border: 1.7px solid var(--main-talana-stroke-secondary-color);
}
.talana-login img {
  width: 20px;
  height: 14px;
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-container input {
  flex: 1;
  padding-right: 40px;
}

.password-container .material-symbols-outlined {
  position: absolute;
  right: 10px;
  cursor: pointer;
  color: var(--main-talana-text-black-primary);
}

.error-message {
  background: var(--main-talana-surface-feedback-error-light-color);
  color: var(--main-talana-surface-feedback-error-color);
  padding: 10px 0px 10px 0px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.error-message.success {
  background: var(--main-talana-surface-feedback-success-light-color) !important;
  color: var(--main-talana-surface-feedback-success-color) !important;
}

.divider {
  width: 56px;
  height: 0px;
  border: 4px solid var(--main-talana-brand-secondary-base);
  margin: 8px auto;
  border-radius: 16px;
}

.login-title {
  font-style: normal;
  font-weight: 700;
  font-size: 24px !important;
  line-height: 32px;
  text-align: center;
  color: rgba(14, 14, 25, 0.9);
}

.forgot-password-box {
  padding: 10px 12px 10px 12px;
}

.language-dropdown {
  position: relative;
  width: 220px;
  margin: 20px auto 0 auto;
  font-family: Inter, sans-serif;
}

.language-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #ffffff;
  border: 1.5px solid #a78bfa;
  border-radius: 8px;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.08);
  color: #0e0e19;
  font-size: 14px;
}

.language-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-selector .material-symbols-outlined {
  font-size: 18px;
}

.language-selector .arrow {
  transition: transform 0.2s ease-in-out;
}

.language-dropdown.open .arrow {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #a78bfa;
  border-radius: 8px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 50;
}

.language-dropdown.open .language-options {
  display: flex;
}

.language-option {
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: rgba(14, 14, 25, 0.9);
}

.language-option:hover {
  background: #f3f1ff;
}

.language-option.selected {
  background: #f3f1ff;
  font-weight: 600;
}

.talana-divider-line {
  width: 436px;
  height: 1px;
  background: #cfd8dc;
  border-radius: 16px;
  margin: 24px auto;
}

@media (max-width: 768px) {
  .header {
    justify-content: center;
    padding: 16px;
  }
  .header-logo {
    max-width: 220px;
    max-height: 36px;
  }
  .container {
    flex-direction: column;
    padding: 16px;
  }
  .login-section {
    padding: 16px;
  }
  .image-section {
    display: none;
  }
  .talana-divider-line {
    width: 100%;
  }

  .alternative-login-options {
    padding-left: 0;
    align-items: stretch;
  }
  .talana-login-container {
    flex-direction: column;
    align-items: stretch;
  }
  .talana-login {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

@media (min-width: 900px) and (max-height: 700px) {
  .header {
    justify-content: center;
    padding: 12px 16px;
  }

  .header-logo {
    max-width: 200px;
    max-height: 34px;
  }

  .container {
    padding: 24px;
  }
}
