/*
  This CSS file is meant to be customized by deployments
  and is intentionally left empty. Any style that is added
  here should override the default styles in the application.
 */
@import url('/sso/css/fonts-f671f7d94f585bb3c4429c6f14184df9.css');
@import url('/sso/css/loginForm-93a7aa529a487c2325d5802398de48ef.css');
@import url('/sso/css/qrAuthen-eda3ad7e5264e8c9f0d31cf18fd2b5c9.css');
@import url('/sso/css/localeSelector-dc4e265e6ac884deea17f43bbe66bc8a.css');
@import url('/sso/css/otp-ba5294ffe6523f3588ffa8f77088f92a.css');

* {
  font-family: 'pf beau', 'pf beau otf', sans-serif;
}

div#content {
  width: 100%;
  height: 100%;
  box-shadow: none;
}

#main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  background-color: white;
  margin: 0;
  padding: 32px;
}

.main-content-wrapper {
  background-color: white;
  padding: 0;
}

.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  border: none;
  flex-direction: column;
  padding: 0;
}

.main-content-form {
  box-shadow: none;
  border: none;
  display: flex;
  gap: 32px;
}

.mdc-card {
  box-shadow: none;
  border: none;
}

/* Ensure image container has proper positioning */
.cas-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.position-absolute {
  position: absolute;
}

.position-relative {
  position: relative;
}

/* Viettel Footer Styling */
.viettel-footer {
  padding: 12px 16px;
  background-color: white;
  display: flex;
  align-items: center;
}

.footer-content {
  flex: 1;
}

.footer-text {
  color: #B5B4B4;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  display: block;
  text-align: center;
}

/* vOps Header */
.vops-header {
  margin-bottom: 40px;
}

.vops-logo {
  margin-bottom: 8px;
}

.vops-icon {
  background: #e31837;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.vops-text {
  font-size: 28px;
  font-weight: 300;
  color: #333;
  letter-spacing: 1px;
}

.vops-subtitle {
  color: #666;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}

/* Login Options */
.login-options-container {
  justify-content: center;
  gap: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

/* Logo Images */
.vops-logo-image {
  width: 40px;
  height: 48px;
  object-fit: contain;
}


.vops-logo-inline {
  height: 20px;
  vertical-align: middle;
  margin: 0 2px;
}

.sso-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.sso-logo {
  height: 48px;
  width: auto;
}

.sso-title {
  font-size: 24px;
  font-weight: bold;
  color: #E03;
  margin-bottom: 5px;
}

.form-wrapper {
  position: relative;
}

.sso-subtitle {
  color: #6c757d;
  font-size: 14px;
  color: #6c757d;
  font-size: 14px;
  margin-top: 12px;
  justify-content: center;
}


.passkey-button {
  border: none;
  background-color: #e03;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 388px;
  border-radius: 12px;
  font-weight: 600;
  height: 48px;
  cursor: pointer;
}

.password-button {
  border: 1px solid #e03;
  background-color: white;
  color: #e03;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 388px;
  border-radius: 12px;
  font-weight: 600;
  height: 48px;
  cursor: pointer;
}

.alternative-login {
  margin-top: 16px;
  font-size: 14px;
}

.alternative-login span {
  color: #666;
  margin-right: 4px;
  font-size: 16px;
}

.alternative-login a {
  font-weight: 500;
}

/* Verification Interface Styles */
.verification-interface {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  background: white;
  border-radius: 12px;
  margin-bottom: auto;
}

.verification-title {
  font-size: 24px;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 24px;
  font-weight: 700;
}

.verification-subtitle {
  font-size: 16px;
  color: #1E1E1E;
  margin: 0;
  font-weight: 600;
}

.verification-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  max-width: 388px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 48px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e03;
  padding: 12px 9px;
  font-size: 16px;
  margin-bottom: 32px;
}

.passkey-instruction-text {
  margin-bottom: 20px;
  margin-top: 48px;
  font-weight: 600;
  cursor: pointer;
}

#countdown,
#countdownMobile {
  color: #e03;
  font-weight: 600;
}

.alternative-login-link {
  color: #e03 !important;
  font-size: 16px;
  text-decoration: none;
}

/* Divider with text */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #666;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #E5E7EB;
}

.divider-text {
  margin: 0 10px;
  font-size: 16px;
  font-family: Roboto;
  color: #43474C;
}

/* Passkey link */
.passkey-link {
  color: #FF0000;
  text-decoration: none;
  font-size: 16px;
}

.passkey-link:hover {
  text-decoration: underline;
}

.my-6 {
  margin-top: 24px;
  margin-bottom: 24px;
}

.login-art {
  border-radius: 12px;
  width: 50%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expired-icon {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.refresh-button {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  color: #EE0033;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#refresh {
  color: black;
  text-decoration: underline;
  cursor: pointer;
}

#loginErrorsPanel {
  color: #E03;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.sso-header h2 {
  margin-top: 24px;
}

.login-art {
  position: relative;
  overflow: hidden;
}

.cas-logo {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.9s;
  opacity: 1;
}


.cas-logo.fade-out {
  opacity: 0.7;
}

.forgot-password-link {
  display: flex;
  justify-content: end;
  width: 100%;
  margin-top: 16px;
  color: #e03;
}

.forgot-password-link a {
  color: #e03;
}

@media (max-width: 1200px) {
  .sso-header:not(.otp) {
    margin-bottom: 0;
  }

  .sso-header.otp {
    margin-bottom: 23px;
  }

  .sso-subtitle p {
    max-width: 285px;
    max-height: 22px;
  }

  .login-options-container {
    margin-top: 48px;
  }

  .password-button {
    color: #43474C;
  }

  .login-art {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .login-art::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.4;
  }

  .main-content-form {
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  #main-content {
    padding: 0;
  }

  .cas-logo {
    border-radius: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .viettel-footer {
    display: none;
  }

  .sso-logo {
    height: 32px;
  }

  .sso-header h2 {
    font-size: 20px;
  }

  .login-options-container {
    margin-bottom: 0;
  }

  .verification-interface {
    display: none !important;
  }

  #passkeyInstruction {
    display: none !important;
  }

  .forgot-password-link {
    justify-content: center;
  }

}