.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.date-separator {
  text-align: center;
  margin: 10px 0;
  font-weight: bold;
  color: #888;
}

.message-time {
  font-size: 0.75rem;
  color: #888;
  float: right;
  margin-top: 5px;
}

.login-bg-pattern {
  background-image: url(../images/barbell-bodybuilding-effort-703016.jpg);

  background-repeat: no-repeat;
  /* background-position: center center; */
  /* background-attachment: scroll; */
  background-size: cover;
}

.btn-custom {
  color: #fff;
  background-color: #002ac4;
  border-color: #002ac4;
}

.btn-custom:hover {
  color: #fff;
  background-color: #002ac4;
  border-color: #002ac4;
}

.input--file {
  position: relative;
  color: #7f7f7f;
  border-radius: 11px;
  border: 1px solid #002ac4;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  flex-direction: column;
  overflow: hidden;
}

.input--file img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-fit: fill;
  object-position: center center;
}
.input--file input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  height: 100%;
  width: 100%;
}

.select-code {
  /* border-radius: 12px; */
  border: 1px solid #ced4da;
  border-radius: 0.2rem !important;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.139
  ); /* Semi-transparent black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999; /* Ensure loader appears on top of other content */
}

.action-button {
  background: none;
  border: none;
  padding: 1;
  cursor: pointer;
  font-size: 1.2rem;
  color: #6c757d;
  transition: color 0.3s;
}

.action-button:hover {
  color: #002ac4;
}

#sidebar-menu .menuitem-active > a {
  color: #002ac4;
}

#sidebar-menu > ul > li > a:hover {
  color: #002ac4;
}

#sidebar-menu > ul > li > a:focus {
  color: #002ac4;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #002ac4;
  border-color: #002ac4;
}

.nav-link {
  color: #002ac4;
}
.nav-link:hover {
  color: #002ac4ae;
}

.search-input-list {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #ced4da;
  border-radius: 2px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.search-input-list:focus {
  border-color: #80bdff;
  outline: 0;
  /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px; /* Increased width */
  height: 34px; /* Increased height */
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #002ac4; /* Updated active color */
}

input:checked + .slider:before {
  transform: translateX(26px);
}
.nav-level li a {
  padding: 8px 20px;
  color: #6e768e;
  display: block;
  position: relative;
  transition: all 0.4s;
  font-size: 0.875rem;
}
.nav-level li a:focus,
.nav-level li a:hover {
  color: #002ac4;
}

.page_404 {
  padding: 40px 0;
  background: #fff;
  font-family: "Arvo", serif;
}

.page_404 img {
  width: 100%;
}

.four_zero_four_bg {
  background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
  height: 400px;
  background-position: center;
}

.four_zero_four_bg h1 {
  font-size: 80px;
}

.four_zero_four_bg h3 {
  font-size: 80px;
}

.link_404 {
  color: #fff !important;
  padding: 10px 20px;
  background: #39ac31;
  margin: 20px 0;
  display: inline-block;
}
.contant_box_404 {
  margin-top: -50px;
}
.form-check-input {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #007bff;
  border-radius: 50%;
  transition: all 0.2s ease;
  margin-right: 10px;
}

.form-check-input:checked {
  background-color: #007bff;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-check-label {
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.form-check-input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.8);
}
.side-menu-custom {
  /* max-height: 1060px; */
  max-height: auto;

}

body[data-sidebar-size="condensed"]:not([data-layout="compact"]) {
  min-height: 860px;
}
.logo-brand {
  margin-bottom: 20px;
}

.logo-text {
  margin-left: 5px;
  font-weight: bold;
  font-size: 20px;
  color: #fff; /* or #000 based on your theme */
  vertical-align: middle;
}.overview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 24px;
  border-radius: 10px;
  flex-wrap: wrap;
  gap: 12px;
}

.overview-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  flex: 1 1 auto;
}

.time-range-select {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  min-width: 160px;
  flex: 0 0 auto;
}

.time-range-select:hover {
  border-color: #888;
}

.time-range-select:focus {
  outline: none;
  border-color: #005fcc;
  box-shadow: 0 0 0 2px rgba(0, 95, 204, 0.2);
}

@media (max-width: 576px) {
  .overview-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .time-range-select {
    width: 100%;
  }
}
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-backdrop {
  animation: slideFadeIn 0.3s ease-out;
}

#filter-sidebar label {
  cursor: pointer;
}
#filter-sidebar .form-check-input:checked {
  border-color: #0d6efd;
  background-color: #0d6efd;
}

.progress-container {
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.select-group {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.select-group label {
  margin-bottom: 4px;
  font-weight: 500;
  color: #444;
}

.select-group select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 14px;
  transition: border 0.2s ease;
}

.select-group select:focus {
  outline: none;
  border-color: #007bff;
}

.progress-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-left: auto;
}

.chat-messages-container {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.card.info-box-2 {
    min-height: 250px; /* or fixed height if preferred */
}

@media (max-width: 576px) {
  .overview-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .time-range-select {
    width: 100%;
  }
}