label::selection {
  color: rgb(0, 0, 0);
  background: rgb(58, 190, 238);
}
.pull-right {
  float: right;
  margin-top: 2px;
}
form.right-align-inline-form select {
  width: 150px;
  margin-right: 10px;
  display: inline-block;
}
form.right-align-inline-form {
  float: right;
}
h6.card-title {
  line-height: 35px;
}
label.error {
  color: red;
  margin-top: 10px;
}
a.btn.btn-primary.btn-icon-text.mb-2.mb-md-0 {
  margin-right: 8px;
  padding: 4px 8px 4px 0;
}
svg.feather.feather-arrow-up {
  padding: 3px;
}
svg.feather.feather-arrow-down {
  padding: 3px;
}

img.rounded-circle.wd-35.empProfile {
  width: 74px;
}
.empStartTime {
  float: left;
  margin-left: 10px;
}
.empLoginTime {
  float: right;
  margin-right: 10px;
}
.empStatus {
  margin-top: 0px;
  text-align: center;
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  border: 1px solid lightgray;
}
.empStatus-inner {
  display: inline-block;
  width: 100%;
  float: left;
}
.empStatus-inner .empStartTime,
.empStatus-inner .empLoginTime {
  text-align: center;
  width: 50%;
  float: left;
  margin: 0;
}
.current-login-status {
  color: red;
  display: inline-block;
  float: left;
  width: 50%;
}
.emploggerDetail {
  text-align: center;
  width: 50%;
  display: inline-block;
}
.empStatus p {
  font-size: 30px;
}
.emploggerDetail .hide-btn {
  display: none;
}
.current-login-status p {
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  text-transform: uppercase;
}
.emploggerDetail a {
  width: 100%;
  font-size: 17px;
  margin: 0 1%;
  display: inline-block;
  float: left;
}
/*.emploggerDetail a.btn.btn-primary.emplogin
  {
    width: 98%;
  }*/
div#calendar {
  margin: 0px auto;
  padding: 0px;
  width: 100%;
  font-family: Helvetica, "Times New Roman", Times, serif;
}
div#calendar div.box {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 40px;
  background-color: #787878;
}
div#calendar div.header {
  line-height: 40px;
  vertical-align: middle;
  position: relative;
  top: 0px;
  width: 100%;
  height: 40px;
  text-align: center;
  padding: 0 10px;
}
div#calendar div.header a.prev,
div#calendar div.header a.next {
  /* position: absolute; */
  top: 0px;
  height: 40px;
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}
div#calendar div.header span.title {
  color: #fff;
  font-size: 18px;
}
div#calendar div.header a.prev {
  float: left;
}
div#calendar div.header a.next {
  float: right;
}
div#calendar div.box-content {
  border: 1px solid #787878;
  border-top: none;
}
div#calendar ul.label {
  float: left;
  margin: 0px;
  padding: 0px;
  margin-top: 5px;
  margin-left: 5px;
  width: 100%;
}
div#calendar ul.label li {
  margin: 0px;
  padding: 0px;
  margin-right: 1%;
  float: left;
  list-style-type: none;
  width: 13.2857%;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  text-align: center;
  color: #000;
  font-size: 15px;
  background-color: transparent;
}
div#calendar ul.dates {
  float: left;
  margin: 0px;
  padding: 0px;
  margin-left: 5px;
  margin-bottom: 5px;
  width: 100%;
}
div#calendar ul.dates > li {
  margin: 0px;
  padding: 0px;
  margin-right: 1%;
  margin-top: 5px;
  line-height: 40px;
  vertical-align: middle;
  float: left;
  list-style-type: none;
  width: 13.2857%;
  font-size: 25px;
  background-color: #ddd;
  color: #000;
  text-align: center;
  padding: 5px;
}
div.clear {
  clear: both;
}
ul.timesheet-summery li {
  margin-bottom: 2px;
  float: left;
  width: 100%;
  padding: 2px;
  background: #fefefe;
  border: 1px solid #eeeeee;
}
ul.timesheet-summery li {
  font-size: 12px;
  line-height: 1.2;
}
ul.timesheet-summery li span {
  float: left;
  width: 70%;
  text-align: left;
}
ul.timesheet-summery li div {
  float: left;
  width: 70%;
  text-align: left;
}
ul.timesheet-summery {
  padding: 0;
  list-style: none;
}
ul.timesheet-summery li span + span {
  float: right;
  width: 30%;
  text-align: right;
  display: flex;
  justify-content: center;
}
ul.timesheet-summery li.time-sheet-logger-present {
  background: linear-gradient(to right, #fefefe 70%, #3bb143 30%);
}
ul.timesheet-summery li.time-sheet-logger-shortfullday {
  background: linear-gradient(to right, #fefefe 70%, #aef35a 30%);
}
ul.timesheet-summery li.time-sheet-logger-halfday {
  background: linear-gradient(to right, #fefefe 70%, #ffee75 30%);
}
ul.timesheet-summery li.time-sheet-logger-shorthalfday {
  background: linear-gradient(to right, #fefefe 70%, #fea610 30%);
}
ul.timesheet-summery li.time-sheet-logger-absent {
  background: linear-gradient(to right, #fefefe 70%, #fe8585 30%);
}
p.employee-current-login-status.status-in {
  color: green;
}
p.employee-current-login-status.status-out {
  color: #fe8585;
}
p.employee-current-login-status-Break {
  color: #fea610;
}
p.employee-current-login-status-Out {
  color: #fe8585;
}
a.btn.btn-success.emploan {
  color: #ffffff;
}

.box-content .badge {
  position: absolute;
  width: 30px;
  text-align: center;
  padding: 2px 5px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  margin-left: 3px;
}

.badge-danger {
  background-color: #ffe3e3;
  color: #c92a2a;
  border-color: #ffa8a8;
}
.badge-warning {
  background-color: #fff8db;
  color: #b08900;
  border-color: #ffe066;
}
.badge-success {
  background-color: #e6f7ec;
  color: #1e7e34;
  border-color: #b7e4c7;
}
.badge-info {
  background-color: #e6f0ff;
  color: #0d6efd;
  border: 1px solid #e7f0ff;
}

.emp-type {
  color: #787878;
}
/* For Generate Salary */

input.form-control.employee {
  width: 150px;
}
input.form-control.month {
  width: 50px;
}
input.form-control.year {
  width: 65px;
}
input.form-control.salary {
  width: 100px;
}
input.form-control.tot_amount {
  width: 100px;
}

td.task-comment {
  padding: unset;
}

.task-comment .chat-wrapper {
  height: auto;
}
.chat-wrapper .chat-content .chat-body .messages .message-item {
  white-space: normal;
  word-break: break-all;
}

/* Task */
button.btn.btn-primary.btn-icon.commentTask,
.chat-footer .save-dynamic-sections,
.chat-footer .commentTask {
    position: relative !important;
    left: 12px !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 136px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.chat-footer.d-flex {
  /*align-items: center;*/
}
.chat-body.ps.ps--active-y {
  overflow-y: auto !important;
  /*max-height: calc(100vh - 160px);*/
  max-height: calc(100vh - 210px);
  height: 100vh;
}
/* .chat-content.file-drop.dragOver {
    background: #F5F5F5;
    opacity: 1;
    transition: 0.2s ease;
} */
/*.form-group.row.task_info {
    padding: 5px 0px 0px;
}*/
p.task_description {
  margin: 10px 0px 10px;
}
button.btn.btn-outline-primary.pull-right.update_status {
  margin-top: 10px;
}

.table-responsive.taskreportstbl {
  overflow: visible;
}
.taskreportstbl .bootstrap-datetimepicker-widget table td {
  padding: 0;
}
.reason-column {
  width: 500px !important;
  max-width: 361px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.2 !important;
}


/*.task_info_div {
    height: auto;
    width: 100%;
    border: 0px solid #000000;
}*/
.more-info-div {
  position: relative;
}
.task_info_div.slide-div {
  position: fixed;
  width: 740px;
  z-index: 1030;
  top: 0;
  bottom: 0;
  right: 0;
  animation-name: right-to-left-slide;
  animation-duration: 1s;
}
.task_info_div.slide-div .card {
  height: calc(100vh);
}
.task_info_div.hide-slide-div {
  /*position: absolute;*/
  position: fixed;
  width: 740px;
  z-index: 1000;
  top: 0;
  bottom: 0;
  /*height: auto;*/
  right: -100vw;
  /*display: none;*/
  animation-name: left-to-right-slide;
  animation-duration: 1s;
}
.status_update_svg svg {
  width: 16px;
  display: inline-block;
  float: left;
  height: auto;
  margin-right: 14px;
}
.status_update_svg svg.status-complted {
  background: #467761;
  border-radius: 100%;
}
.status_update_svg svg.status-pending-review {
  background: #bfcb07;
  border-radius: 100%;
  fill: #bfcb07;
}
.status_update_svg svg.status-pending-review g path {
  fill: #ffffff;
}
.status_update_svg svg:hover,
.taskComment:hover,
.due_date:hover,
svg.pull-right:hover,
.task_comments_svg:hover {
  cursor: pointer;
}
.status_update_svg svg.status-complted path {
  fill: #ffffff;
}
.task_comments_svg {
  margin-top: 6px;
}
.taskComment {
  display: inline-block;
  float: right;
}
.taskComment span {
  float: right;
  padding-right: 10px;
}
.task_name_info {
  float: left;
  /* margin-right: 14px; */
  margin-right: 5px;
  max-width: 430px;
}
input.task_name_update {
  max-width: 370px;
}
table input {
  border: none;
}
table input:hover {
  border: 1px solid #0000006b;
}
.taskComment {
  opacity: 0;
}
td.tbl-hvr-effect:hover .taskComment {
  opacity: 1;
}
svg.pull-right {
  width: 24px;
  height: auto;
}
.task_comments_svg {
  display: inline-block;
  position: relative;
}
.task_comments_svg svg {
  width: 20px;
  height: auto;
}

.form-group.row label {
  margin: auto 0;
}
.form-group.row label.label-description {
  margin: unset;
}
.more-info-div table td {
  padding: 4px;
}
.form-group.row {
  padding: 2px 0;
}
.div-loader {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20020;
  background: rgba(255, 255, 255, 0.8);
  align-items: center;
  justify-content: center;
}
.has-loader .div-loader svg {
  width: 80px;
  height: 80px;
}
.has-loader .div-loader {
  display: flex;
}
textarea#chatForm {
  height: 100px;
}
tr.Completed *,
tr.Completed svg {
  fill: #bbbbbb;
  color: #bbbbbb !important;
}
span.accordion-header-icon {
  height: 30px;
  width: 35px;
  display: inline-block;
}
.chat-wrapper .chat-content .chat-body .messages .message-item .content span {
  display: block;
}
.birthday-div {
  max-height: 500px;
  overflow-y: auto;
}
.birthday-div a.d-flex.align-items-center.border-bottom {
  padding: 6px 0;
}

.InOutPoupup:hover {
  cursor: pointer;
}
.preview {
  overflow: hidden;
  width: 160px;
  height: 160px;
  margin: 10px;
  border: 1px solid red;
}

#profilePicModal .modal-body {
  min-height: 500px;
  max-height: 500px;
  text-align: center;
}
#profilePicModal .modal-footer {
  justify-content: start;
}
.imgdiv {
  max-height: 450px !important;
}
.cropper-bg {
  width: 100%;
}
.sb-radioGroup {
  display: flex;
  gap: 10px;
}
.sb-radioGroup .form-check {
  margin-top: 0;
}
.sb-radioGroup .form-check-label {
  margin-bottom: 0;
  margin-left: 10px !important;
}
.modules-check {
  display: inline-block;
  margin-right: 10px;
  min-width: 180px;
}
#change_pwd_form label.error {
  width: 100%;
}
#sb_form select,
#sd_form select {
  color: #000;
}
.without_ampm::-webkit-datetime-edit-ampm-field {
  display: none;
}

input[type="time"]::-webkit-clear-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  appearance: none;
  margin: -10px;
}

@keyframes right-to-left-slide {
  from {
    right: -100vw;
    display: none;
  }
  to {
    display: block;
    right: 0;
  }
}
@keyframes left-to-right-slide {
  from {
    display: block;
    right: 0;
  }
  to {
    right: -100vw;
    display: none;
  }
}
@media (min-width: 992px) {
  .task_info_div.slide-div .chat-wrapper .chat-aside {
    padding-right: 0.75rem !important;
  }
}
@media (min-width: 992px) {
  #model_comment .modal-dialog {
    max-width: 1200px !important;
  }
}
#model_comment .modal-dialog {
  width: 1200px !important;
}
.ql-toolbar.ql-snow {
  padding: 0;
}
#model_comment .editor_container {
  width: 83%;
}
.log-card {
  gap: 20px;
  background-color: #f9f9f9;
  cursor: default;
}

.log-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-change {
  background: linear-gradient(135deg, #4a90e2, #2d89ef);
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

.assignee-change {
  background: linear-gradient(135deg, #f39c12, #f1c40f);
  box-shadow: 0 0 8px rgba(243, 156, 18, 0.4);
}
.taskname-change {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
  box-shadow: 0 0 8px rgba(142, 68, 173, 0.5);
}
.duedate-change {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  box-shadow: 0 0 8px rgba(39, 174, 96, 0.5);
}
.project-change {
  background: linear-gradient(135deg, #d35400, #e67e22);
  box-shadow: 0 0 8px rgba(211, 84, 0, 0.5);
}
.log-time {
  font-size: 0.8rem;
  background: #eef1f6;
  padding: 4px 10px;
  border-radius: 50px;
  color: #555;
  white-space: nowrap;
  display: inline-block;
}
form#salaryTable table td {
  padding: 1px;
}
form#salaryTable table .form-control {
  padding: 1px;
}
form#salaryTable thead th {
  border-top: 0;
  border-bottom-width: 1px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
}
#model_comment .messages .message .bubble img {
  width: 60px;
  width: 60px;
}

::selection {
  background: #0078d7 !important;
  color: #ffffff !important;
}

/* For Firefox */
::-moz-selection {
  background: #0078d7 !important;
  color: #ffffff !important;
}
#viewsalary table tr td,
#viewsalary table tr th {
  padding: 8px !important;
}
#model_comment .messages li {
  list-style-type: unset !important;
}

.ql-indent-1 {
  margin-left: 3em;
}

#sample_image {
  width: 100%;
  max-height: inherit;
}

/* attach file Dropzone CSS */

#attach_model_comment {
  display: block;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out;
}

#attach_model_comment.show {
  opacity: 1;
  transform: translateX(0);
}

#attach_model_comment .doc-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.doc-card {
  width: 155px;
  font-family: Arial, sans-serif;
}

.doc-thumb {
  position: relative;
  height: 140px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
}

.doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doc-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: 0.3s;
}

.doc-thumb:hover .doc-hover {
  opacity: 1;
}

.doc-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.doc-action:hover {
  color: #fff;
}

.doc-action.delete {
  background: #444;
}

.doc-name {
  font-size: 12px;
  margin-top: 6px;
  text-align: center;
  word-break: break-word;
}

.attach_mb {
  position: relative;
  height: 70vh;
  overflow-y: hidden;
  padding-bottom: 140px;
}

.dragfile {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  background: #fff;
  padding: 10px;
  z-index: 10;
}

.file_show {
  max-height: calc(70vh - 80px);
  overflow-y: auto;
  padding-right: 6px;
}

.file_show::-webkit-scrollbar {
  width: 6px;
}

.file_show::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.dropzone {
  background: #e9e9e9ff !important;
  border: 1px dashed grey !important;
  min-height: 150px;
}

.dropzone:hover {
  border: 1px dashed green !important;
}

@media (max-width: 576px) {
  .attach_modal-dialog {
    margin: 0.5rem;
    max-width: 95%;
  }

  .attach_modal-content {
    border-radius: 0.5rem;
  }

  .dropzone {
    min-height: 150px;
  }
}

.card-title .btn {
  text-transform: capitalize;
}

/* Submenu 20% / 80% Ratio Layout Styles */
@media (min-width: 768px) {
  .col-submenu-20 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    position: sticky;
    top: 80px;
    align-self: flex-start;
  }
  .col-submenu-80 {
    flex: 0 0 80% !important;
    max-width: 80% !important;
  }
}

.submenu-card {
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 0 10px 0 rgba(183, 192, 206, 0.15);
  border-radius: 0.25rem;
  background-color: #ffffff;
}
.submenu-card .card-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4b5563;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.custom-submenu-pills .nav-link {
  color: #4f5d73;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  transition: all 0.2s ease-in-out;
}
.custom-submenu-pills .nav-link:hover {
  background-color: rgba(114, 124, 245, 0.08);
  color: #727cf5;
}
.custom-submenu-pills .nav-link.active {
  background-color: #727cf5 !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(114, 124, 245, 0.35);
}
.custom-submenu-pills .nav-link svg,
.custom-submenu-pills .nav-link i {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.dynamic-section-card .select2-selection,
.chat-body .select2-selection {
  height: 35px !important;
}

.swal2-modal .swal2-actions button.swal2-cancel.my-cancel-button:active,
.swal2-modal .swal2-actions button.swal2-cancel.my-cancel-button:focus,
.swal2-modal .swal2-actions button.swal2-cancel.my-cancel-button:hover,
.swal2-modal .swal2-actions button.swal2-cancel.my-cancel-button {
  border-color: transparent !important;
  box-shadow: none !important;
}

.swal2-actions button.swal2-confirm {
  background-color: #727cf5 !important;
  border-color: #727cf5 !important;
  color: #ffffff !important;
}

.swal2-actions button.swal2-cancel {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #ffffff !important;
}

#model_comment .dragfile {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
#model_comment .dynamic-dropzone-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
#model_comment .dropzone,
#model_comment .custom-dropzone {
  background: rgba(10, 10, 10, 0.56) !important;
  border-radius: 6px;
  min-height: 140px;
  height: 100% !important;
  width: 100% !important;
  color: #fff !important;
  box-shadow: none !important;
}
#model_comment .dropzone .dz-message,
#model_comment .dropzone .dz-message .dz-button {
  color: #fff !important;
  font-size: 16px;
}

#model_comment
  .dynamic-dropzone-container
  .dropzone.dz-clickable
  .dz-message
  * {
  color: #fff !important;
}

#model_comment .section-inner.image-height {
  min-height: 170px;
}

#model_comment .dynamic-section-card .input-group-text {
  height: 35px;
}

#model_comment .dynamic-dropzone-container .dropzone:hover {
  border: none !important;
}

#revisionHistoryModal.modal.right.fade .modal-dialog,
#linkedTicketsModal.modal.right.fade .modal-dialog {
  right: -900px;
  width: 900px !important;
  max-width: 900px !important;
  margin: auto;
  height: 100%;
  position: fixed;
  transition:
    opacity 0.3s linear,
    right 0.3s ease-out;
}
@media (min-width: 992px) {
  #revisionHistoryModal.modal.right.fade .modal-dialog,
  #linkedTicketsModal.modal.right.fade .modal-dialog {
    width: 900px !important;
    max-width: 1200px !important;
  }
}
#revisionHistoryModal.modal.right.fade.show .modal-dialog,
#linkedTicketsModal.modal.right.fade.show .modal-dialog {
  right: 0 !important;
}
#revisionHistoryModal.modal.right .modal-content,
#linkedTicketsModal.modal.right .modal-content {
  height: 100% !important;
  overflow-y: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 0 !important;
  border: none !important;
  background-color: #fff !important;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15) !important;
}
#revisionHistoryModal.modal.right .modal-body,
#linkedTicketsModal.modal.right .modal-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  background-color: #fff !important;
  padding: 20px !important;
}

.modal-backdrop ~ .modal-backdrop {
  z-index: 1060 !important;
}

#linkTaskModal {
  z-index: 1065 !important;
}

#linkTaskModal .select2-container,
.select2-container--open {
  z-index: 1075 !important;
}

/* Link Task Modal jQuery UI Autocomplete styling */
#linkTaskModal .ui-autocomplete,
#link_task_search_wrapper .ui-autocomplete,
.link-task-autocomplete-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 1075 !important;
  max-height: 230px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.1),
    0 4px 6px rgba(0, 0, 0, 0.04) !important;
  padding: 4px 0 !important;
  margin: 4px 0 0 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
  font-family:
    "Overpass",
    sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial !important;
}

.link-task-autocomplete-menu * {
  font-family:
    "Overpass",
    sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial !important;
  box-sizing: border-box;
}

/* Custom scrollbar */
.link-task-autocomplete-menu::-webkit-scrollbar {
  width: 5px;
}
.link-task-autocomplete-menu::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}
.link-task-autocomplete-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.link-task-autocomplete-menu::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

#linkTaskModal .ui-autocomplete .ui-menu-item,
#link_task_search_wrapper .ui-autocomplete .ui-menu-item,
.link-task-autocomplete-menu .ui-menu-item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
}

#linkTaskModal .ui-autocomplete .ui-menu-item-wrapper,
#link_task_search_wrapper .ui-autocomplete .ui-menu-item-wrapper,
.link-task-autocomplete-menu .ui-menu-item-wrapper {
  display: block !important;
  padding: 9px 14px !important;
  border: none !important;
  background: transparent !important;
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-left: 3px solid transparent !important;
  transition: all 0.15s ease-in-out !important;
}

#linkTaskModal .ui-autocomplete .ui-menu-item:last-child .ui-menu-item-wrapper,
#link_task_search_wrapper
  .ui-autocomplete
  .ui-menu-item:last-child
  .ui-menu-item-wrapper,
.link-task-autocomplete-menu .ui-menu-item:last-child .ui-menu-item-wrapper {
  border-bottom: none !important;
}

#linkTaskModal .ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
#linkTaskModal .ui-autocomplete .ui-menu-item-wrapper:hover,
#link_task_search_wrapper
  .ui-autocomplete
  .ui-menu-item-wrapper.ui-state-active,
#link_task_search_wrapper .ui-autocomplete .ui-menu-item-wrapper:hover,
.link-task-autocomplete-menu .ui-menu-item-wrapper.ui-state-active,
.link-task-autocomplete-menu .ui-menu-item-wrapper:hover {
  background-color: #f8fafc !important;
  border-left-color: #727cf5 !important;
  color: #0f172a !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin: 0 !important;
}

/* Autocomplete item components */
.link-task-item-id {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #727cf5;
  background: rgba(114, 124, 245, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
  flex-shrink: 0;
  line-height: 1.3;
}

.link-task-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-task-status-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  line-height: 1.4;
  display: inline-block;
  text-transform: capitalize;
  flex-shrink: 0;
  margin-left: 8px;
  background: rgba(114, 124, 245, 0.12) !important;
  color: #727cf5 !important;
  border: 1px solid rgba(114, 124, 245, 0.25) !important;
}

.link-task-item-proj {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
  display: flex;
  align-items: center;
}

.link-task-item-proj svg {
  margin-right: 4px;
  opacity: 0.7;
}

#linkedTicketsModal {
  z-index: 1065 !important;
}

#linkedTicketsModal .modal-header {
  padding: 7px 20px;
  border-bottom: 1px solid #eaebf0;
  background: #fff;
}

#linkedTicketsModal .modal-header .close {
  outline: none;
}

#linkedTicketsModal .modal-header .close i,
#linkedTicketsModal .modal-header .close svg {
  width: 20px;
  height: 20px;
}

#linkedTicketsModal .modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
}

#linkedTicketsModal .linked-tickets-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0;
}

.linked-tickets-table-wrapper {
  border: 1px solid #eaebf0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

#linkedTicketsTable {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0;
}

#linkedTicketsTable thead {
  background-color: #f8fafc;
  border-bottom: 1px solid #eaebf0;
}

#linkedTicketsTable thead th {
  border: none;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: normal;
  color: #1e293b;
  text-transform: none;
}

#linkedTicketsTable th.tkt-col-sr,
#linkedTicketsTable td.tkt-col-sr {
  width: 50px;
  text-align: center;
}

#linkedTicketsTable th.tkt-col-id,
#linkedTicketsTable td.tkt-col-id {
  width: 170px;
}

#linkedTicketsTable th.tkt-col-type,
#linkedTicketsTable td.tkt-col-type {
  width: 130px;
  text-align: center;
}

#linkedTicketsTable th.tkt-col-date,
#linkedTicketsTable td.tkt-col-date {
  width: 140px;
}

#linkedTicketsTable th.tkt-col-user,
#linkedTicketsTable td.tkt-col-user {
  width: 160px;
}

#linkedTicketsTable th.tkt-col-att,
#linkedTicketsTable td.tkt-col-att {
    width: 90px;
    text-align: center;
}

#linkedTicketsTable tbody tr {
  border-bottom: 1px solid #eaebf0;
}

#linkedTicketsTable tbody td {
  border: none;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.88rem;
  color: #1e293b;
  vertical-align: middle;
}

#linkedTicketsTable td.tkt-subject {
  font-weight: 500;
  line-height: 1.4;
  width: 400px;
  text-wrap: auto;
}

#linkedTicketsTable .tkt-link {
  color: #4361ee;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
}

#linkedTicketsTable .tkt-link:hover {
  color: #2b45cb;
  text-decoration: underline;
}

#linkedTicketsTable .tkt-link i,
#linkedTicketsTable .tkt-link svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  margin-left: 4px;
}

/* Linked Ticket Badges */
.tkt-badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    background-color: rgba(114, 124, 245, 0.1);
    color: #727cf5;
    border: 1px solid rgba(114, 124, 245, 0.25);
}

.tkt-badge-primary,
.tkt-badge-bug,
.tkt-badge-improvement,
.tkt-badge-feature,
.tkt-badge-other {
    background-color: rgba(114, 124, 245, 0.1);
    color: #727cf5;
    border: 1px solid rgba(114, 124, 245, 0.25);
}

.linked-tickets-empty {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background-color: #f8fafc;
}

.linked-tickets-empty i,
.linked-tickets-empty svg {
  width: 42px;
  height: 42px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.linked-tickets-empty h6 {
  font-size: 1rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 4px;
}

.linked-tickets-empty p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0;
}

/* Linked Ticket Attachments Accordion */
.view-ticket-attachments-btn {
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #64748b;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.view-ticket-attachments-btn:hover {
    border-color: #727cf5;
    background-color: rgba(114, 124, 245, 0.08);
    color: #727cf5;
}

.view-ticket-attachments-btn.active {
    border-color: #727cf5;
    background-color: #727cf5;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(114, 124, 245, 0.35);
}

.view-ticket-attachments-btn.active i,
.view-ticket-attachments-btn.active svg {
    color: #ffffff !important;
}

.tkt-att-accordion-row {
    background-color: #f8fafc;
}

.tkt-att-accordion-wrapper {
    background-color: #f8fafc;
    border-bottom: 1px solid #eaebf0;
}

.tkt-att-preview-container {
    background-color: #f8fafc;
}

.tkt-att-loading,
.tkt-att-empty {
    background-color: #f8fafc;
    border-radius: 6px;
}

.tkt-att-accordion-row img {
  border-radius: 0 !important;
}

.reason-column {
      width: 500px !important;
      max-width: 361px !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;
      word-break: break-word !important;
       line-height:1.2 !important;
    }
