/* BlackBerry AtHoc IWS Management Login Styles */
body {
    color: #212426;
    font: 14px / 1.231 'pt_sansregular', sans-serif;
    background-color: #FFFFFF;
}

.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family:;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    /* line-height: var(--bs-btn-line-height); */
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn {
    transition: none;
}

.btn {
    font-weight: normal;
}

.btn-info {
    --bs-btn-color: #000;
    --bs-btn-bg: #0dcaf0;
    --bs-btn-border-color: #0dcaf0;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #31d2f2;
    --bs-btn-hover-border-color: #25cff2;
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #3dd5f3;
    --bs-btn-active-border-color: #25cff2;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #0dcaf0;
    --bs-btn-disabled-border-color: #0dcaf0;
}

.btn-info {
    background-color: #eee !important;
    border: 1px solid #c6c6c6 !important;
    color: #333 !important;
    height: 38px !important;
}

    .btn-info:hover {
        background-color: #c6c6c6 !important;
        border: 1px solid #c6c6c6 !important;
        color: #333 !important;
    }

    .btn-info.focus, .btn-info:focus, .btn-info:active {
        box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5) !important;
    }

.btn-ss:active,
.btn-ss.active {
    background: #414042;
    color: rgba(255, 255, 255, 0.75);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn-ss.disabled,
.btn-ss[disabled] {
    color: #CCCCCC;
    /*background-color: #E6E6E6 !important;*/
    box-shadow: none !important;
    cursor: default;
    pointer-events: none;
    opacity: 0.5;
}

.btn-light {
    height: 38px !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.btn-primary {
    background-color: #58789A !important;
    border: 1px solid #58789A !important;
    color: #fff !important;
    height: 38px !important;
}

    .btn-primary:hover {
        background-color: #768da6 !important;
        border: 1px solid #768da6 !important;
    }

button:focus:not(:focus-visible) {
    outline: 0;
}

.btn-check:checked + .btn:focus-visible, .btn.active:focus-visible, .btn.show:focus-visible, .btn:first-child:active:focus-visible, :not(.btn-check) + .btn:active:focus-visible {
    box-shadow: var(--bs-btn-focus-box-shadow);
}

.bootstrap-select .dropdown-toggle .filter-option {
    position: relative;
    top: 0;
    left: 0;
    float: left;
    height: 100%;
    width: 100%;
    text-align: left;
    overflow: hidden;
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

.bootstrap-select .dropdown-toggle {
    box-sizing: border-box;
    border: 1px solid #ced4da;
    padding-top: 6px;
    padding-bottom: 6px;
}

    .bootstrap-select .dropdown-toggle:hover,
    .bootstrap-select .dropdown-toggle:focus,
    .bootstrap-select .dropdown-toggle:active {
        border: 1px solid #ced4da;
        box-shadow: none;
        outline: none;
    }

.bootstrap-select .filter-option-inner-inner {
    line-height: 1.5;
}

h4, h5 {
    font-family: 'pt_sansbold', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #212426;
    padding: 5px 0px;
    margin: 0px;
    border: 0;
    line-height: 100% 14px;
}

.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem 0;
}

.form-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem 1.5rem 1rem;
  position: relative;
  z-index: 3;
  width: 465px;  
  max-width: 100%;
}

.main-container {
  margin: auto; 
}

.content-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;      /* IE11: justify-content: center */
  justify-content: center;
  -ms-flex-align: center;     /* IE11: align-items: center */
  align-items: center;
  height: 100%;
}

body {
  background: url('../Images/background.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #212426; /* fallback background */
  padding: 0 !important;
  padding-top: 10px !important;
}

/* .main-container {
  flex: 1;
} */

/* Custom Primary Button */
.custom-primary-btn {
  background-color: #5a789a;
  border-color: #5a789a;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-style: normal;
  margin-top: 0;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  line-height: 26px;
  margin-bottom: 0;
  letter-spacing: 0;
  text-transform: none;
  padding: 11px 22px;
  border: 1px solid;
  border-radius: 0.375rem;
  width: 100%;
}

.custom-primary-btn:hover {
  background-color: #4a6682;
  border-color: #4a6682;
  color: #fff !important;
  text-deocration: none !important;
}

.custom-primary-btn:focus, .custom-primary-btn:active {
  background-color: #4a6682;
  border-color: #4a6682;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(90, 120, 154, 0.5);
}

/* Custom Secondary Button */
.custom-secondary-btn {
  background-color: #f1f2f3;
  border-color: #f1f2f3 !important;
  color: #1a1b1b;
  padding: 11px 22px;
  border: 1px solid;
  border-radius: 0.375rem;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  
}

.custom-secondary-btn:hover {
  background-color: #e1e2e3;
  border-color: #e1e2e3;
  color: #1a1b1b;
}

.custom-secondary-btn:focus, .custom-secondary-btn:active {
  background-color: #e1e2e3;
  border-color: #e1e2e3;
  color: #1a1b1b;
  box-shadow: 0 0 0 0.2rem rgba(241, 242, 243, 0.5);
}

/* Custom Primary Links */
.custom-primary-link {
  color: #0066cc !important;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.custom-primary-link:hover {
  color: #004499;
  text-decoration: underline;
}

/* Custom Management Login Header Styling */
.management-header {
  color: #000306;
  font-size: 24px;
  font-style: normal;
  margin-top: 0;
  text-align: left;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  line-height: 36px;
  margin-bottom: 0;
  letter-spacing: 0;
  text-transform: none;
}

/* Custom Brand Text Styling */
.brand-text {
  font-size: 24px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  color: white;
  margin-bottom: 0;
}

/* Custom Separator Styling */
.custom-separator {
  margin: 1.5rem 0;
  border: 0;
  height: 1px;
  background-color: #d3d8de;
  opacity: 1;
}

/* Custom Input Styling */
.custom-input {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d3d8de;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-input:focus {
  color: #212529;
  background-color: #fff;
  border-color: #5a789a;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(90, 120, 154, 0.25);
}

.custom-input::placeholder {
  color: #6c757d;
  opacity: 1;
}

/* English Link Styling */
.english-link {
  color: #0066cc !important;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.english-link:hover {
  color: #004499;
  text-decoration: underline;
}

/* Logo and Image Classes */
.header-logo {
  height: 40px;
}

/* Footer Styling */
.footer-container {
  width: 465px;
  max-width: 100%;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-size: cover;
  }
  
  .main-container {
    padding: 1rem;
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: 2rem;
  }
  
  .content-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .form-container {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
    margin: 0;
    border-radius: 8px;
  }
  
  .brand-text {
    font-size: 20px;
    line-height: 28px;
  }
  
  .management-header {
    font-size: 20px;
    line-height: 28px;
    margin: 1.5rem 0 !important;
  }
  
  .custom-primary-btn, .custom-secondary-btn {
    padding: 12px 24px;
    font-size: 16px;
  }
  
  .custom-input {
    font-size: 16px;
    padding: 12px 16px;
  }
  
  .d-flex.align-items-center.mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  .d-flex.align-items-center.mb-4 img {
    height: 32px;
  }
  
  .py-3 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 0 !important;
  }
  
  .footer-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .alert {
    font-size: 14px;
    padding: 12px 16px;
  }
  
  .custom-separator {
    margin: 1rem 0;
  }
  
  .text-muted.small {
    font-size: 14px !important;
    line-height: 20px;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding: 0.5rem;
    padding-top: 1rem;
  }
  
  .form-container {
    padding: 1rem;
    border-radius: 4px;
  }
  
  .brand-text {
    font-size: 18px;
    line-height: 24px;
  }
  
  .management-header {
    font-size: 18px;
    line-height: 24px;
    margin: 1rem 0 !important;
  }
  
  .d-flex.align-items-center.mb-4 {
    margin-bottom: 1rem !important;
    gap: 0.5rem;
  }
  
  .d-flex.align-items-center.mb-4 img {
    height: 28px;
  }
  
  .custom-primary-btn, .custom-secondary-btn {
    padding: 14px 20px;
    font-size: 16px;
  }
  
  .custom-input {
    font-size: 16px;
    padding: 14px 16px;
  }
}


.bootstrap-select.btn-group .dropdown-menu > li > a:hover {
    color: #FFFFFF !important;
    background-color: #5A789A !important;
}

#switchLanguageUI .modal-body {
  overflow-x: visible !important;
}

#disclaimerText {
  font-size : 14px;
}

.display-none {
    display: none;
}

.modal-switch-language {
    display: none;
    z-index: 9999;
}


#divLoadingHomePage { display: none; background-color: White; }
.loading-td { vertical-align: middle; }
.loading-text { font-size: 10px; padding-left: 5px; }
.loading-img { width: 20px; height: 20px; }

.divLoadingHomePageLoader {
    /* position: fixed; */
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.errorHeader {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
}

