/* Main Application Styles */
body {
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

#app_container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.logo-container {
  text-align: center;
  padding: 10px 0;
}

.header-logo {
  height: 65px;
  max-width: 100%;
}

/* Content Area Styles */
#content_area {
  height: auto;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.transparent-bg {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Footer Styles */
#footer_area {
  background-color: #f0f0f0;
  color: #666;
  padding: 10px 20px;
  text-align: center;
  font-size: 12px;
  border-top: 1px solid #ddd;
}

/* Loader Styles */
#main_loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3c4044;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: #3c4044;
  font-weight: bold;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Message Area Styles */
#message_area {
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
  padding: 10px;
  position: relative;
  z-index: 2000;
}

.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* vertical centering */
  min-height: 100vh;
}

.alert-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #f5c6cb;
}

.ok-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #c3e6cb;
}

/* Common Form Styles */
.account-wall {
  background-color: #f7f7f7;
  /*padding: 20px;*/
  /*border-radius: 5px;*/
  /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
  width: 100% important;
  height: 100% important;
}

#loginForm {
  background-color: #f7f7f7;
}

.form-signin {
  max-width: 100%;
  /*padding: 5px;*/
  margin: 0 auto;
}

.form-signin .form-signin-heading, .form-signin .checkbox {
  margin-bottom: 10px;
}

.form-signin .checkbox {
  font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ajax-loader {
  padding: 20px 0px 20px 0px;
}

.login-title {
  padding-left: 44px !important;
  color: #3e87eb !important;
  font-weight: 500 !important;
  display: block;
  padding-bottom: 5px;
  text-shadow: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.profile-img {
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  display: block;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.help-text {
  color: #333;
  font-size: 11px;
  margin-bottom: 10px;
  padding: 4px;
}

.version-text {
  font-size: 10px;
  color: #adadad;
  margin-bottom: 10px;
}

.need-help {
  color: #337ab7;
  font-size: 12px;
  cursor: pointer;
  margin-bottom: 5px;
}

.new-account {
  display: block;
  margin-top: 10px;
}

.terms {
  font-size: 11px;
  color: #666;
  margin-top: 1px;
  text-align: center;
}

.terms a {
  color: #3e87eb;
  text-decoration: underline;
}

.text-right {
  text-align: right;
}

/* Label styles */
label {
  display: inline-block !important;
  max-width: 100% !important;
  margin-bottom: 5px !important;
  color: #000 !important;
  text-shadow: none;
  font-weight: normal !important;
  font-family: "Open Sans", Arial, sans-serif !important;
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
  color: #555;
  margin-top: 5px;
  text-shadow: none;
  font-weight: normal;
  font-family: "Open Sans", Arial, sans-serif;
}

h1 i, h2 i, h3 i, h4 i, h5 i, h6 i {
  margin-right: 5px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 14px;
}

/* Modal styles */
.modal-backdrop {
  background: none;
}

/* Modal Error Styles */
.modal-error {
  background-color: #f8d7da;
  color: #721c24;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #f5c6cb;
  line-height: 1.4;
  padding: 12px 18px;
  font-size: 14px;
  word-break: break-word;
}

.modal-error-compact {
  font-size: 12px;
  padding: 6px 12px;
  margin-bottom: 6px;
}

/* Headline styles */
.headline {
  display: block;
  margin: 10px 0 25px 0;
  color: #555;
  text-shadow: none;
  font-weight: normal;
  margin-left: 2px;
  margin-right: 4px;
  font-family: Verdana, Arial;
}

.headline h2 {
  font-size: 22px;
}

.headline h2,
.headline h3,
.headline h4 {
  margin: 0 0 -2px 0;
  padding-bottom: 5px;
  border-bottom: 2px solid #3e87eb;
  margin-bottom: 15px;
}

.footer-form {
  margin: 0 0 -2px 0;
  padding-bottom: 5px;
  border-bottom: 2px solid #3e87eb;
  margin-bottom: 15px;
}

.headline-md {
  margin-bottom: 15px;
}

.headline-md h2 {
  font-size: 21px;
}

/* Heading Options */
.heading {
  text-align: center;
}

.heading h2 {
  padding: 0 12px;
  position: relative;
  display: inline-block;
  line-height: 34px !important;
}

.heading h2:before,
.heading h2:after {
  content: ' ';
  width: 70%;
  position: absolute;
  border-width: 1px;
  border-color: #bbb;
}

.heading h2:before {
  right: 100%;
}

.heading h2:after {
  left: 100%;
}

@media (max-width: 768px) {
  .heading h2:before,
  .heading h2:after {
    width: 20%;
  }
}

/* Heading variants */
.heading-v1 h2:before,
.heading-v1 h2:after {
  top: 15px;
  height: 6px;
  border-top-style: solid;
  border-bottom-style: solid;
}

.heading-v2 h2:before,
.heading-v2 h2:after {
  top: 15px;
  height: 6px;
  border-top-style: dashed;
  border-bottom-style: dashed;
}

.heading-v3 h2:before,
.heading-v3 h2:after {
  top: 15px;
  height: 6px;
  border-top-style: dotted;
  border-bottom-style: dotted;
}

.heading-v4 h2:before,
.heading-v4 h2:after {
  top: 17px;
  border-bottom-style: solid;
}

.heading-v5 h2:before,
.heading-v5 h2:after {
  top: 17px;
  border-bottom-style: dashed;
}

.heading-v6 h2:before,
.heading-v6 h2:after {
  top: 17px;
  border-bottom-style: dotted;
}

/* Blockquote styles */
blockquote {
  padding: 5px 15px;
  border-left-width: 2px;
}

blockquote p {
  font-size: 14px;
  font-weight: 400;
}

blockquote h1,
blockquote h2,
blockquote span {
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 24px;
}

/* Blockquote Styles */
blockquote.bq-text-lg p,
blockquote.bq-text-lg small {
  text-transform: uppercase;
}

blockquote.bq-text-lg p {
  font-size: 22px;
  font-weight: 300;
  line-height: 32px;
}

blockquote.text-right,
blockquote.hero.text-right {
  border-left: none;
  border-right: 2px solid #eee;
}

blockquote.hero.text-right,
blockquote.hero.text-right:hover {
  border-color: #555;
}

blockquote:hover,
blockquote.text-right:hover {
  border-color: #3e87eb;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

blockquote.bq-dark,
blockquote.bq-dark:hover {
  border-color: #585f69;
}

blockquote.bq-green {
  border-color: #72c02c;
}

/* Blockquote Hero Styles */
blockquote.hero {
  border: none;
  padding: 18px;
  font-size: 16px;
  background: #f3f3f3;
  border-left: solid 2px #666;
}

blockquote.hero:hover {
  background: #eee;
  border-left-color: #666;
}

blockquote.hero.hero-dark,
blockquote.hero.hero-default {
  border: none;
}

blockquote.hero.hero-dark {
  background: #444;
}

blockquote.hero.hero-dark:hover {
  background: #555;
}

blockquote.hero.hero-default {
  background: #3e87eb;
}

blockquote.hero.hero-default:hover {
  background: #a91a20;
}

blockquote.hero.hero-dark p,
blockquote.hero.hero-dark h2,
blockquote.hero.hero-dark small,
blockquote.hero.hero-default p,
blockquote.hero.hero-default h2,
blockquote.hero.hero-default small {
  color: #fff;
  font-weight: 200;
}

/* Helper classes */
.warning {
  border: 1px solid red;
}

.help-block {
  font-size: 14px;
  color: rgba(255, 0, 0, .7);
  display: inline-block;
}

.col-center-block {
  float: none;
  display: block;
  margin: 0 auto;
}

.centerloginlogo {
  margin-top: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* Container width overrides */
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1170px;
  }
}
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1170px;
  }
}

/* Modal sizing */
@media (min-width: 576px) {
  .modal-md {
    max-width: 500px;
  }
  .modal-lg {
    max-width: 500px;
  }
}

@media (min-width: 768px) {
  .modal-md {
    max-width: 600px;
  }
  .modal-lg {
    max-width: 700px;
  }
}

@media (min-width: 992px) {
  .modal-md {
    max-width: 600px;
  }
  .modal-lg {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .modal-md {
    max-width: 600px;
  }
  .modal-lg {
    max-width: 800px;
  }
}

@media (min-width: 1400px) {
  .modal-md {
    max-width: 600px;
  }
  .modal-lg {
    max-width: 800px;
  }
}

/* Microsoft Sign In Button */
.sign-in-ms {
  width: 100px;
  height: 30px;
  background: #f2f2f2 url('../img/ms_auth_light_short.png') no-repeat -3px center;
  color: #000;
}

.sign-in-ms:hover {
  width: 100px;
  height: 30px;
  background: #e0e0e0 url('../img/ms_auth_light_short.png') no-repeat -3px center;
  color: #000;
}

.sign-in-large-ms {
  align-items: center;
  justify-content: center;
  border: 1px solid #8c8c8c;
  font-weight: 600;
  padding: 0 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  /**/
  width: 185px;
  height: 35px;
  background: #f2f2f2 url('../img/ms_auth_light_large.png') no-repeat -3px center;
  color: #000;
}

.sign-in-large-ms:hover {
  width: 185px;
  height: 35px;
  background: #e0e0e0 url('../img/ms_auth_light_large.png') no-repeat -3px center;
  color: #000;
}

.sign-in-large-ms:before {
  content: '';
  background-image: url('../img/ms_auth_light_short.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

/* SSO buttons row: centered whether one or two buttons are shown */
.sso-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  height: 100%;
}

/* Google sign-in button: light theme per https://developers.google.com/identity/branding-guidelines,
   sized to match .sign-in-large-ms */
.sign-in-large-google {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 211px;
  height: 37px;
  padding: 0 12px;
  border: 1px solid #747775;
  border-radius: 2px;
  background: #fff;
  color: #1f1f1f;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sign-in-large-google:hover {
  background: #f2f2f2;
}

.sign-in-large-google span {
  pointer-events: none;
}

.sign-in-google-logo {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  background: url('../img/google_g_logo.svg') no-repeat center / contain;
}


/* MFA Styles */
.mfa-setup-container {
  padding: 10px;
}

.mfa-setup-header {
  margin-bottom: 20px;
}

.mfa-setup-steps {
  margin-bottom: 20px;
}

.key-id {
  font-weight: 600;
  color: #3e87eb;
  font-size: 20px;
  text-align: center;
  margin: 15px 0;
  word-break: break-all;
}

.qr-container {
  text-align: center;
  margin: 20px 0;
}

.qr-code {
  width: 200px;
  height: 200px;
  border: 1px solid #ddd;
}

/* Verification Styles */
.verification-container {
  padding: 10px;
}

.verification-header {
  margin-bottom: 20px;
}

.verification-code-container {
  padding: 10px;
}

.verification-code-header {
  margin-bottom: 20px;
}

/* Password Change Styles */
.change-password-container {
  padding: 10px;
}

.change-password-header {
  margin-bottom: 20px;
}

.password-policy {
  background-color: #f8f9fa;
  border-left: 4px solid #3e87eb;
  padding: 10px;
  margin: 10px 0;
  color: #495057;
}

/* Hero Quote Styles */
.hero-unify {
  background-color: #f8f9fa;
  border-left: 4px solid #3e87eb;
  padding: 15px;
  margin: 15px 0;
}

.hero-unify p {
  margin-bottom: 10px;
}

.hero-unify img {
  vertical-align: middle;
  margin-right: 10px;
}

.label-detailed {
  color: #065fab !important
}

.center-title {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.text-body-limited{
    margin: 20px;
    padding: 20px;
    text-align: justify;
}

.gray-lines {
  background-image: url('../img/repeating-line-pattern.webp'), url('../img/gradient-background-fill.webp');
  background-position: 50%, 50%;
  background-repeat: repeat, no-repeat;
  background-size: 300px 300px, cover;

  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1000;
}