/* Lato Black */
@font-face {
  font-family: "Lato";
  font-weight: 900;
  src: url("../fonts/Lato-Black.ttf") format("truetype");
}

/* Lato Black Italic */
@font-face {
  font-family: "Lato";
  font-weight: 900;
  font-style: italic;
  src: url("../fonts/Lato-BlackItalic.ttf") format("truetype");
}

/* Lato Bold */
@font-face {
  font-family: "Lato";
  font-weight: 700;
  src: url("../fonts/Lato-Bold.ttf") format("truetype");
}

/* Lato Bold Italic */
@font-face {
  font-family: "Lato";
  font-weight: 700;
  font-style: italic;
  src: url("../fonts/Lato-BoldItalic.ttf") format("truetype");
}

/* Lato Italic */
@font-face {
  font-family: "Lato";
  font-style: italic;
  src: url("../fonts/Lato-Italic.ttf") format("truetype");
}

/* Lato Light Italic */
@font-face {
  font-family: "Lato";
  font-weight: 300;
  font-style: italic;
  src: url("../fonts/Lato-LightItalic.ttf") format("truetype");
}

/* Lato Regular */
@font-face {
  font-family: "Lato";
  font-weight: 400;
  src: url("../fonts/Lato-Regular.ttf") format("truetype");
}

/* Lato Thin */
@font-face {
  font-family: "Lato";
  font-weight: 100;
  src: url("../fonts/Lato-Thin.ttf") format("truetype");
}

/* Lato Thin Italic */
@font-face {
  font-family: "Lato";
  font-weight: 100;
  font-style: italic;
  src: url("../fonts/Lato-ThinItalic.ttf") format("truetype");
}

.floating-buttons {
  position: fixed;
  height: 45px;
  width: 45px;
  background: #4B49AC;
  color: #fff;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-fill-mode: both;
  cursor: pointer;
  transition: 0.3s;
  top: 80px;
  right: 20px !important;
}

.dropzone {
  background: white;
  border-radius: 5px;
  border: 2px dashed #3f3e91;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-image-slice: 100%;
  border-image-source: none;
  border-image-width: 1;
  /* border-image: none; */
  max-width: 100%;
  min-height: 200px;
  box-sizing: border-box;
}

.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: start;
}

.rating>input {
  display: none
}

.rating>label {
  position: relative;
  width: 0.9em;
  font-size: 24px;
  font-weight: 300;
  color: #FFD600;
  cursor: pointer
}

.rating>label::before {
  content: "\2605";
  position: absolute;
  opacity: 0
}

.rating>label:hover:before,
.rating>label:hover~label:before {
  opacity: 1 !important
}

.rating>input:checked~label:before {
  opacity: 1
}

.rating:hover>input:checked~label:before {
  opacity: 0.4
}

.password-show {
  position: relative;
}

.password-show i {
  position: absolute;
  right: 15px;
  font-size: 26px;
  top: 15px;
  opacity: 0.5;
  cursor: pointer;
}
.password-show i:hover {
  opacity: 1;
}

.comments-modal-box {
  overflow: auto;
  height: 510px;
  scrollbar-width: thin;
}

.tags-checkbox-card {
  height: 100px;
  overflow: auto;
  scrollbar-width: thin;
}

.kanban-main-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .kanban-main-card {
      min-height: 1050px;
  }
}

.pagination-container {
margin-top: auto !important; /* Pushes the element to the bottom */
}

.accordion-header-right-side-button-override {
  z-index: 999 !important;
  margin-right: 20px;
  position: absolute;
  right: 0px;
  top: 0px;
}

#accordionTask .accordion-button {
  border-radius: 0px !important
}

.picture-container {
  position: relative;
  cursor: pointer;
  text-align: center;
  width: 100%;
}
.profile-picture {
  width: 150px;
  height: 150px;
  background-color: #999999;
  /* border: 4px solid #CCCCCC; */
  color: #FFFFFF;
  border-radius: 50%;
  margin: auto;
  margin-top: -75px;
  overflow: hidden;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
}
.cover-picture {
  width: 100%;
  height: 200px;
  background-color: #999999;
  /* border: 4px solid #CCCCCC; */
  color: #FFFFFF;
  margin: 0px auto;
  overflow: hidden;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.picture:hover {
  border: 4px solid #CCCCCC;
}
.cover-picture input[type="file"] {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 200px;
  width: 100%;
  opacity: 0 !important;
}

.profile-picture input[type="file"] {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 125px;
  height: 150px;
  width: 150px;
  /* left: 35%; */
  opacity: 0 !important;
}
.picture-src {
  width: 100%;   
}

.people-profile-picture {
  width: 150px;
  height: 150px;
  background-color: #999999;
  /* border: 4px solid #CCCCCC; */
  color: #FFFFFF;
  border-radius: 50%;
  margin: auto;
  margin-top: 25px;
  overflow: hidden;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
}
.people-profile-picture input[type="file"] {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 125px;
  height: 150px;
  width: 150px;
  /* left: 35%; */
  opacity: 0 !important;
}

.btn-circle {
  width: 32px;
  height: 32px;
  padding: 6px 0px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  line-height: 1.42857;
}

.gravatar-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #4b49ac; 
  color: white;
  width: 30px;
  height: 30px;
  font-size: 10px;
  cursor: pointer;
}

.gravatar-circle-lg {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #4b49ac; 
  color: white;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
}

.custom-dialog {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 20px;
  z-index: 1000;
  min-width: 220px;
  border-radius: 6px;
}
.custom-dialog .close-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #888;
}
.custom-dialog .close-btn:hover {
  color: #333;
}

.tw-toggle {
  /* background: #95A5A6; */
  display: inline-block;
  padding: 0px 4px;
  border-radius: 20px;
  position:relative;
  border: 2px solid #95A5A6;
  min-width: 74px;
}

.tw-toggle label {
  text-align: center;
  font-family: sans-serif;
  display: inline-block;
  color: #95A5A6;
  position:relative;
  z-index:2;
  margin: 0;
  text-align: center;
  padding: 2px 3px;
  font-size: 15px;
  /* cursor: pointer; */
}

.tw-toggle input {
  /* display: none; */
  position: absolute;
  z-index: 3;
  opacity: 0;
  cursor: pointer;
}

.tw-toggle span {
  height: 21px;
  width: 21px;
  line-height: 21px;
  border-radius: 50%;
  background:#fff;
  display:block;
  position:absolute;
  left: 22px;
  top: 2px;
  transition:all 0.3s ease-in-out;
}

.tw-toggle input[value="false"]:checked ~ span{
  background:#dc3545;
  left:2px;
  color:#fff;
}

.tw-toggle input[value="true"]:checked ~ span{
  background:#198754;
  left: 40px;
}
.tw-toggle input[value="-1"]:checked ~ span{
  background:#95A5A6;
  left: 21px;
}

.tw-toggle input[value="false"]:checked + label,.tw-toggle input[value="true"]:checked + label{
  color:#fff;
}
.tw-toggle input[value="-1"]:checked + label{
  color:#fff;
}

.picture-container {
    position: relative;
    cursor: pointer;
    width: 100%;
}
.logo-picture {
    width: 50px;
    height: 50px;
    background-color: #999999;   
    color: #FFFFFF;
    border-radius: 50%;    
    overflow: hidden;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}
.picture:hover {
    border: 4px solid #CCCCCC;
}
.logo-picture input[type="file"] {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 125px;
    height: 150px;
    width: 150px;
    /* left: 35%; */
    opacity: 0 !important;
}
.picture-src {
    width: 100%;   
}

@media (min-width: 768px) { /* Apply only on tablets and larger screens */
  #offcanvasAddEditReportSection {
    min-width: 50%; /* Restrict width to 50% for this specific offcanvas */
  }
}

.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #dee2e6;
  margin: 0 2px;
  padding: 0;
}

.pagination-dot.active {
  background-color: #4b49ac;
}

.badge-lg {
  font-size: 0.875rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.featured-items-container {
  min-height: 750px;
}

.featured-items-container-subsection {
  min-height: 770px;
  overflow: scroll;
  scrollbar-width: thin;
}

.featured-card {
  height: calc((750px - 5rem) / 3);
  margin-bottom: 0px;
}

@media (max-width: 767px) {
  .col-12.col-md-4 {
    margin-bottom: 1rem;
  }
}

.featured-card-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  max-height: calc(100% - 3rem);
}

.featured-card-scroll::-webkit-scrollbar {
  display: none;
}

.circle-primary-button {  
  height: 45px;
  width: 45px;
  background: #4B49AC;
  color: #fff;  
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  animation-duration: 1s;
  animation-delay: 1s;
  animation-fill-mode: both;
  cursor: pointer;
  transition: 0.3s;  
}

.floating-sort-header {
  display: flex;
  border: 1px solid #cfd4da;
  border-radius: 4px;
  overflow: hidden;
}
.floating-sort-header .btn {
  border: none;
  border-right: 1px solid #cfd4da;
  border-radius: 0;
  background: #f8f9fa;
  color: #212529;
  font-weight: 500;
}
.floating-sort-header .btn:last-child {
  border-right: none;
}
.floating-sort-header .btn:hover {
  background: #eef0f5;
}
.floating-sort-header .fa-sort {
  margin-left: 10px;
  font-size: 0.85rem;
}

/* Notification Styling */
.notification-item[data-read="false"] {
  background-color: #f8f9ff;
  border-left: 3px solid #4b49ac;
}
.notification-item[data-read="true"] {
  opacity: 0.7;
}

.notification-actions {
  display: flex;
  align-items: center;
}
.toggle-read {
  border: none !important;
  background: none !important;
  color: #6c757d;
  font-size: 14px;
  padding: 4px;
}
.toggle-read:hover {
  color: #4b49ac !important;
}

/* first used on post-assign-workproduct-v3-focused */
.focused-content {
  background: linear-gradient(135deg, #f8f8ff, #e8e7ff) !important;
  border-left: 5px solid #4b49ac !important;
  box-shadow: inset 0 0 15px rgba(75, 73, 172, 0.1), 0 2px 10px rgba(75, 73, 172, 0.15) !important;
  animation: subtle-glow 3s ease-in-out infinite;
}
@keyframes subtle-glow {
  0%, 100% { box-shadow: inset 0 0 15px rgba(75, 73, 172, 0.1), 0 2px 10px rgba(75, 73, 172, 0.15); }
  50% { box-shadow: inset 0 0 25px rgba(75, 73, 172, 0.2), 0 4px 15px rgba(75, 73, 172, 0.25); }
}