/* untuk menghilangkan arrow up and down pada input type number di chrome, safari, edge, opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* untuk menghilangkan arrow up and down pada input type number di firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.logo-image {
  max-width: 180px;
}

.logo img {
  max-width: 180px;
}

/* Adjust the user image size and position in the header */
.navbar .nav-link img {
  border-radius: 50%;
  width: auto !important;
  height: 100% !important;
}

/* Ensure the dropdown menu is aligned correctly */
.navbar .dropdown-menu {
  right: 0;
  left: auto;
}

.brand-link {
  text-align: center;
}

.select2-container .select2-selection--single {
  height: 40px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  margin-left: -11px;
  margin-top: 4px;
}

.form-control {
  height: calc(2.25rem + 7px);
}

.fa-check {
  color: green;
}
.fa-times {
  color: red;
}
[title] {
  position: relative;
}
[title]:hover::after {
  content: attr(title);
  position: absolute;
  white-space: nowrap;
  background-color: #000;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  opacity: 0.8;
}
.pagination {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.pagination a {
  margin: 0 5px;
  text-decoration: none;
  color: #007bff;
}
.pagination a.active {
  font-weight: bold;
  color: #495057;
}

.select2-container {
  max-width: 100%;
}

.ck-editor__editable {
  height: 200px; /* Set the height here */
}

.required:before {
  content: "*";
  color: red;
  margin-left: 5px;
  font-size: 1rem;
  vertical-align: top;
  }

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input { display: none; }

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  transition: .4s;
  top: 0; bottom: 0; left: 0; right: 0;
}

.switch input:disabled + .slider {
    cursor: default; 
}

.slider:before {
  content: "";
  position: absolute;
  height: 20px; width: 20px;
  left: 2px; bottom: 2px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

  /*  Styling untuk mengatur ukuran dan posisi gambar logo organisasi
.brand-link {
  position: relative;
  transition: width 0.3s ease-in-out;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0.8rem;
}

.logo-image {
  width: 100%;
  max-width: 230px;
  height: auto;
  transition: all 0.3s ease-in-out;
  object-fit: contain;
  object-position: left;
}

.sidebar-collapse .logo-image,
.sidebar-mini.sidebar-collapse .logo-image {
  width: 36px !important;
  transition: all 0.3s ease-in-out;
}

.sidebar-collapse .main-sidebar:hover .logo-image,
.sidebar-mini.sidebar-collapse .main-sidebar:hover .logo-image {
  width: 230px !important;
  transition: all 0.3s ease-in-out;
}

.main-sidebar:not(.sidebar-collapse) .brand-link,
.main-sidebar.sidebar-collapse:hover .brand-link {
  width: 250px;
}

.sidebar-collapse .brand-link {
  width: 4.6rem;
  justify-content: left;
}

.sidebar-collapse .main-sidebar:hover .brand-link {
  justify-content: flex-start;
} */