.divider_m {
    flex-grow: 1;
    border-bottom: 3px solid #0088CC;
    margin: 1px;
    top:13px;
  }

label {
    display:inline;
  } 

  .required:after {
    font-size: 1em !important;
    color: red;
  }

.title {
    background-color:var(--primary);
    /* background-color:#00afe5; */
}

.subtitle {
     background-color:#00afe5;
     ;
}

.footer {
    background-color:var(--primary);
    /* background-color:#00afe5; */

}

.title h3 {
  color:#ffffff !important;
}

.title h1 {
  color:#ffffff !important;
  font-weight: 400;
  letter-spacing: 0px;
  margin-bottom: -2px;
  margin-top: -12px;
  line-height: 1.2;
}

.subtitle h4 {
  color:#ffffff !important;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 1.2;
}

.modal-title h4 {
  color:#333 !important;
  font-weight: 400;
}

@media (min-width: 440px) {
	.logo {
		display: block !important;
	}
  .title h1 {
    font-size: 28px;
  }
  .subtitle h4 {
    font-size: 22px;
  }
}

@media (max-width: 439px) {
	.logo {
		display: block !important;
	}
  #mainlogo {
    max-width: 160 !important;
    height:auto !important;
  }
  .title h1 {
    font-size: 22px;
  }
  .subtitle h4 {
    font-size: 16px;
  }
}

/* Loader */

.ql_loader {
  position: fixed;
  top: 40%;
  left: 50%;

  /* transform: translate(-50%, -50%); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.ql_bar {
  width: 10px;
  height: 70px;
  background: #fff;
  display: inline-block;
  transform-origin: bottom center;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  /*   box-shadow:5px 10px 20px inset rgba(255,23,25.2); */
  animation: loader 1.2s linear infinite;
}
.bar1 {
  animation-delay: 0.1s;
}
.bar2 {
  animation-delay: 0.2s;
}
.bar3 {
  animation-delay: 0.3s;
}
.bar4 {
  animation-delay: 0.4s;
}
.bar5 {
  animation-delay: 0.5s;
}
.bar6 {
  animation-delay: 0.6s;
}
.bar7 {
  animation-delay: 0.7s;
}
.bar8 {
  animation-delay: 0.8s;
}

@keyframes loader {
  0% {
    transform: scaleY(0.1);
    background: transparent;
  }
  50% {
    transform: scaleY(1);
    background: #0088CC;
  }
  100% {
    transform: scaleY(0.1);
    background: transparent;
  }
}

/* Modal - making scroll */
.modal-dialog{
  overflow-y: initial !important
}

.modal-body{
  max-height: calc(100vh - 300px);
  overflow-y: auto;
}

.tooltip-inner {
  max-width: 300px !important;
}

.btn-dt {
  background-color: var(--primary) !important;
  transition: background-color 0.3s ease, background-image 0.3s ease;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 0px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.btn-dt:hover {
  background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) !important; /* Adds a white overlay for a lighter effect */
}

ul.ul_checked {
  list-style-type: none;
  padding-left: 30px;
  margin-top: 0;
}

ul.ul_checked li::marker {
  content: '✓';
  color: green;
}

ul.ul_checked li {
  margin-top: 0.5em;
  position: relative;
  padding-left: 10px; 
  color: #333;
}

.disclaimer {
  background-color: #f1f1f1;
  padding: 1rem;
  font-size: 0.85rem;
  color: #555;
  border-top: 1px solid #ddd;
}

/* Header controls layout - FIXED ALIGNMENT */
.header-controls {
    gap: 15px !important;
    display: flex !important;
    align-items: center !important;
}

.language-controls, .action-controls {
    display: flex !important;
    align-items: center !important;
}

/* High Contrast Toggle Button - FIXED VERTICAL ALIGNMENT */
.hc-toggle-btn {
    font-size: 14px !important;
    padding: 4px 8px !important; /* Reduced padding to match text height */
    border: 2px solid #000000 !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important; /* Center content */
    position: relative !important;
    z-index: 10 !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    height: auto !important;
    line-height: 1.2 !important; /* Match text line-height */
    vertical-align: middle !important; /* Align with baseline */
    margin: 0 !important; /* Remove any margin */
}

.hc-toggle-btn:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    text-decoration: none !important;
}

.hc-toggle-btn:focus {
    outline: 3px solid #ff8000 !important;
    outline-offset: 2px !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* High contrast styles for the button when high contrast mode is active */
body.high-contrast .hc-toggle-btn {
    background-color: #ffff00 !important;
    color: #000000 !important;
    border-color: #000000 !important;
    border-width: 3px !important;
    padding: 3px 7px !important; /* Adjust for thicker border */
}

body.high-contrast .hc-toggle-btn:hover {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.high-contrast .hc-toggle-btn:focus {
    outline: 4px solid #ff8000 !important;
    outline-offset: 2px !important;
    background-color: #000000 !important;
    color: #ffff00 !important;
}

/* Ensure language controls and action controls are properly aligned */
.language-controls a,
.language-controls span,
.action-controls a {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    vertical-align: middle !important;
}

/* Fix for icons in action controls */
.action-controls i {
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hc-toggle-btn {
        font-size: 12px !important;
        padding: 3px 6px !important;
    }
    
    body.high-contrast .hc-toggle-btn {
        padding: 2px 5px !important;
    }
    
    .header-controls {
        gap: 10px !important;
    }
}

/* Override any conflicting styles */
a.hc-toggle-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    min-height: auto !important;
    min-width: auto !important;
}

ul.list-disc li {
    list-style-type: disc !important;
}