﻿.loginPage {
  background: transparent url("../images//bg.jpg") 0% 0% no-repeat padding-box;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

.form-container {
  padding: 30px 40px;
  width: 480px;
  background-color: white;
  border-radius: 18px;
  display: flex;
  flex-flow: column nowrap;
  gap: 14px;
  align-items: flex-start;
}

.success-container {
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.success-subtext1 {
  font-size: 30px;
  color: #007bff;
}

.success-subtext2 {
  font-size: 45px;
  color: #007bff;
  font-weight: bold;
}

.success-subtext-container {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.form-heading {
  color: #007bff;
  font-size: 30px;
  width: 100%;
  text-align: center;
}

.form-field {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
}

.reset-btn {
  margin-top: auto;
  min-width: 200px;
  align-self: center;
  font-size: 25px;
}

.loginButton {
  width: 200px;
  height: 54px;
  border-radius: 14px;
  font-size: 25px;
}

.form-label {
  align-self: flex-start;
}

.formBtn {
  min-width: 200px;
  align-self: center;
}

.internal-user-link {
  align-self: center;
  font-size: 14px;
  color: #888;
}

.internal-user-link a {
  font-size: 14px;
}

/* Register prompt: light-blue pill below the login button */
.register-box {
  width: 100%;
  display: block;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: #eef4ff;
  text-align: center;
}

.register-box-text {
  font-size: 18px;
  color: #555;
}

.register-box-link {
  font-size: 18px;
  font-weight: 700;
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
  margin-inline-start: 6px;
}

.register-box-link:hover,
.register-box-link:focus {
  color: #0069d9;
  text-decoration: underline;
}

.form-center {
  align-self: center;
}

.checkbox-label {
  margin-right: 10px;
}

.form-field-wrapper {
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}

.error-message {
  color: red;
  font-size: 16px;
}

.phone-number-label {
  font-size: 16px;
  color: gray;
}

.form-subheading {
  font-weight: 600;
  align-self: center;
  margin-top: -20px;
  margin-bottom: 0px;
}

.form-helper-text {
  margin-top: -12px;
  margin-bottom: -12px;
  text-align: right;
}

@media only screen and (max-width: 600px) {
  .loginPage {
    background: none;
  }

  .form-container {
    width: 100%;
    height: 100%;
    padding: 20px 16px;
    border-radius: 0;
  }

  .formBtn {
    font-size: 20px;
    font-weight: 600;
    width: 100%;
  }
  .form-heading {
    padding-top: 60px;
  }
}

/* Hide the eye icon for the input with id="password" across multiple browsers */
#password::-ms-reveal, /* Edge */
#password::-ms-clear, /* Edge */
#password::-webkit-textfield-decoration-container, /* Safari */
#password::-webkit-clear-button, /* Chrome/Safari clear button */
#password::-webkit-password-toggle {
  /* Chrome, Safari */
  display: none;
}

/* Language switcher (bottom-left) */
.lang-switcher-fixed {
  position: absolute;
  left: 20px;
  top: 16px;
  z-index: 1000;
  direction: ltr;
}

/* Flip position by page direction */
[dir="ltr"] .lang-switcher-fixed {
  right: 20px;
  left: auto;
}

[dir="rtl"] .lang-switcher-fixed {
  left: 20px;
  right: auto;
}

[dir="ltr"] .eye-icons-wrapper {
  right: 10px;
  left: auto;
}

[dir="rtl"] .eye-icons-wrapper {
  left: 10px;
  right: auto;
}

.lang-select {
  padding: 8px 12px;
  background: #ffffff;
  color: #222222;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
}