.sidebar {
  height: 100vh;
  background-color: #522E68;
}

.nav-link {
  color: white !important;
  opacity: 50% !important;
}

.nav-link:hover {
  color: white !important;
  opacity: 100% !important;
}

.active {
  color: white !important;
  opacity: 100% !important;

}

.slogan {
  color: white;
  font-weight: 600;
  font-size: 13px !important;
}

.logo {
  width: 30px;
}

.table-container {
  max-height: 400px;
  /* Set a maximum height for the scrollable table */
  overflow-y: auto;
}

.purple-text {
  color: #606CB1;
}

.profile-container{
  height: fit-content;
}

.profile-btn:hover{
  background-color: rgba(193, 200, 229, 0.2);
}

.profile-btn-active{
  background-color: rgba(193, 200, 229, 0.2);
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #522E68 !important;
  text-align: center;
  white-space: nowrap;
  background-color: var(--bs-body-bg) !important;
  border-top: 1px solid var(--bs-border-color) !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--bs-border-color) !important;
  border-left: 1px solid var(--bs-border-color) !important;
  border-radius: 15px 0 0 15px !important;
}

.custom-input{
  border-top: 1px solid var(--bs-border-color) !important;
  border-left: 0 !important;
  border-bottom: 1px solid var(--bs-border-color) !important;
  border-right: 1px solid var(--bs-border-color) !important;
  border-radius: 0 15px 15px 0 !important;
}

.fa-envelope{
  color: #522E68;
}



.form-check-input:checked {
  background-color: #70ADDE !important;
  border-color: #70ADDE !important;
}

.form-check-label-list {
  color: #707070;
}

.check-list-label {
  font-weight: 600;
  color: #606CB1;
  font-size: small !important;
}

.col-ting {
  width: 25em;
  margin-top: 1em;
  margin-bottom: 3em;
}

.form-control {
  font-size: small !important;
}

.file-upload {
  .image-box {
    height: 8em;
    width: 8em;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    border: 3px dashed var(--gray-500, #ADB5BD);
    background: var(--gray-100, #F8F9FA);

    .upload-img {
      height: 100%;
      display: none;

    }

    .upload-text {
      position: relative;
      top: 35%;
      color: var(--gray-600, #6C757D);
      font-size: small !important;
    }
  }
}

.check-list {
  background-color: #f4f4f4;
}

.ole:hover {
  cursor: pointer;
}

.tip {
  display: none;
  border-radius: 4px;
  background-color: var(--Grey, #F1F1F1);
  padding: 5px;
  word-wrap: break-word;
  color: black;
  font-size: 10px;
  font-weight: 200;
}

.ole:hover .tip {
  display: inline-block;
}

.fa-circle-info {
  font-size: small !important;
}

.priority-btn {
  background-color: #EBEBEB;
  cursor: default;
  font-size: smaller;
  font-weight: 600;
  color: #BEBEBE;
  cursor: default !important;
}

.priority-btn:hover {
  background-color: #EBEBEB !important;
}

.type-btn {
  background-color: #606CB1;
  color: white;
  font-size: smaller;
  font-weight: 600;
  cursor: default !important;
}

.type-btn:hover {
  background-color: #606CB1;
  color: white;
}

.custom-file-upload {
  display: flex;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 85px;
  width: 85px;
  border-radius: 15px;
  border: 1px dashed var(--gray-500, #ADB5BD);
  background: var(--gray-100, #F1F1F1);
  cursor: pointer;
}

.plus-icon-upload {
  font-size: 15px;
  margin-bottom: 5px;
}


.user-chat {
  font-size: 25px !important;
  margin-right: 10px !important;
  color: #70ADDE !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #70ADDE !important;
}

.upload-box {
  position: relative;
  width: 100px;
  height: 100px;
  background-color: #F8F9FA;
  border: 2px dashed #ccc;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
  padding: 10px;

}

.upload-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  /* Initially transparent */
  z-index: 1;
  transition: background-color 0.3s ease-in-out;
  /* Transition effect */
}

.upload-box:hover::before {
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust opacity for darkness */
}

.upload-box img {
  transition: filter 0.3s ease-in-out;
  /* Transition effect for filter */
}

.upload-box:hover img {
  filter: brightness(70%);
}

.upload-box:hover img {
  filter: brightness(100%) !important;
}

.upload-icon {
  font-size: 20px;
  opacity: 0.5;
  margin-bottom: 5px;
  /* Adjust spacing between icon and text */
}

.modal-backdrop {
  display: none !important;
}

.dataTables_paginate {
  display: flex;
}

#profileInfo, #rolePermission {
  transition: all 0.3s ease; 
}

/* Set a higher z-index for the modal */
.modal {
  z-index: 2050 !important;
}

.text-dark{
  color: #2D2A44 !important;
}

.upload-text {
  font-size: 10px;
  color: #6C757D;
  font-weight: bold;
  text-align: center;
  display: block;
}

.delete-btn,
.view-btn {
  display: none;
  position: relative;
  width: 20px;
  text-align: center;
  margin-right: 20px;
  transition: opacity 0.3s ease-in-out;
  z-index: 5;
}

.delete-btn i,
.view-btn i {
  cursor: pointer;
  color: white;
  width: 20px;
}


.delete-btn {
  left: 5px;
}

/* .view-btn {
  right: 5px;
} */

.delete-btn:hover,
.view-btn:hover {
  opacity: 0.7;
}

.upload-box:hover .delete-btn,
.upload-box:hover .view-btn {
  display: block;
}

.modal-content img {
  max-width: 100%;
  align-items: center;
  height: auto;
}


.upload-box:hover img {
  filter: brightness(70%);
  z-index: 2;
  /* Ensure the image is above the overlay */
}

#fileInput:hover {
  filter: brightness(70%);

}

/* Target webkit-based browsers */
/* Customize the track */
::-webkit-scrollbar {
  width: 5px;
  /* Width of the scrollbar */
}

/* Customize the thumb */
::-webkit-scrollbar-thumb {
  background: #888;
  /* Color of the scrollbar thumb */
  border-radius: 5px;
  /* Rounded corners */
}

/* Change the color on hover */
::-webkit-scrollbar-thumb:hover {
  background: #C1C8E5;
}

/* Customize the track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Color of the scrollbar track */
}



@media (max-width: 768px) {
  #sidebar {
    display: none;
    height: 50vh;
  }

  ::-webkit-scrollbar {
    width: 1px;
    /* Width of the scrollbar */
    height: 2px;
  }

  /* Customize the thumb */
  ::-webkit-scrollbar-thumb {
    background: #888;
    height: 2px;
    border-radius: 5px;
  }

  /* Change the color on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #C1C8E5;
  }

  /* Customize the track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Color of the scrollbar track */
  }
}


ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notification-drop {
  font-family: 'Ubuntu', sans-serif;
  color: #444;
}

.notification-drop .item {
  padding: 10px;
  font-size: 18px;
  position: relative;
}

.notification-drop .item:hover {
  cursor: pointer;
}

.notification-drop .item i {
  margin-left: 10px;
}

.notification-drop .item ul {
  display: none;
  position: absolute;
  top: 100%;
  background: #fff;
  left: -250px;
  right: -22px;
  z-index: 1;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.notification-drop .item ul li {
  font-size: 16px;
  margin-inline: 15px;
  padding: 5px;
}

.notification-drop .item ul li:hover {
  background: #f1f1f1;
}

.notifications-heading {
  font-weight: bold;
  border-bottom: none !important;
  font-size: larger !important;
}


.notification-list li:not(:first-child) {
  border-bottom: 1px solid #ddd !important;

}

.custom-tooltip {
  --bs-tooltip-bg: #F1F1F1 !important;
  --bs-tooltip-color: black !important;
  font-size: small !important;
}

.custom-tooltip .tooltip-inner {
  font-size: 0.8em;
  /* Smaller font size */
  text-align: left;
  /* Align text to the left */
}

/* Custom classes for different ticket types */
.feature-request {
  background-color: red;
  /* Set the background color for Feature Request */
  color: white;
  /* Text color for better readability */
}

.problem-report {
  background-color: blue;
  /* Set the background color for Problem Report */
  color: white;
  /* Text color for better readability */
}

/* Custom classes for different ticket statuses */
.status-accepted {
  background-color: green;
  /* Set the background color for "Accepted" status */
  color: white;
  /* Text color for better readability */
}

.status-rejected {
  background-color: red;
  /* Set the background color for "Rejected" status */
  color: white;
  /* Text color for better readability */
}

.status-pending {
  background-color: yellow;
  /* Set the background color for "Pending" status */
  color: black;
  /* Text color for better readability */
}



@media screen and (min-width: 500px) {
  .notification-drop {
    display: flex;
    justify-content: flex-end;
  }

  .notification-drop .item {
    border: none;
  }
}



.notification-bell {
  font-size: 20px;
}

.btn__badge {
  background: #606CB1;
  color: white;
  font-size: 9px;
  position: absolute;
  top: 3px;
  left: 0px;
  width: 20px;
  border-radius: 50%;
  height: 20px;
  align-content: center;
}

.dropdown-list {
  width: 100% !important;
  border-radius: 15px !important;
}

.pulse-button {
  box-shadow: 0 0 0 0 #8c95cd;
  -webkit-animation: pulse 1.5s 5;
  animation-iteration-count: 5;
}

.pulse-button:hover {
  -webkit-animation: none;
}

.form-select {
  font-size: small !important;
  border: var(--bs-border-width) solid var(--bs-border-color) !important;
  border-radius: 15px !important;
  cursor: pointer !important;
}

option {
  color: black !important;
  padding-top: 10px !important;
}

select[aria-label]:hover option:not(:checked):hover {
  color: rgb(229, 255, 0) !important;
  /* Change the color on hover */
}

select[aria-label]::after {
  color: black !important;
}

.alert {
  margin: 1rem;
}


@-webkit-keyframes pulse {
  0% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  70% {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(255, 0, 0, 0);
  }

  100% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.notification-text {
  font-size: 14px;
  font-weight: bold;
}

.notification-text span {
  float: right;
}


.notification-list {
  max-height: 300px !important;
  overflow-y: auto;
}

.no-result-img {
  width: 100px;
}

.search-container {
  height: 55vh;
}

.show-all-btn {
  background-color: #606CB1;
}

.show-all-btn:hover {
  color: #606CB1 !important;
}

.notification-title {
  color: black !important;
}

.valid {
  color: green;
}
.invalid {
  color: red;
}
