@font-face {
  font-family: "Font Awesome 6 Free";
  src: url("{!$Resource.FontAwesome_font}");
  format("woff2");
}

@font-face {
  font-family: "FS Elliot ProRegular";
  src: url("{!$Resource.IAM_Font}");
  format("otf");
}
body {
  font-size: 14px;
  font-weight: 400;
  background-color: #ffffff;
  font-family: "FS Elliot ProRegular";
}
*,
*:before,
*:after {
  box-sizing: border-box;
}

.date-part .member-number{
  width: 89%;
}

.text {
  font-size: 18px;
  height: 3rem;
  font-family: "FS Elliot ProRegular";
  border-radius: 6.5px;
  width: 100%;
  border: 1px solid lightgray;
  position: relative;
  padding-left: 2.2rem;
  box-sizing: border-box;
}
.field-box {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 1.5rem;
  /* width: 27rem; */
  width: 100%;
  position: relative;
}

.field-box .inputLabel {
  position: absolute;
  top: -8px;
  left: 2.2rem;
  color: #aaa;
  pointer-events: none;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
  padding: 0 0.2rem;
}

/* AQUI */

.field-box .inputLabelUp {
  
  color: #aaa;
  font-size: 15px;
  font-weight: 700;
  padding: 0 0.2rem;
}


.field-box.email:before,
.field-box.password:before,
.field-box.name:before,
.field-box.phone:before,
.field-box.capslock-on:before,
.field-box.memberNumber:before,
.field-box.birthDate:before {
  padding: 0.5rem;
  padding-top: 0.8rem;
  z-index: 1;
}
.field-box.email:before {
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
}
.field-box.name:before {
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
}

.field-box.birthDate:before {
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
}

.field-box.memberNumber:before {
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
}

.field-box.phone:before {
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
}

.field-box.password:before {
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
}
.capslock-on::before {
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
}
.fa {
  font-size: 1.5rem;
  padding-left: 0.5rem;
  color: red;
  font-family: "Font Awesome 6 Free" !important;
}
.btn-login {
  background-color: #d7181f;
  color: white;
  font-weight: 700;
  border-radius: 12px;
  /* padding: 16px 20px; */
  height: 48px;
  font-size: 16px;
  width: 100%;
  border: 0px solid #d7181f;
  cursor: pointer;
}
.centered-outer {
  background-color: white;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 25rem;
}
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.login-main {
  background-color: white;
  width: 100%;
  max-width: 25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auxButtonContainer {
  padding-top: 1rem;
  text-align: center;
  margin-right: 1rem;
  padding-right: 5px;
}
.auxButton {
  cursor: pointer;
  font-weight: 700;
  color: #d7181f;
  font-size: 16px;
}
.auxButton::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
  transition: all 0.5s;
  padding-left: 5px;
  font-weight: 400;
}
.auxButton:hover:after {
  transform: translate(5px);
}
.forgot-pwd {
  text-align: right;
  font-size: 1rem;
}
.registerTitle {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
}

.password-strength-bar {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  border-radius: 1rem;
  color: #d7181f;
  background-color: #d7181f;
  height: 0.5rem;
  padding-right: 0.5rem;
}

.passwordStrengthSegment {
  flex: 1 1 0;
  height: 0.5rem;
  border-radius: 0.25rem;
  background: #eee;
  transition: background 0.3s;
  width: 100%;
  margin-left: 5px;
  margin-right: 5px;
}

.segment-filled {
  background: #d7181f;
}

.password-criteria-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}
.password-criteria-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}
.password-criteria-list .icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.backButtonContainer {
  padding-top: 1rem;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: #d7181f;
}
.backButton {
  cursor: pointer;
}
.backButton::before {
  content: "\f053";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  color: #d7181f;
  font-size: 1.2rem;
  pointer-events: none;
  transition: all 0.5s;
  font-weight: 400;
}
.backButton:hover:before {
  transform: translate(-5px);
}
.backButtonLabel {
  padding-left: 19px;
}
.toggle-switch {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.toggle-switch input {
  display: none;
}
/* Make the slider taller and more pill-shaped */
.slider {
  width: 4rem;
  height: 2rem; /* Increased height */
  background: #ccc;
  border-radius: 1rem;
  position: relative;
  transition: background 0.3s;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}
.slider:before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
  width: 1.6rem; /* Increase width for a bigger knob */
  height: 1.6rem; /* Increase height for a bigger knob */
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}
.toggle-switch input:checked + .slider {
  background: #d7181f;
}
.toggle-switch input:checked + .slider:before {
  transform: translateX(2rem);
}
.toggle-label {
  font-size: 1.1rem;
}
.birthDate-group {
  position: relative;
  background: #fff;
  border-radius: 6.5px;
  border: 1px solid #ccc;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  height: 3rem;
}

.date-inputs {
  width: 100%;
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
}

.date-part {
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  height: 3rem;
  border-radius: 6.5px;
  text-align: center;
  margin: 0 0.1rem;
  padding-left: 1rem;
  padding-top: 0;
  padding-bottom: 0;
  text-align: left;
  font-family: "FS Elliot ProRegular";
}
/* Chrome, Safari, Edge */
.date-part::-webkit-outer-spin-button,
.date-part::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.date-part[type="text"] {
  -moz-appearance: textfield;
}
.date-part:first {
  padding-left: 2.2rem;
}

.date-separator {
  font-size: 1.2rem;
  color: #bbb;
  margin: 0 0.1rem;
  user-select: none;
}
.input-action-btn {
  position: absolute;
  bottom: 0;
  top: 0;
  margin: auto;
  height: 2rem;
  right: 0.5rem;
  background: #d7181f;
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 0.3rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}
.input-action-btn:hover {
  background: #a01c26;
}
.field-box {
  position: relative;
}
.errorMessageContainer {
  font-size: 16px;
}
.success-message {
  color: green;
  font-size: 1.2rem;
  margin-top: 1rem;
  text-align: center;
  padding-bottom: 1rem;
}
.success-message-password {
  color: green;
  font-size: 17px;
  text-align: center;
  padding-bottom: 1rem;
}
.error-message {
  color: red;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* AQUI */
         
.show-password-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
    transform: translateY(0%);

  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #b8222e;
  z-index: 2;
}

.date {
  width: 20%;
}

.name-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem; /* Adjust spacing as needed */
}

@media (min-width:375px) and (max-width: 600px) {
  .date {
    width: 26%;
  }

  .centered-outer {
    width: 90%;
    max-width: 25rem;
  }
  .login-main {
    max-width: 100vw;
    width: 100%;
    padding: 0 0.5rem;
  }
  .logo-container {
    margin-bottom: 1rem;
  }
  .logo-acp {
    max-width: 70vw;
    height: auto;
  }
  .btn-login {
    font-size: 1.1rem;
    padding: 0.7rem 0.5rem;
  }
  /* .text {
					font-size: 1rem;
					height: 2.5rem;
					width: 100%;
				} */

  /* .date-part {
					font-size: 1rem;
					height: 2.5rem;
				} */
  ./* birthDate-group {
					height: 2.5rem;
				} */

				.field-box.email:before,
				.field-box.password:before,
				.field-box.name:before,
				.field-box.phone:before,
				.field-box.capslock-on:before,
				.field-box.memberNumber:before,
				.field-box.birthDate:before {
    padding-top: 0.6rem;
  }
  .fullContainer {
    padding: 0 1rem;
  }
}

@media (max-width: 374px) {
  .date {
    width: 30%;
  }

  .centered-outer {
    width: 90%;
    max-width: 25rem;
  }
  .login-main {
    max-width: 100vw;
    width: 100%;
    padding: 0 0.5rem;
  }
  .logo-container {
    margin-bottom: 1rem;
  }
  .logo-acp {
    max-width: 70vw;
    height: auto;
  }
  .btn-login {
    font-size: 1.1rem;
    padding: 0.7rem 0.5rem;
  }

  .field-box .inputLabel{
    font-size: 13px;
  }

  .field-box .inputLabelUp{
    font-size: 13px;
  }

  .date-part {
    font-size: 16px;
  }

  .text {
    font-size: 16px;
  }

  .btn-login{
    font-size: 15px;
  }

  .backButtonContainer{
    font-size: 14px;
  }

  .registerTitle{
    font-size: 18px;
  }

  .error-message{
    font-size: 17px;
  }

  .success-message{
    font-size: 17px;
  }

  .toggle-label{
    font-size: 15px;
  }

  .auxButton{
    font-size: 14px;
  }
}
