@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
  font-family: 'Inter', 'Open Sans', Helvetica, Arial, sans-serif;
  color: #091e42;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.h-100 {
  height: 100%;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.m-0 {
  margin: 0 !important;
}

.d-none {
  display: none;
}

/* ----------------- */

.login-pf body {
  background-color: white;
}

.login-pf-page {
  /* width: 50vw; */
  min-height: 100%;
}

.fpt-img-bg {
  padding: 50px;
  background-color: #0052cc !important;
  height: 100%;
  display: flex;
}

.fpt-img {
  margin: auto;
  max-height: 100%;
  content: url('../img/Illustration.png');
}

.fpt-img-reg {
  margin: auto;
  max-height: 100%;
  content: url('../img/Illustration_reg.png');
}

.fpt-bg-container {
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../img/bg-full.png');
  min-height: 100vh;
}

@media screen and (max-width: 1441px) {
  .fpt-bg-container {
    background-image: url('../img/bg-1440.png');
  }
}

@media screen and (max-width: 992px) {
  .row.responsive-layout {
    flex-direction: column !important;
    flex: 1;
  }

  .fpt-bg-container {
    display: flex;
    flex-direction: column;
  }

  .row.responsive-layout .fpt-img-bg {
    padding: 51px 80px !important;
    justify-content: center;
  }

  .row.responsive-layout .fpt-logo {
    position: static;
  }

  .row.responsive-layout .fpt-img {
    display: none;
  }
}

.right {
  float: right !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  min-height: 100vh !important;
}

.left {
  float: left !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.row {
  display: flex;
  flex-direction: row;
  margin: 0px !important;
  width: 100%;
}

.card-pf {
  /*margin-top: 10vh !important;*/
  position: relative;
  padding-left: 12vw !important;
  text-align: center;
  padding-right: 12vw !important;
}

div .kc-logo-text {
  background-image: url(../img/FPTSmartCloudLogo.svg);
  background-repeat: no-repeat;
  height: 65px;
  width: 240px;
  margin: 0 auto;
}

div.kc-logo-text span {
  display: none;
}

.parent-container {
  display: flex;
  justify-content: flex-end;
}

.fpt-input-login {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 12px;
  flex: none;
  order: 1;
  align-self: stretch;
  margin: 0px 0px;
  height: 40px;
  border: 1px solid #dfe2e6;
  margin: auto;
  width: 100%;
  border-radius: 6px;
}

.fpt-label-login {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 1;
  height: 30px;
  margin: 0px;
  font-size: 14px;
  font-weight: 400 !important;
  color: #091e42;
}

.form-label-required::after {
  content: '*';
  color: red;
  padding-left: 4px;
}

.fpt-input-login::placeholder {
  font-family: Inter, 'Open Sans', Helvetica, Arial, sans-serif;
  color: #b3b9c4;
  font-size: 14px;
  font-weight: 400;
}

#kc-form-login .col-md-10 .fpt-input-login {
  width: 100%;
}

.infor-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-height: 1000px){
  .fpt-footer-overflow {
    margin-top: 24px;
    position: static !important;
  }
}

@media screen and (max-width: 992px) {
  .section-container {
    max-width: none !important;
    padding: 43px 24px !important;
  }

  .fpt-footer {
    margin-top: 24px;
    position: static !important;
    flex-direction: column !important;
    gap: 0px !important;
  }

  .left {
    display: none;
    max-width: 0px;
    padding-right: 0px;
    padding-left: 0px;
  }

  .right {
    min-width: 100%;
    min-height: unset !important;
    /* margin: auto; */
    flex: 1;
  }

  .card-pf {
    position: relative;
    width: 100vw;
    padding-left: 0px !important;
    text-align: center;
    padding-right: 0px !important;
    margin: auto !important;
  }

  .card-pf.register-card {
    position: relative;
    /* width: 100vw; */
    padding-left: 16px !important;
    text-align: center;
    padding-right: 16px !important;
    margin: auto !important;
  }

  .right .row {
    display: block;
  }
}

#kc-page-title {
  margin: 0 !important;
  /* font-family: Open Sans; */
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 42px;
  display: flex;
  flex-direction: column;
  color: #091e42;
}

.login-verify-email-title {
  font-size: 20px !important;
}

.auth-title {
  font-weight: bold;
  font-family: 'Open Sans';
  font-style: normal;
}

.login-totp-title {
  margin-top: 0px !important;
}

#kc-totp-settings-form {
  width: 75%;
  margin: auto;
}

@media screen and (max-width: 992px) {
  #kc-totp-settings-form {
    width: unset !important;
  }
}

.register-title {
  margin-top: 3vh !important;
}

.section-container {
  margin-left: auto;
  max-width: 500px;
  border-radius: 12px;
  background-color: #ffffff;
  display: flex;
  padding: 32px 48px;
  flex-direction: column;
  gap: 48px;
}

@media (min-height: 1080px) {
  .login-title {
    margin-top: 15vh !important;
  }

  .login-update-password-title {
    margin-top: 15vh !important;
  }

  .login-totp-title {
    margin-top: 5vh !important;
  }

  .register-title {
    margin-top: 5vh !important;
  }
}

@media (max-height: 900px) {
  .register-title {
    margin-top: 0px !important;
  }
}

@media (max-height: 850px) {
  .login-title {
    margin-top: 10px !important;
  }
}

.fpt-intro {
  font-family: Open Sans;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  margin-top: 20px;
}

.login-pf-header {
  /* margin-bottom: 5vh !important; */
  margin: 0 !important;
}

.login-header-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-verify-email-label {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}

.verify-mail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.resent-mail-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-pf-page .login-pf-settings {
  margin-top: 5vh !important;
  justify-content: center !important;
  flex-direction: column;
}

#fpt-footer {
  padding-bottom: 3vh;
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
}

.fpt-footer {
  position: fixed;
  bottom: 0;
  padding: 10px;
  width: 100%;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 42px;
}

/*.fpt-footer-content a{*/
/*    font-family: "Open Sans";*/
/*    font-style: normal;*/
/*    font-weight: normal;*/
/*    font-size: 14px;*/
/*    line-height: 16px;*/
/*    color: #888A9A;*/
/*}*/

.fpt-footer-content {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #091E42;
  display: flex;
  gap: 6px;
  align-items: center;
}

.fpt-password-policy {
  text-align: left;
  color: #6b788e;
}

ul li {
  list-style-position: outside;
  list-style-type: circle;
  margin-left: 1em;
}

@media screen and (min-width: 768px) {
  .card-pf {
    padding-left: 6vw !important;
    padding-right: 6vw !important;
  }
}

@media screen and (min-width: 1442px) {
  .card-pf.register-card {
    padding-left: 9vw !important;
    padding-right: 9vw !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1441px) {
  .card-pf.register-card {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
  }
}

.email-instruction {
  margin: 5vh auto auto auto;
  width: 380px;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #000000;
}

.row .input-error {
  color: red;
  float: left;
  margin-left: 12px;
}

#kc-info {
  text-align: left;
  margin: 0px auto 0px auto;
}

#kc-info div {
  margin-top: 8px;
  margin-bottom: 8px;
}

.kc-registration {
  text-align: center;
}

.kc-registration span {
  color: #6b788e;
  font-size: 14px;
  font-weight: 400;
}

.kc-registration a {
  color: #203bdc;
  font-size: 14px;
  font-weight: 500;
  margin-left: unset !important;
}

#clear {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  border-radius: 50%;
  border: none;
  height: 14px;
  width: 14px;
  cursor: pointer;
  color: white;
  /*transform: translateX(2px);*/
  background-image: url('../img/clear-icon.png');
  background-repeat: no-repeat;
  transform: translate(-175%, 70%);
}

.password-eye-btn {
  background-image: url('../img/eye-off-line.png');
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  border-radius: 50%;
  border: none;
  height: 16px;
  width: 16px;
  cursor: pointer;
  color: transparent;
  background-color: transparent;
  transform: translate(-175%, 70%);
}

.password-eye-btn.eye-open {
  background-image: url('../img/eye-open.png');
}

#dial-code {
  position: absolute;
  top: 6px;
  left: 25px;
  z-index: 2;
  border: none;
  height: 14px;
  width: 14px;
}

#clear:focus {
  border: none;
  outline: none;
}

.animated-button {
  margin-top: auto;
  background-color: transparent !important;
  /*background-image: url("../img/icon-signin.png");*/
  background-position: 20px center;
  background-repeat: no-repeat;
}

.form-login-signup {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}

#kc-form-buttons {
  position: relative;
  float: none;
  margin: 24px auto 24px;
  display: flex;
  justify-content: center;
  flex-direction: row;
}

#kc-form-buttons span {
  color: white;
  position: absolute;
  font-family: 'Open Sans';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  padding-top: 8px;
  /*padding-left: 40px;*/
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 8px;
  background-color: #0052cc;
  z-index: -1;
  border-radius: 2px;
}

#kc-login {
  width: 105px;
  height: 40px;
}

#kc-login-button {
  width: 130px;
  height: 40px;
}

#kc-signup-button,
.kc-signup-button {
  font-family: 'Inter', 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  height: 40px;
  border-radius: 6px;
  background-color: #203bdc;
  border: 2px solid #203bdc;
  color: white;
}

#kc-signup-button:disabled,
.kc-signup-button:disabled {
  cursor: not-allowed;
  background-color: #ebedf0;
  border: 2px solid #ebedf0;
  color: #6b788e;
}

.kc-cancel-button {
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  height: 40px;
  border-radius: 6px;
  background-color: white;
  border: none;
  color: #091e42;
}

#kc-reset-button {
  width: 146px;
  height: 40px;
}

#kc-sendlink-button {
  width: 160px;
  height: 40px;
}

#kc-form-options {
  text-align: left;
}

#kc-form-options span {
  font-family: 'Open Sans';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0em;
}

.link-text {
  color: #203bdc;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}

.checkbox {
  /* text-align: center; */
}

#kc-register-form {
  width: 100%;
  margin: auto;
}

.form-container {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

@media screen and (max-width: 576px) {
  .form-container {
    flex-direction: column !important;
    gap: 0 !important;
  }
}
.pass-check-list {
  margin: 0 !important;
}

.pass-check-list li {
  list-style: disc outside none;
}

.pass-check-list li::marker {
  font-size: 13px;
  color: #dfe2e6;
}

.pass-check-list .validate-success::marker {
  font-size: 13px;
  color: #3bb346;
}

.pass-check-list .validate-fail::marker {
  font-size: 13px;
  color: #f93920;
}

#otp {
  width: 100px;
  margin: auto;
  flex-grow: unset;
}

#code {
  width: 100px;
  margin: auto;
  flex-grow: unset;
}

#input-error-otp-code {
  float: none;
}

.required {
  color: red;
}

.select-auth-box-arrow {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.select-auth-box-icon {
  display: flex;
  flex: 0 0 2em;
  justify-content: center;
  margin-right: 1rem;
  margin-left: 3rem;
}

.select-auth-box-parent {
  border-top: 1px solid var(--pf-global--palette--black-200);
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  cursor: pointer;
}

.select-auth-box-parent:hover {
  background-color: #f7f8f8;
}

.select-auth-container {
  padding-bottom: 0px !important;
}

.select-auth-box-headline {
  font-size: var(--pf-global--FontSize--md) !important;
  color: var(--pf-global--primary-color--100) !important;
  font-weight: bold !important;
}

.select-auth-box-desc {
  font-size: var(--pf-global--FontSize--sm) !important;
}

.g-recaptcha {
  /* text-align: -webkit-center !important; */
}

.fpt-locale-bar {
  width: 100%;
  background-color: transparent;
  justify-content: center;
  display: flex;
}

.fpt-locale-bar-hidden {
  width: 100%;
  background-color: transparent;
  justify-content: center;
  display: none;
}

.fpt-logo {
  position: absolute;
  top: 20px;
  /* cách đỉnh 20px */
  left: 30px;
  /* cách trái 30px */
  max-height: 100%;
  /*min-height: 100%;*/
  max-width: 100%;
  content: url('../img/logo.png');
}

.fpt-logo-color {
  content: url('../img/logo_color_25072025.svg') !important;
}

.fpt-text-error {
  color: red !important;
}

.fpt-input-error {
  border: 1px solid red !important;
}

.social-or {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.social-or hr {
  flex: 1;
  border-color: #d5d7da;
}

.social-or span {
  font-size: 12px;
  color: #535862;
  font-weight: 400;
}

.kc-social-section {
  margin-bottom: 24px;
}

.kc-social-links {
  justify-content: flex-start;
  gap: 16px;
}

.kc-social-item {
  flex: 0 0 calc(50% - 8px);
  height: 40px;
  border-radius: 6px;
  border: unset;
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  /* color: #091e42; */
  font-family: Inter, 'Open Sans', Helvetica, Arial, sans-serif;
}

.kc-social-item:only-child,
.kc-social-item:nth-last-child(1):nth-child(odd) {
  flex-basis: 100%;
  justify-content: center;
}

@media (max-width: 576px) {
  .kc-social-item {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.social-microsoft {
  background-color: #393e5a;
}

.social-google {
  background-color: #4285f4;
}

.social-microsoft span,
.social-google span {
  color: white;
}

.social-icon-container {
  padding: 4.8px;
  background-color: white;
  border-radius: 3.2px;
}

.social-icon-microsoft::before {
  content: url('../img/microsoft_icon.svg') !important;
}

.social-icon-google::before {
  content: url('../img/google_icon.svg') !important;
}

.kc-social-item::after {
  border: none;
}

.otp-container {
  display: flex;
  justify-content: space-between;
  align-self: flex-start;
}

.otp-input {
  width: 40px;
  height: 54px;
  font-size: 16px;
  font-weight: 500;
  color: #091e42;
  padding: 14px 10px;
  border-radius: 6px;
  border: 1px solid #dfe2e6;
  text-align: center;
}

.otp-input:focus {
  border: 1px solid #203bdc;
  outline-color: #203bdc;
}

.otp-input:focus-visible {
  border: 1px solid #203bdc;

  outline-color: #203bdc;
}

.totp-title-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* align-items: flex-start; */
}

.totp-app-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-left: 48px;
}

.description-title {
  margin-bottom: 0;
  color: #091e42 !important;
  font-size: 14px;
}

.totp-supported-apps {
  font-size: 14px;
  margin-left: 12px;
  margin-bottom: 0px;
}

.totp-supported-apps li {
  list-style: disc inside none;
  margin-left: unset;
  text-align: start;
}

.totp-step-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.kc-totp-settings-container {
  margin-top: -16px;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.kc-totp-settings-container p {
  color: #091e42 !important;
}

.qr-code-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.qr-code-container .qr-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: unset;
}

.qr-code-container .scan-link a {
  color: #203bdc !important;
  font-size: 14px;
  font-weight: 500;
}

.totp-submit-section {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
}

.login-otp-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin: 32px 0px;
}

.otp-device-container {
  width: 100%;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.otp-device-item {
  border-radius: 6px;
  border: 1px solid #dfe2e6;
  cursor: pointer;
}

.otp-device-item.device-selected {
  border: 1px solid #203bdc;
  color: #203bdc;
  background-color: #e8ebfb;
}

.otp-device-item.device-selected .otp-device-icon {
  color: #203bdc;
}

.otp-device-button {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-size: 400;
}

.otp-device-icon {
  color: #7a8699;
}

.glob-icon {
  content: url('../img/glob.png');
}

.phone-icon {
  content: url('../img/phone.png');
}

.mail-icon {
  content: url('../img/mail.png');
}

.alert-section {
  padding: 8px 10px;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.alert-section span {
  font-weight: 400;
  font-size: 14px;
  text-align: start;
  color: #091e42;
}

.alert-section.error-type {
  border: 1px solid #feddd2;
  background-color: #fef2ed;
}

.error-type span {
  color: #f93920;
}

.alert-section.success-type {
  border: 1px solid #d0f0d1;
  background-color: #ecf7ec;
}

.alert-section.warning-type {
  border: 1px solid #feeecc;
  background-color: #fff8ea;
}

.alert-section.info-type {
  border: 1px solid #d2d7f8;
  background-color: #ffffff;
}

.error-circle {
  content: url('../img/error-circle.svg');
}

.check-circle {
  content: url('../img/check-circle.svg');
}

.warning-triangle {
  content: url('../img/warning-triangle.svg');
}

.info-circle {
  content: url('../img/info-circle.svg');
}

.kc-error-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.kc-error-text {
  color: #6b788e;
  font-size: 14px;
  font-weight: 400;
}
