/* Custom CSS */

a.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

body.scrolled .header {
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.modal {
  z-index: 2050;
}

.modal-backdrop {
  z-index: 2040;
}

#imageModal {
  z-index: 2060;
  display: flex;
}

#imageModal {
  .modal-body {
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
  }

  .modal-content {
    width: auto;
  }
}

#imageModal ~ .modal-backdrop.show {
  opacity: 0.85;
  z-index: 2051 !important;
}

.modal-scrollable {
  max-height: 50vw; 
  overflow-y: auto;
}

.float-create-ticket {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1044;
}

.t-height {
  height: 10px;
}

.form-control:focus {
  border-color: #2172BA;
  box-shadow: none;
}

.form-control.ticket-date-range {
  font-size: 12.5px;
}

.form-focus .form-control.ticket-date-range {
  height: 46px;
  padding: 21px 20px 10px 12px;
}

.form-focus .form-control:focus {
  border-color: #2172BA;
}

.select2-container--default .select2-results__option--highlighted {
  background-color: #2172BA !important;
}

.select2-results__options::-webkit-scrollbar-thumb {
  background-color: #0b7a3a !important;
  border-radius: 4px;
  border: 2px solid transparent;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
  background-color: #2172BA !important;
}

.attachment-link {
  text-decoration: underline;
}

/* AUTH */

.page-wrapper.auth-wrapper {
  padding: 60px 0 0;
}

.auth-logo {
  margin: 75px 0 40px 0;
}

/* .cert-logo {
  height: auto;
  min-width: 40%;
  margin: 0 30%;
} */

 .cert-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; 
    flex-wrap: nowrap;
}

.cert-logo img.cert-img {
    height: 50px; 
    width: auto;
    object-fit: contain;
}

.auth-input-box {
  margin: 0 50px 0 50px;
}

i.fa-eye, i.fa-eye-slash {
  right: 15px; 
  top: 50%; 
  transform: translateY(-50%); 
  cursor: pointer;
}

.form-group.auth-input-box {
  min-width: 70%;
  max-width: 70%;
  justify-content: center;
}


/* black-btn */
.sign-in-btn {
  float: right;
  font-weight: 600;
  min-width: 140px;
  border-radius: 5px;
  padding: 9px 0 9px 0;
}

.card.auth-card .auth-left-side {
  margin: 5% 0;
} 

.card.auth-card {
  border-radius: 16px;
  border: 0;
  background-color: #FFF;
  position: relative;
  margin-block-end: 1.5rem;
  /* width: 100%; */
 
}

@media (max-width: 1023px) {
  .auth-side-img {
    display: none;
  }
}

@media (min-width: 768px) {

  .card.auth-card {
    margin: 0 10%;
    
  }

  .card.auth-card .auth-left-side {
    margin: 5% 0 30% 0;
  } 

}

@media (min-width: 1024px) {
  .card.auth-card {
    margin: 0 10%;
    padding: 15px 30px 15px 10px;
  }

  .card.auth-card .auth-left-side {
    margin: 0 0 5% 0;
    flex: 0 0 auto;
    width: 50%;
  }

  .card.auth-card .auth-side-img {
    flex: 0 0 auto;
    width: 50%;
  }

}

@media (min-width: 1220px) {
  .card.auth-card {
    margin: 0 10%;
  }

  .card.auth-card .auth-left-side {
    margin: 0 0 5% 0;
    flex: 0 0 auto;
    width: 45%;
  }

  .card.auth-card .auth-side-img {
    flex: 0 0 auto;
    width: 55%;
  }
}

@media (min-width: 1440px) {
  .card.auth-card {
    margin: 0 15%;
  }
}

@media (min-width: 2560px) {
  .card.auth-card {
    margin: 0 30%;
  }
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis; 
  max-width: 150px;
  /* display: block;  */
}

.btn#sendReply {
  background-color: black;
  color: white;
}

.fe.fe-send.centered {
  margin-right: 10px;
}

label[for="replyTxtBox"] {
  margin-left: 34px;
}

/* ticket-chat-body */
.ticket-chat-body {
  max-height: 700px;
  min-height: 62vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.ticket-deets-section {
  position: relative;
  min-height: 100%;
  max-height: 700px;
  height: 100%;
  overflow-y: auto;
}

.ticket-deets-section i {
  cursor: pointer;
  color: red
}

.card.reply-card {
  max-width: 70%;
  border-radius: 10px;
}

@media (max-width: 425px) {

  .justify-content-start .card.reply-card {
    max-width: 80%;
  }

  .card.reply-card {
    max-width: 90%;
  }
}

/* ticket-desc-body */
.ticket-desc-body {
  max-height: 200px;
  overflow-y: auto;
}

.image-container {
  position: relative;
  display: inline-block;
}


.card.view-ticket-card {
  border-radius: 7px;
  border: 0;
  background-color: #FFF;
  position: relative;
  margin-block-end: 1.5rem;
  width: 100%;
}

.table th {
  padding: .5rem 0.75rem .5rem;
}

/* .card.view-ticket-card .card-body {
  padding-top: 12px;
} */

@media (min-width: 1440px) {
  #indexCardGroup {
    .ticket-option-card {
      flex: 0 0 auto !important;
      width: 40% !important;
    }
  
    .ticket-option-card ~ .card {
      flex: 1 0 auto !important;
      width: 10% !important;
    }
  }
}

@media (max-width: 1250px) {
  .create-btn-div {
    margin-bottom: 10px !important;
  }
}

@media (max-width: 1099px) {
  .create-btn-div {
    margin-bottom: 0px !important;
  }
}

@media (max-width: 470px) {
  .create-btn-div {
    margin-bottom: 10px !important;
  }
}

@media (max-width: 400px) {
  .btn-export span {
    display: none;
  }
}

@media (min-width: 1100px) {

  #indexCardGroup {
    .ticket-option-card {
      flex: 0 0 auto !important;
      width: 40% !important;
    }
  
    .ticket-option-card ~ .card {
      flex: 1 1 auto;
      width: 7% !important;
    }
  }
}

@media (min-width: 768px) {

  #indexCardGroup {
    .ticket-option-card {
      flex: 0 0 auto;
      width: 100%;
    }

    .ticket-option-card .card-body {
      display: flex;
      width: 100%;
      justify-content: space-evenly !important;
      align-items: center;
      flex-wrap: wrap;
    }
  
    .ticket-option-card ~ .card {
      flex: 1 0 auto;
      width: 10%;
    }
  }
}

@media (max-width: 576px) {

  .ticket-header {
    flex-direction: column;
  }

  .ticket-title{
    flex: 0 0 auto;
    width: 100%;
  }

  .ticket-options {
    flex: 0 0 auto;
    width: 100%;
  }

  .uticket-header {
    flex-direction: column;
  }

  .uticket-header .search-set {
    flex: 1 0 auto;
    width: 100%;
    margin-bottom: 20px;
  }

  .uticket-options {
    flex: 0 0 auto;
    width: 100%;
    justify-content: space-between !important; 
  }

  #indexCardGroup {
    .ticket-option-card {
      flex: 0 0 auto;
      width: 100%;
    }

    .ticket-option-card .card-body {
      display: flex;
      width: 100%;
      justify-content: space-evenly !important;
      align-items: center;
      flex-wrap: wrap;
    }
  
    .ticket-option-card ~ .card {
      flex: 1 0 auto;
      width: 50%;
    }
  }
  .btn-export-div {
    justify-items: center;
  }
  
  .ticket-options {
    flex: 0 0 auto;
    width: 100%;
    justify-content: space-between;
  }
}

/* @media (min-width: 950px) {
  
  .card-group .card.col-md-4 {
    max-width: 40%;
  }
  
  .card-group .card.col-md-2 {
    max-width: 15%;
  }
}

@media (min-width: 1440px) {
  
  .card-group .card.col-md-4 { 
    max-width: 40%;
  }
  
  .card-group .card.col-md-2 { 
    max-width: 15%;
  }
} */

#createTicketBtn {
  height: 50px;
}

.auth-overlay-text {
  position: absolute;
  top: 20%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: black;
  background-color: rgba(0, 0, 0, 0); /* Transparent background for text */
  padding: 20px;
  border-radius: 5px;
}

.property-selector {
  width: 100%;
  /* max-width: 300px; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Custom Margins */

.mbc-30 {
  margin-bottom: 30px !important;
}

.mbc-20 {
  margin-bottom: 20px !important;
}

.mtc-30 {
  margin-top: 30px !important;
}

.mbc-70 {
  margin-bottom: 70px !important;
}

.mec-15 {
  margin-right: 15px !important;
}

.btn-close.cmodal-btn-close {
  margin: -.8rem -.01rem -.5rem auto;
}

/* Custom Padding */

.cpd-15 {
  padding: 15px !important;
}

/* Custom Color */

.cbg-0 {
  background-color: transparent !important;
}

.cbg-1 {
  background-color: #FFFAF2 !important;
}

.cbg-2 {
  background-color: #D9AD58 !important;
}

.fopm-gradient {
  /* background: transparent linear-gradient(92deg, #158878 0%, #2172BA 100%) 0% 0% no-repeat padding-box !important; */
  background: transparent linear-gradient(272deg, #2172BA 0%, #0E9848 100%) 0% 0% no-repeat padding-box !important;
}

.fopm-light {
  background: #D8D9D8 !important;
}

.fopm-color {
  background: #2172BA !important;
}

.fopm-green {
  background: #158878 !important;
}

.fopm-text {
  color: #2172BA !important;
}

.fopm-text-green {
  color: #158878 !important;
}

.btn.fopm-inset {
  /* border-color: #2172BA; */
  box-shadow:0px 0px 0px 2px #2172BA inset;
}

.fopm-text-g {
  background: -webkit-linear-gradient(92deg, #0E9848 0%, #2172BA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* datatable */

.dt-scroll-headInner {
  width: 100%;
}

@media (max-width: 576px) {
  .search-input {
    width: 100% !important;
  }

  .search-input {

    label, .ticket-search {
      width: 100% !important;
    }

  } 
}

/* #ticketTable td span:hover {
  cursor: pointer;
} */

.table-secondary {
  --bs-table-bg: #efefef !important;
}

@media (max-width: 1220px) {
  .modal {
    #dataTableControls .d-flex.justify-content-between {
      flex-direction: column;
      align-items: center; 
      gap: 10px;
    }
    #dataTableControls .d-flex > div:nth-child(1).mb-2,
    #dataTableControls .d-flex > div:nth-child(2).mb-2 {
      flex-direction: row !important;
      width: 100%;
      text-align: center;
      justify-content: center;
    }
  
    #dataTableControls .d-flex > div:nth-child(2).mb-2 .row .d-flex {
      justify-content: center;
    }
  
    #dataTableControls button{
      font-size: 12px;
    }
  
    .table-page-button {
      font-size: 10px !important;
      min-width: 35px !important;
      width: 35px !important;
    }
  }
  
}



@media (max-width: 768px) {

  #dataTableControls .d-flex.justify-content-between {
    flex-direction: column;
    align-items: center; 
    gap: 10px;
  }
  #dataTableControls .d-flex > div:nth-child(1).mb-2,
  #dataTableControls .d-flex > div:nth-child(2).mb-2 {
    flex-direction: row !important;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  #dataTableControls .d-flex > div:nth-child(2).mb-2 .row .d-flex {
    justify-content: center;
  }

  #dataTableControls button{
    font-size: 12px;
  }

  .table-page-button {
    font-size: 10px !important;
    min-width: 35px !important;
    width: 35px !important;
  }
}

/* @media (max-width: 425px) {
  .ticket-search {
    width: 100%;
  }
  .search-set {
    flex: 1 0 auto;
    width: 100%;
  }
} */

table.custom-table thead th{
  border-top: none;
  border-bottom: none;
}

table.custom-table tbody tr td{
  border-bottom: 3px solid white;
}

table.custom-table tbody tr:last-child td{
  border-bottom: none;
}


td:first-child{
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

td:last-child{
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.custom-table-pagination-btn {
  color: #2172BA;
  background: transparent;
  border: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

@media (max-width: 576px) {
  .custom-table-pagination-btn {
    margin: 0 5px;
  }
}

.custom-table-pagination-btn:hover {
  color: white; /* Optional hover effect */
  /* text-decoration: underline; */
  background: linear-gradient(92deg, #0E9848 0%, #2172BA 100%) 0% 0% no-repeat padding-box !important;
}

.custom-table-pagination-btn i {
  font-size: 14px;
}

.table-page-button {
  min-width: 40px;
  width: 40px;
  text-align: center;
  background: transparent;
  color: #2172BA;
  border: 1px solid #2172BA;
  border-radius: 4px;
  margin: 0 3px;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  display: inline-block;
}

.pagination-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 5px;
}

.scrollable-pagination {
  display: inline-block;
  white-space: nowrap;
}

.pagination-wrapper::-webkit-scrollbar {
  height: 6px;
}

.pagination-wrapper::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.pagination-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.table-page-button:hover {
  background: linear-gradient(92deg, #0E9848 0%, #2172BA 100%) 0% 0% no-repeat padding-box !important;
  color: white;
}

.table-page-button.active {
  background: linear-gradient(92deg, #0E9848 0%, #2172BA 100%) 0% 0% no-repeat padding-box !important;
  color: white;
  border: 1px solid #2172BA;
}

.page-popup {
	position: absolute;
	background: white;
	border: 1px solid #ccc;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	border-radius: 4px;
	padding: 6px;
	max-height: 200px;
	overflow-y: auto;
	min-width: 60px;
}

.page-popup-item {
	padding: 6px 12px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.page-popup-item:hover {
	background-color: #f1f1f1;
}

/* Custom Buttons */

.btn-export {
  height: 46px;
}

/* progress-lines */
/* Container for the status tickets */
/* .status-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  max-width: 400px;
  margin: auto;
} */

/* Title for the container
.status-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  text-align: left;
} */

@media (min-width: 577px) {
  .status-container {
    margin: 0 30px;
    justify-items: center;
  }
  
}

@media (max-width: 576px) {
  .status-container {
    margin: 0 0px;
    justify-items: center;
  }
}

.status-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-direction: column;
}

.status-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

/* Bar container */
.status-bar {
  background-color: #f2f2f2;
  border-radius: 20px;
  height: 10px;
  overflow: hidden;
  position: relative;
}

/* Progress inside the bar */
.progress {
  height: 100%;
  border-radius: 20px;
  transition: width 0.3s ease-in-out;
}

/* Specific status colors */
.progress.unread {
  background-color: #FF9797; /* Red color */
}

.progress.pending {
  background-color: #2172BA; /* Green color */
}

.progress.closed {
  background-color: #0E9848; /* Blue color */
}
.progress.reopened {
  background-color: #1B3A5F; 
}

/* unread ticket list */
.unread-ticket-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 10px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.unread-ticket-card:hover {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
}

.unread-ticket-card .ticket-details {
  display: flex;
  flex-direction: column;
}

.unread-ticket-card .ticket-details span {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.unread-ticket-card .ticket-details span.category {
  font-weight: normal;
  color: #555;
}

.unread-ticket-card .ticket-date {
  font-size: 12px;
  color: #888;
}

/* CAtegory Dropdown */

.category-card, .subcategory-card {
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  text-align: center;
}

.category-card:hover, .subcategory-card:hover {
  background-color: #0E9848;
  color: white;
}

.selected {
  background-color: #2172BA;
  color: white;
}

.active-subcategory {
  background-color: #dbf4ff !important; /* Green */
  color: #2172BA !important;
  font-weight: bold;
  border-radius: 5px;
}

.table-deco-unread {
  text-align: center;
  background-color: #FDD5D5;
  padding: 8px;
  border-radius: 5px;
  color: #F53131;
  font-weight: bold;
}

.table-deco-pending {
  text-align: center;
  background-color: #CFE5F5;
  padding: 8px;
  border-radius: 5px;
  color: #1F74B5;
  font-weight: bold;
}

.table-deco-closed {
  text-align: center;
  background-color: #DBFFEA;
  padding: 8px;
  border-radius: 5px;
  color: #0E9848;
  font-weight: bold;
}
.table-deco-re-opened {
  text-align: center;
  background-color: #C2F4ED;
  padding: 8px;
  border-radius: 5px;
  color: #158878;
  font-weight: bold;
}

.table-deco-online {
  text-align: center;
  background-color: #DBFFEA;
  padding: 8px;
  border-radius: 5px;
  color: #0E9848;
  font-weight: bold;
}

.table-deco-offline {
  text-align: center;
  background-color: #E2E2E2;
  padding: 8px;
  border-radius: 5px;
  color: #989898;
  font-weight: bold;
}

/* CREATE */

@media (max-width: 768px) {
  .create-ticket-top-card {
    position: relative;
  }

  .create-close-btn-div {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  div.first-div {
    flex-direction: column;
  }

  div.second-div {
    margin-bottom: 10px;
  }
}

/* CHATS */

#uploadProgressContainer {
  display: none;
  overflow-x: auto;  /* Enable horizontal scrolling */
  margin-bottom: 10px;
  gap: 10px; /* Space between progress bars */
  max-height: 60px; /* Limit the height of the progress container */
  max-width: 100%;
}

#uploadProgressContainer.show {
  display: flex;
}

.file-progress-container {
  min-width: 100px;
  max-width: 200px;
  margin: 0 5px;
  text-align: center;
}

/* .file-progress-container {
  span {
    max-width: 30px;
  }
} */

.progress-bar {
  width: 100%; 
  height: 10px; 
  border-radius: 5px;
  background-color: #e0e0e0; 
  appearance: none; 
}

progress::-webkit-progress-bar {
  background-color: #e0e0e0; 
  border-radius: 5px; 
}

progress::-webkit-progress-value {
  background-color: #2172BA ; 
  border-radius: 5px;
}

progress::-moz-progress-bar {
  background-color: #2172BA ; 
  border-radius: 5px; 
}

.remove-upload-btn {
  margin-left: 10px;
  background: red;
  color: white;
  border: none;
  cursor: pointer;
}

.view-ticket-top-card div {
  position: relative;
}

.vttc-right-side {
  max-width: 50%;
  width: 50%;
}

.vttc-right-side {
  .d-flex.w-100 {
    justify-content: right;
  }
}

.ticket-no-div {
  margin-right: 10px;
  flex: 0 0 auto;;
  word-wrap: break-word;
  max-width: 200px;
  width: initial !important;
}

.ticket-title-div {
  margin: 0 0 0 10px !important;
  flex: 0 0 auto;
  word-wrap: break-word;
  max-width: 200px;
  width: initial !important;
}

.customer-name-div {
  margin-right: 10px !important;
  flex: 0 0 auto;
  word-wrap: break-word;
  width: initial !important;
  max-width: 200px;
}



.close-view-btn-div {
  position: unset !important;
}

#assPerDiv {
  width: unset !important;
}

#replyInputCard {
  /* position: sticky; */
  bottom: 0;
  background-color: #fff;
  z-index: 10; 
}

@media (min-width: 1220px) {
  .view-ticket-top-card div div .d-flex{
    flex-direction: row !important;
  }

  .assigned-person-div {
    margin: 0 10px 0 10px !important;
    flex: 0 0 auto;
    width: 50%;
  }

  .mini-sidebar {

    .view-ticket-top-card div div .d-flex{
      flex-direction: column !important;
    }

    .ticket-no-div {
      flex: 0 0 auto;
      width: 100% !important;
      word-wrap: break-word;
      max-width: 200px;
    }
  
    .ticket-title-div {
      margin: 10px 10px 0 0 !important;
      flex: 0 0 auto;
      width: 100% !important;
      word-wrap: break-word;
      max-width: 200px;
    }
  
    .customer-name-div {
      margin-right: 25vw !important;
      flex: 0 0 auto;
      width: 100% !important;
      word-wrap: break-word;
      max-width: 200px;
    }
  
    .assigned-person-div {
      margin: 10px 10px 0 0 !important;
      flex: 0 0 auto;
      width: 100%;
    }

    #assPerDiv {
      width: 100% !important;
    }

    .close-view-btn-div {
      position: absolute !important;
      right: 0;
      top: 0;
    }

  }
}

@media (min-width: 768px) and (max-width: 1219px) {

  .view-ticket-top-card div div .d-flex{
    flex-direction: column;
  }

  .ticket-no-div {
    flex: 0 0 auto;
    width: 100% !important;
    word-wrap: break-word;
    max-width: 200px;
  }

  .ticket-title-div {
    margin: 10px 10px 0 0 !important;
    flex: 0 0 auto;
    width: 100% !important;
    word-wrap: break-word;
    max-width: 200px;
  }

  .customer-name-div {
    margin-right: 25vw !important;
    flex: 0 0 auto;
    width: 100% !important;
    word-wrap: break-word;
    max-width: 200px;
  }

  .assigned-person-div {
    margin: 10px 10px 0 0 !important;
    flex: 0 0 auto;
    width: 50%;
  }

  #assPerDiv {
    width: 200% !important;
  }

  .close-view-btn-div {
    position: absolute !important;
    right: 0;
    top: 0;
  }
}

@media (max-width: 767px) {

  .status-banner-div {
    order: 2 !important;
  }

  .ticket-header-div {
    order: 1 !important;
  }

  .view-ticket-top-card .d-flex.justify-content-between {
    flex-direction: column !important;
    gap: 10px;
  }

  .view-ticket-top-card .d-flex.justify-content-between > .d-flex {
    flex-direction: column;
    width: 100%;
  }

  .view-ticket-top-card .d-flex > .d-flex {
    flex-direction: column;
    width: 100%;
  }

  .ticket-no-div,
  .ticket-title-div,
  .customer-name-div,
  .close-view-btn-div {
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px 0 !important;
    word-wrap: break-word;
  }

  .assigned-person-div {
    width: 150%;
    max-width: 200%;
    margin: 0 0 10px 0 !important;
    word-wrap: break-word;
  }

  #assPerDiv {
    width: 100%;
  }

  .close-view-btn-div2 {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px 0 !important;
    word-wrap: break-word;
    position: absolute !important;
  }

  .close-view-btn-div {
    display: none;
  }
}



.file-preview-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.file-preview {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f9f9f9;
}

.preview-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.reply-file-icon {
  font-size: 24px;
}

.file-name {
  font-size: 14px;
  font-weight: bold;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remove-btn {
  background-color: transparent;
  color: #CA2121;
  /* color: white; */
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  font-size: 16px;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 2050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.image-modal-content {
  max-width: 100%;
  height: auto;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}

/* System Message Box */
.ticket-chat-system-message {
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  background-color: white;
}

.chat-status-title {
  margin-top: 0;
  margin-bottom: 20px;
  align-content: start;
}

.chat-status-title {
  h3 {
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    color: #2172BA;
  }
}

.chat-status-body {
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 1px solid #a8a8a8;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.chat-status-body {

  span {
    flex: 0 0 100%;
  }

  span b {
    color: #333;
  }
}

.chat-status-reason {
  color: #a2a2a2;
}

/* .ticket-chat-button-container */

/* Paragraph Styling */
.ticket-chat-system-message p {
  margin: 0;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
}

.ticket-chat-decline-btn {
  background-color: white;
  color: #2172BA;
  box-shadow: 0px 0px 0px 2px #2172BA inset;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px;
  /* display: inline-block; */
  font-size: 14px;
  flex: 0 0 120px;
}

.ticket-chat-action-btn {
  background: transparent linear-gradient(92deg, #0E9848 0%, #2172BA 100%) 0% 0% no-repeat padding-box;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px;
  /* display: inline-block; */
  font-size: 14px;
  flex: 0 0 120px;
}

.ticket-chat-button-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  justify-items: center;
  align-items: center;
  color: #333
}

.ticket-chat-button-container {
  span {
    flex: 0 0 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .chat-status-title {
    h3 {
      font-size: 16px;
    }
  }

  .chat-status-body {
    span b {
      font-size: 14px;
    }
  }

  .chat-status-reason {
    font-size: 12px;
  }

  .ticket-chat-button-container {
    font-size: 12px;
  }
}

/* Message Colors */
.fopmsuccess { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.fopmwarning { background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.fopminfo { background-color: #cce5ff; color: #004085; border: 1px solid #b8daff; }
.fopmerror { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Buttons */

#cancelTicket {
  color: red;
}

.cbtn-close {
  font-size: 22px;
  height: 46px;
  width: 46px;
}

.btn-ticket-modal-cancel {
  background-color: white;
  color: #2172BA;
  box-shadow:0px 0px 0px 2px #2172BA inset;
  border-radius: .5rem;
}

.btn-ticket-modal-submit {
  background: transparent linear-gradient(92deg, #0E9848 0%, #2172BA 100%) 0% 0% no-repeat padding-box;
  border-radius: .5rem;
  color: white;
}

.ticket-chat-action-btn.danger { background: #dc3545; }
.ticket-chat-action-btn:hover { opacity: 0.9; }

.image-close-btn {
  position: absolute;
  top: 10%;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Custom Select2 */

#assignedPerson + .select2-container .select2-selection--single {
  height: 36px !important;
  /* padding: 0 12px; */
}

#assignedPerson + .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
  font-weight: bold;
  white-space: nowrap !important; /* Prevent text wrapping */
  overflow: hidden !important; /* Hide overflowing text */
  text-overflow: ellipsis !important; /* Add "..." when text overflows */
  max-width: 90%; /* Ensure proper truncation */
  display: block;
}

#assignedPerson + .select2-container .select2-selection__arrow {
  top: 5px !important;  /* Move arrow up/down */
  right: 10px !important; /* Move arrow left/right */
  width: 20px !important; /* Adjust arrow area */
  height: 20px !important; /* Resize arrow */
}

#seeMoreAttachments {
  text-decoration: none;
}

#attachmentsContainer {
  display: grid;
  gap: 16px;
  justify-items: center;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  overflow-y: auto;
}

#attachmentsContainer, #modalAttachmentsContainer {
  .file-name {
    font-size: 0.8rem;
    padding: 0 6px;
    margin-top: 6px;
    text-align: center;
    max-width: 100px;
    white-space: nowrap;  
    overflow: hidden;        
    text-overflow: ellipsis; 
  }
}

.attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  padding: 0 16px;
  justify-items: center;
}


.attachment-box {
  width: 120px;
  height: 120px;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: #fafafa;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.attachment-thumbnail {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  border-radius: 4px;
}

.file-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 6px;
}

.grid-rtl {
  direction: rtl;
}

.grid-ltr {
  direction: ltr;
}

.reply-attachments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  width: 100%;
  padding: 0 4px;
  max-width: 800px;
  margin: 0 auto;
}

.single-image-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  text-align: center;
}

.single-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.reply-attachments-grid {

  .attachment-box {
    aspect-ratio: 1 / 1; /* Keeps items square */
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1.4px dashed #ddd;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
    box-sizing: border-box;
  }

  .attachment-box.not-mine {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1.4px dashed #2172BA;
  }
  
  .attachment-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  /* .attachment-box {
    width: 100px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
  } */
  
  .attachment-thumb {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    border-radius: 4px;
  }
  
  .file-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    object-fit: contain;
  }
  
  .file-name {
    font-size: 0.8rem;
    padding: 0 6px;
    margin-top: 6px;
    direction: ltr;
    text-align: center;
    max-width: 100px;
    white-space: nowrap;  
    overflow: hidden;        
    text-overflow: ellipsis; 
  }
} 






/* IMAGES */

img#authLogo {
  max-width: 100%;
  min-width: 160px;
  height: auto;
}

.attachment-thumb {
  width: 100%;
  height: 100px; /* Adjust to your desired square size */
  object-fit: cover; /* Ensures the image covers the square area */
}
.file-thumbnail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px; /* Same fixed square size */
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  overflow: hidden;
  text-align: center;
}

.file-thumbnail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.file-thumbnail a span{
  font-size: 11px;
  font-weight: bold;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-thumbnail i {
  font-size: 2rem;
  color: #2172BA;
}

/* SIDEBAR */

.header .user-menu {
  float: right;
  margin: 0;
  position: relative;
  z-index: 99;
  align-items: center;
  margin-top: 20px;
  margin-right: 20px;
}


#navPropTypeSelect {
  min-width: 60% !important;
  width: 150px !important;
  z-index: 99;
  padding: 0 !important;
}

@media (min-width: 1600px) {
  body.mini-sidebar .header{
    margin-left: 220px;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  } 

  #navPropSelect {
    width: 500px !important;
    z-index: 99;
    padding: 0;
    margin-left: 20px;
  }
}

@media (min-width: 1225px) and (max-width: 1599px) {
  #navPropSelect {
    width: 400px !important;
    z-index: 99;
    padding: 0;
    margin-left: 20px;
  }
}

@media (min-width: 1225px) {

  body.mini-sidebar .header{
    margin-left: 220px;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }

  body.mini-sidebar .header .header-left{
    display: none;
    line-height: 80px;
    object-fit: cover;
  }

  .header .user-menu.left-user-menu {
    margin-left: 0;
  }

  .mini-sidebar .page-wrapper {
    margin-left: 230px;
    margin-right: 0;
  }

}

@media (min-width: 769px) and (max-width: 1224px) {
  #navPropSelect {
    width: 230px;
    z-index: 99;
    padding: 0;
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .header .header-left {
    position: absolute;
    width: 100%;
    margin-left: 0;
  }
  .header .user-menu.left-user-menu {
    display: flex;
  }

  .header .user-menu.left-user-menu {

    #menuToggle {
      padding-left: 0;
    }

    .nav-item.proptype-select {
      /* left: 30%; */
      /* margin-left: 50%; */
      flex: 0 0 auto;
      width: 30%;
      position: fixed;
      left: 15px;
      top: 100px;
    }

    .nav-item.prop-select {
      /* display: none; */
      /* margin-left: 50%; */
      flex: 1 1 auto;
      width: 60%;
      position: fixed;
      right: 15px;
      /* margin-left: 20%; */
      top: 100px;
    }

    #navPropSelect {
      width: 100% !important;
      float: right;
    }
    
    #navPropTypeSelect {
      width: 100% !important;
    }

  }

  .page-wrapper {
    padding-top: 150px;
  }
}


/* 
@media (min-width: 1024px) {
  body.mini-sidebar .header{
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  } 
} */

/* Sidebar Styling */
.c-sidebar {
  position: fixed;
  display: flex;
  flex-direction: column;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  min-height: 100%;
  background-color: white;
  color: white;
  /* transition: width 0.s ease-in-out; */
  padding-top: 20px;
  overflow-y: auto;
  z-index: 1045;
  -webkit-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.2);
  justify-content: space-between;
}

.c-sidebar.active {
  width: 220px;
}

.c-sidebar-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  /* flex-grow: 1; */
}

.c-sidebar-header img {
  max-width: 140px;
}

.c-sidebar-header span {
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Sidebar Menu Items */
.c-sidebar-menu {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
}

.c-sidebar-menu li {
  /* padding: 0 0; */
  display: flex;
  align-items: center;
  width: 100%;
  transition: background 0.3s;
}

.c-sidebar-menu li a {
  color: #989898;
  padding: 10px 10px;
  text-decoration: none;
  display: flex;
  width: 100%;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.c-sidebar-menu li a:hover {
  /* background: #0E9848; */
  color: #2172BA;
}


.c-sidebar-menu li a.active {
  /* background: #1B3A5F; */
  color: #2172BA;
}

/* Multi-level Menu Styling */
.c-sidebar-menu .submenu {
  display: none;
  padding-left: 20px;
}

.c-sidebar-menu .submenu li {
  padding: 5px 15px;
}

/* Sidebar icon */
.c-sidebar-icon {
  width: 30px;  /* Ensures all icons take up the same width */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 16px;
}

/* Sidebar text */
.c-sidebar-text {
  flex: 1; /* Allows text to take the remaining space */
  max-width: 200px;
  text-align: left;
  /* font-size: 16px; */
  font-weight: 600;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Hamburger Button */
.c-menu-toggle {
  font-size: 32px;
  padding: 10px 20px;
  color: white;
}

.c-menu-toggle i {
  cursor: pointer;
}

.mini-sidebar footer .container {
  margin-left: 16vw;
}

.c-menu-toggle i:hover {
  color: #ddd;
}

.bottom-box {
  padding: 15px;
  background: transparent linear-gradient(272deg, #2172BA 0%, #0E9848 100%) 0% 0% no-repeat padding-box !important;
  border-radius: 10px;
}

.bottom-box {
  .user-info {
    display: flex;
    align-items: center;
    cursor: pointer;
    /* gap: 10px; */
  }

  .user-info:hover {
    color: #56DD8F;
  }
  
  .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .username {
    max-width: 180px;
    text-align: left;
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .settings, .logout {
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px 0;
    align-content: center;
  }

  .fa-solid {
    font-size: 20px;
  }
  
  .settings:hover, .logout:hover {
    color: #56DD8F;
  }
}


/* Dashboard */

div#barChart {
  min-height: 1000px; 
  height: auto;
  max-height: 1200px;
  /* padding-bottom: 100px; */
}

div#columnChart {
  min-height: 1000px;
  height: auto;
  max-height: 1200px;
}

div#racingBarConcernType {
  min-height: 200px;
  height: auto;
  max-height: 200px;
}

div#topPropTickets {
  min-height: 1000px;
  height: auto;
  max-height: 1200px;
}

.custom-data-label {
  position: absolute;
  background: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  pointer-events: none;
}

.custom-legend {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.no-unread-message {
  border: 1px dashed #ccc;
  border-radius: 6px;
  background: #f9f9f9;
}

.no-top-category-message {
  border: 1px dashed #ccc;
  border-radius: 6px;
  background: #f9f9f9;
}

.no-top-prop-message {
  border: 1px dashed #ccc;
  border-radius: 6px;
  background: #f9f9f9;
}

@media (min-width: 577px) {
  .udb-options {
    flex: 0 0 auto;
    width: 100%;
    justify-content: end; 
  }
}

@media (max-width: 576px) {

  .db-header {
    flex-direction: column;
  }

  .db-page-title {
    flex: 0 0 auto;
    width: 100%;
  }

  .db-options {
    flex: 0 0 auto;
    width: 100%;
    justify-content: space-between; 
  }

  .udb-options {
    flex: 0 0 auto;
    width: 100%;
    justify-content: space-between; 
  }
  
}

@media (min-width: 2100px) {
  .db-uvc {
    flex: 1 0 auto;
    width: 25%;
  }
  .db-tnpc {
    flex: 1 0 auto;
    width: 25%;
  }
  .db-tnpp {
    flex: 1 0 auto;
    width: 25%;
  }
  .db-tnrt {
    flex: 1 0 auto;
    width: 25%;
  }
  .db-ttpa {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-st {
    flex: 1 0 auto;
    width: 50%
  }
  .db-tnct {
    flex: 1 0 auto;
    width: 50%
  }
}

@media (max-width: 2099px) and (min-width: 1440px) {
  .db-uvc {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnpc {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnpp {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnrt {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-ttpa {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-st {
    flex: 1 0 auto;
    width: 50%
  }
  .db-tnct {
    flex: 1 0 auto;
    width: 50%
  }
}

@media (max-width: 1439px) and (min-width: 1225px)  {

  .mini-sidebar {
    .db-uvc {
      flex: 1 0 auto;
      width: 100%;
    }
    .db-tnpc {
      flex: 1 0 auto;
      width: 100%;
    }
    .db-tnpp {
      flex: 1 0 auto;
      width: 100%;
    }
    .db-tnrt {
      flex: 1 0 auto;
      width: 100%;
    }
    .db-ttpa {
      flex: 1 0 auto;
      width: 100%;
    }
    .db-st {
      flex: 1 0 auto;
      width: 100%
    }
    .db-tnct {
      flex: 1 0 auto;
      width: 100%
    }
  }

  .db-uvc {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnpc {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnpp {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnrt {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-ttpa {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-st {
    flex: 1 0 auto;
    width: 50%
  }
  .db-tnct {
    flex: 1 0 auto;
    width: 50%
  }
}

@media (max-width: 1224px) and (min-width: 769px)  {

  .db-uvc {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnpc {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnpp {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-tnrt {
    flex: 1 0 auto;
    width: 50%;
  }
  .db-ttpa {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-st {
    flex: 1 0 auto;
    width: 50%
  }
  .db-tnct {
    flex: 1 0 auto;
    width: 50%
  }
}

@media (max-width: 768px) {

  .db-uvc {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-tnpc {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-tnpp {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-tnrt {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-ttpa {
    flex: 1 0 auto;
    width: 100%;
  }
  .db-st {
    flex: 1 0 auto;
    width: 100%
  }
  .db-tnct {
    flex: 1 0 auto;
    width: 100%
  }
}

/* USERS */

@media (min-width: 1220px) {
  .user-left-card {
    flex: 0 0 auto;
    width: 350px;
  }

  .user-right-card {
    flex: 1 0 auto;
    width: 10%;
    padding-right: 0;
  }
}

.uswitch, .setSwitch, .setMCSwitch, .setSCSwitch {
  cursor: pointer;
  position: relative;
}

.uswitch, .setSwitch, .setMCSwitch, .setSCSwitch {
  input {
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
  }

  input:checked + span {
    background-color: #55CE63;
  }

  input:checked + span:after {
    left: 28px;
  }

  span {
    position: relative;
    width: 50px;
    height: 25px;
    background-color: #FFF;
    border: 1px solid #ECEDEE;
    border-color: rgba(0, 0, 0, 0.1);
    display: inline-block;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-radius: 30px;
  }

  span:after {
    content: "";
    background-color: #FFF;
    width: 15px;
    height: 15px;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 4px;
    bottom: 1px;
    left: 6px;
    border-radius: 30px;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
}

#uSettings {
  label.uswitch{
    margin-top: 3px;
  }
  .uswitch span{
    width: 40px;
    height: 20px;
  }
  .uswitch span:after {
    width: 12px;
    height: 12px;
    top: 3px;
    bottom: 2px;
    left: 4px;
  }
  .uswitch input:checked + span:after {
    left: 22px;
  }
}

.uprofile-pic {
  width: 100px;
  height: 100px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  position: relative; 
  display: inline-block;
}

.uprofile-pic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #0E9848;
  border-radius: 50%;
  display: block;
}

.mu-perm.uprofile-pic:hover::after {
  background: rgba(255, 255, 255, .7) url('/img/upload-profile.png') no-repeat 50% 50%;
  background-size: 120%;
  transform: translate(80%, 80%);
  content: "";
  bottom: 78%;
  right: 78%;
  width: 94%;
  height: 94%;
  border-radius: 50%;
  position: absolute; 
  display: flex;
  z-index: 1;
}

.uprofile-pic::before {
  background: #CFE5F5 url('/img/camera-icon.svg') no-repeat 45% 40%;
  position: absolute;
  content: "";
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  /* inset-inline-end: 6.5rem;
  inset-block-end: 1.5rem; */
  bottom: 6%;
  right: 12%;
  transform: translate(30%, 30%);
  border: 2px solid #FFF;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mu-perm.uprofile-pic:hover::before {
  background: #CFE5F5 url('/img/icons-plus.svg') no-repeat 45% 40%;
  background-size: 90%;
}

.uprevprofile-pic {
  width: 40%;
  aspect-ratio: 1 / 1; 
  /* height: 150px; */
  border-radius: 50%;
  position: relative; 
  display: inline-block;
  overflow: hidden;
}

.uprevprofile-pic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #0E9848;
  border-radius: 50%;
  display: block;
}

.uprevprofile-pic:hover::after {
  background: rgba(255, 255, 255, .7) url('/img/upload-profile.png') no-repeat 50% 50%;
  background-size: 80%;
  transform: translate(80%, 80%);
  content: "";
  bottom: 77%;
  right: 77%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  position: absolute; 
  display: flex;
  z-index: 1;
}

.uprofile-status.active {
  color: #0E9848;
  position: relative; 
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.uprofile-status {
  color: #2172BA;
  position: relative; 
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.uprofile-status.active::before {
  position: relative;
  background-color: #0E9848;
  content: "";
  border: 1px solid #FFF;
  border-radius: 50%;
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
}

.uprofile-status::before {
  position: relative;
  background-color: #2172BA;
  content: "";
  border: 1px solid #FFF;
  border-radius: 50%;
  width: 0.75rem;
  height: 0.75rem;
  display: inline-block;
}

.uprofile-pic img{
  width: 100px;
  height: 100px;
  border: 3px solid #0E9848;
  border-radius: 50%;
}

.ucard {
  border: 1px solid #DBF4FF;
  border-radius: 6px;
  padding: 10px;
}

.ucard {
  position: relative;
}

span.uedit-btn {
  position: absolute;
  top: 10px;
  right: 6%;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  /* gap: 1rem; */
}

body.mini-sidebar .card-grid .pdf-module:nth-child(1),
body.mini-sidebar .card-grid .pdf-module:nth-child(2) {
  flex: 1 1 100%; 
}

#utickets {
  position: relative;
}


.card-group.sticky-top {
  top: 100px;
}

#ucard-side .ucard {
  /* padding-right: 3rem;  */
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}



/* Settings */

button.fsfa-icon {
  width: 38px;
  height: 36px;
}

.fsfa-icon {
  font-size: 14px;
}

/* LOADER */

.loader-container {
  z-index: 1055;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  position: absolute;
	/* margin-top: 7rem;
	margin-bottom: 7rem; */
	/* display: grid; */
	grid-template-columns: repeat(2, auto);
	place-items: center;
	gap: 7rem;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;

}

.spinner{
	--animation-duration: 3000ms;
	position: relative;
	width: var(--size);
	height: var(--size);

	.spinner-item {
		position: absolute;
		top: calc(50% - var(--size) / 2);
		left: calc(50% - var(--size) / 2);
		width: var(--size);
		height: var(--size);
		background: var(--clr-spinner);
		border-radius: 50%;
		animation: spinner6 var(--animation-duration) ease-in-out infinite;

		
	}

	.spinner-item:nth-of-type(1) {
		--clr-spinner: var(--clr1);
	}

	.spinner-item:nth-of-type(2) {
		--clr-spinner: var(--clr5);
		animation-delay: calc(var(--animation-duration) / -2);
	}
}
@keyframes spinner6 {
  0%,
  100% {
    transform: scale(0.25);
    opacity: 1;
  }

  50% {
    transform: scale(1);
    opacity: 0;
  }
}

@media (min-width: 576px) {
  #assignToModal .modal-dialog {
    max-width: 800px;
  }
}

/* modal */

.modal-mw-80p {
  max-width: 100vh !important;
  margin: 1.75rem auto;
  justify-content: center;
}

@media (min-width: 1024px) {
  .modal-mw-50p {
    max-width: 50% !important;
  }
}

/* forms */

.input-block + small {
  margin-top: -15px;
}

.form-floating-label {
  position: relative;
  /* margin-top: 1.5rem; */
}

.form-floating-label input.form-control {
  padding: 12px 10px;
  font-size: 14px;
  /* border: 1px solid #ccc; */
  border-radius: 5px;
  background-color: transparent;
}

.form-floating-label textarea.form-control {
  padding: 12px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: transparent;
}

.form-floating-label label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background-color: #fff;
  padding: 0 5px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  transition: 0.2s ease all;
}

.form-floating-label textarea + label {
  position: absolute;
  top: 16%;
  left: 10px;
  transform: translateY(-50%);
  background-color: #fff;
  padding: 0 5px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  transition: 0.2s ease all;
}

.form-floating-label input:focus + label,
.form-floating-label input:not(:placeholder-shown):valid + label {
  top: -1px;
  left: 8px;
  font-size: 12px;
  color: #aaa;
}

.form-floating-label textarea:focus + label,
.form-floating-label textarea:not(:placeholder-shown):valid + label {
  top: -1px;
  left: 8px;
  font-size: 12px;
  color: #aaa;
}

.form-floating-label input:focus ,
.form-floating-label textarea:focus {
  border-color: #aaa;
  outline: none;
}

.form-floating-label input.is-invalid,
.form-floating-label textarea.is-invalid {
  box-shadow: none;
}

.modal-body {
  .form-floating-label input.is-invalid + label {
    top: 34%;
  }
}


.auth-input-box {
  .form-floating-label input.is-invalid + label {
    top: 34%;
  }
}


.form-floating-label textarea.is-invalid + label {
  top: 20px;
}

#togglePassword {
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
}

/* INFO */

.info-header .header-left {
  width: 100%;
}

.info-wrapper {
  padding: 80px 0 0 0;
}

.info-wrapper {
  .container-fluid {
    padding: 0;
  }

  .nav-tabs {
    padding: 0 20px;
    border-bottom: 0px solid #333;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.1);
  }

  .info-content {
    max-width: 800px;
    background-color: white;
    margin: 10px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .info-content {

    h2 {
      margin: 0 0 20px 0;
      padding: 0 0 6px 0;
      font-size: 1.5rem;
      border-bottom: 1px solid #ccc;
      font-weight: 600;
    }

    h3 {
      margin: .5em 0;
      font-size: 1rem;
      font-weight: 600;
    }

    p {
      line-height: 1.6;
      margin: .8em 0;
      font-size: .9rem;
    }
  }
}

