/* Modal */

.title-with-color,
.title-text,
a,
span,
button {
  font-family: "Poppins", "Noto Sans Thai", "Noto Sans Thai Bold", sans-serif;
}

.a-link {
  cursor: pointer;
  color: #4B62E6;
  transition: .1s;
}

.a-link:hover {
  text-decoration: underline;
  color: #374dc8;
}

.m-r-5 {
  margin-right: 5px;
}

#modal_form_login {
  top: 0;
  z-index: 1900;
}

#modal_form_login .modal-dialog {
  margin: auto;
  margin-top: 5%;
  font-family: "Poppins", "Noto Sans Thai", "Noto Sans Thai Bold", sans-serif;
  /* font-family: "Roboto", "Noto Sans Thai", "Noto Sans Thai Bold", sans-serif; */
  max-width: 520px;
}

#modal_form_login .modal-content {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
}

#modal_success_forgot_password .modal-header,
#modal_form_login .modal-header {
  border: none;
  text-align: right;
  padding: 8px 8px 0px 8px;
}

#modal_form_login .modal-body {
  padding: 16px 5% 32px 5%;
  transition: height 0.1s ease;
  height: auto;
}

#modal_success_forgot_password .btn-modal-close,
#modal_form_login .btn-modal-close {
  border: none;
  background: none;
  font-size: 26px;
  color: #657285;
  padding: 0 6px;
  line-height: 1;
  border-radius: 50px;
  transition: .2s;
}

#modal_form_login .btn-modal-close:hover {
  background: #eaf0f8;
}

/* sesec-header */
#modal_form_login .sesec-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

#modal_form_login .sesec-header .logo {
  width: 160px;
}

#modal_form_login .sesec-header .desc {
  color: #657285;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

/* sesec-center */
#modal_form_login .sesec-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* sesec-footer */
#modal_form_login .sesec-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

}

#modal_form_login .btn-icon-login {
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #EAEBF3;
  background: #FFF;
  max-width: 380px;
  transition: .2s;
}

#modal_form_login .btn-icon-login:hover {

  background: #f6f7fd;
}

#modal_form_login .btn-icon-login .icon {
  width: 20px;
}

#modal_form_login .btn-icon-login .text {

  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.lable-shield {
  display: flex;
  padding: 5px 0;
  align-items: center;
  gap: 10px;
}

.lable-shield .text {
  font-size: 13px;
  font-weight: 400;
}

.lable-shield .icon {
  width: 18px;
}

.divider-or {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 8px 0 12px;
  color: #2f3540;
  font-size: 16px;
  font-weight: 400;
  max-width: 380px;
}

.divider-or::before,
.divider-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #DFE0E1;
}

.divider-or span {
  white-space: nowrap;
}

/* form */
.form-register {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 380px;
}

.form-register h3 {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 0;
}

.form-register .form-group {
  width: 100%;
}

.form-register .inp-cbx:checked+.cbx span:first-child svg {
  stroke-dashoffset: 0;
  top: 4px;
  left: 2px;
}

.form-register .txt-policy-freetool {
  font-size: 12px;
  width: 100%;
  padding: 5px 0px 0px 0px;
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 100;
  line-height: 16px;
  color: #202124;
  height: 54px;
  overflow-y: auto;
}

.form-register .desc {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #657285;
}

.font-20 {
  font-size: 20px;
}

.font-gray {
  color: #657285;
}

.font-red {
  color: #F72105;
}

/* alert */
.alert-mailvalid,
.alert-empty {
  display: none;
  color: red;
  font-size: 12px;
  margin-bottom: -12px;
}

.icon-alert-empty {
  position: absolute;
  top: 13px;
  right: 15px;
  font-size: 18px;
}

.alert-empty-privacy {
  display: none;
  position: absolute;
  left: 24px;
  top: -10px;
  font-size: 12px;
  margin: 0;
}

.inp-register {
  border: 1px solid #B8C1C9;
  border-radius: 5px;
  padding: 10px;
  height: 44px;
}

.inp-register:focus {
  border: 1px solid #0172FF;
  box-shadow: none;
}

.box-require {
  background-color: black;
  background: #FFFFFF;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  position: absolute;
  margin-bottom: 10px;
  bottom: 100%;
  right: 0;
  padding: 20px;
  display: none;
}

.box-require.arrow-bottom:after {
  content: " ";
  position: absolute;
  left: 35%;
  bottom: -15px;
  border-top: 15px solid #fff;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-bottom: none;
}

.btn-close-require {
  display: inline-block;
  cursor: pointer;
  position: absolute;
  top: -30px;
  right: -30px;
  border-radius: 50%;
  border: 1px solid;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #657285;
  font-size: 21px;
  padding: 3px;
  background-color: #fff;
}

.btn-main-color {
  background: #4B62E6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  color: #fff;
  width: 100%;
  padding: 8px 24px;
  max-width: 210px;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  margin-top: 20px;
  transition: .2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-main-colore:hover {
  background: #3b52d3;
}

.boc-btn-back {
  width: 100%;
  text-align: left;
}

.btn-back-icon {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  cursor: pointer;
}

.btn-back-icon .icon {
  color: #0172FF;
  font-size: 18px;
}

.btn-back-icon .text {
  color: #0172FF;
  font-size: 13px;
  font-weight: 400;
}

.btn-back-icon:hover .icon,
.btn-back-icon:hover .text {
  color: #374dc8;
}

.btn-back-icon:hover .text {
  text-decoration: underline;
}

#modal_success_forgot_password {
  top: 0;
}

#modal_success_forgot_password .modal-dialog {
  top: 10%;
  max-width: 400px;
  width: 90%;
  margin: auto;

}

#modal_success_forgot_password .modal-content {
  border-radius: 16px;
}

#modal_success_forgot_password .modal-body {
  text-align: center;
  font-family: "Roboto", "Noto Sans Thai", "Noto Sans Thai Bold", sans-serif;
}

#modal_success_forgot_password .sub-title .desc {
  font-size: 16px;
}

#modal_success_forgot_password .info {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  #modal_form_login .modal-dialog {
    width: 90%;
  }
}