/* BlackBerry AtHoc IWS Management Login Styles */

.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: 1.5rem;
  position: relative;
  z-index: 3;
  width: 465px;
  max-width: 100%;
}

.main-container {
  margin: auto;
 
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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: linear-gradient(90deg,rgba(0, 3, 6, 1) 0%, rgba(0, 31, 63, 1) 100%) !important;
}

/* .main-container {
  flex: 1;
} */

/* Custom Primary Button */
.custom-primary-btn {
  background-color: #5a789a;
  border-color: #5a789a;
  color: #fff;
  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;
}

.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: #0059C6 !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;
  border-bottom: 0;
}

/* 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: #0059C6 !important;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.english-link:hover {
  color: #0059C6;
  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;
  }
}

#switchLanguageUI .bootstrap-select.btn-group .btn .caret {
  margin-top: -4px !important;
}

#switchLanguageUI .dropdown-toggle::after {
    display: none !important;   
}

#switchLanguageUI .modal-body {
  overflow-x: visible !important;
}



.custom-primary-btn.disabled, .custom-primary-btn[disabled] {
    color: #CCCCCC;
    /* background-color: #E6E6E6 !important; */
    box-shadow: none !important;
    cursor: default;
    pointer-events: none;
    opacity: 0.5;
}

.main-container {
 display: none; /* initially main container is hide */
}

.visually-hidden {
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        white-space: nowrap;
}

.modal-footer  {
    border-bottom-left-radius: var(--bs-modal-inner-border-radius);
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
}

.deviceListContainer .bootstrap-select .btn, .deviceListContainer .bootstrap-select .btn:hover, .deviceListContainer .bootstrap-select {
    height: 38px !important;
    border-radius: 6px !important;
    background: white !important;
    background-image: none !important;
   
}

.bootstrap-select .btn, .bootstrap-select .btn:hover, .bootstrap-select .btn:focus {
    font-family: 'pt_sansregular', Sans-serif;
    height: 26px;
    line-height: 26px;
    color: #444444;
    outline: none !important;
}

.deviceListContainer .bootstrap-select .dropdown-toggle .filter-option {
    font-size: 16px !important;
    top: 4px !important;
}

.deviceListContainer .bootstrap-select.btn-group .btn .caret {
  margin-top: -4px !important;
}

.deviceListContainer .dropdown-toggle::after {
    display: none !important;   
}


.deviceListContainer .bootstrap-select {
    width: 99% !important;
    text-align: left !important;    
}

#deviceList:focus {
  border: none;
} 


.deviceListContainer .dropdown-item {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
    font-size: 16px !important;
    padding: 5px;
}

.deviceListContainer .dropdown-menu.outer.open.show {
  top : 38px !important;
  border: 1px solid #BFBFBF !important;
  padding: 0 !important;
}


