@charset "UTF-8";
#page-topbar {
  z-index: 1006;
}

.toggle-collapse:after {
  margin-left: 0.275rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f077";
  color: #74788d;
  font-size: 90%;
}
.toggle-collapse.collapsed:after {
  content: "\f078";
}

.dropdown-toggle.no-caret:after {
  content: none;
}

.table-timeline .card {
  margin-bottom: 0;
  border-radius: 0;
}
.table-timeline .table {
  margin-bottom: 0;
}
.table-timeline .table .empty {
  padding: 12px 16px;
}
.table-timeline .table tbody td {
  padding: 0;
  position: relative;
  border-bottom-width: 0;
}
.table-timeline .table tbody td .table-timeline-item {
  padding: 12px 12px 12px 48px;
}
.table-timeline .table tbody td .table-timeline-item .timeline-icon {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 12px;
  width: 24px;
  height: 24px;
  background-color: #212121;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7em;
  transform: translateX(-50%);
}
.table-timeline .table tbody td .table-timeline-item:before {
  content: "";
  width: 1px;
  top: 0;
  bottom: 0;
  left: 24px;
  position: absolute;
  background-color: #D9D9D9;
}

.table-pagination-sm .pagination .page-item .page-link {
  font-size: 0.8em;
  padding: 0.175rem 0.375rem;
}
.table-pagination-sm .kv-panel-pager {
  height: auto;
}

.border-bottom-2 {
  border-bottom: 1px solid #e9ebef;
}

.nav-tabs-custom-2 {
  border-bottom: none;
}
.nav-tabs-custom-2 .nav-item .nav-link {
  border: none;
  color: #74788d;
  padding: 1rem 4.25rem 1rem 0;
  border-radius: 0;
  font-weight: 500;
}
.nav-tabs-custom-2 .nav-item .nav-link.active {
  background-color: transparent;
  color: #038edc;
}
.nav-tabs-custom-2 .nav-item:not(:last-child) .nav-link {
  border-right: 1px solid #e9ebef;
}
.nav-tabs-custom-2 .nav-item:not(:first-child) .nav-link {
  padding-left: 1.25rem;
}

.dashboard-statistic-list .statistic-item {
  text-align: center;
}
.dashboard-statistic-list .statistic-item .item-subtitle {
  display: block;
  color: #74788D;
}
.dashboard-statistic-list .statistic-item .item-title {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 10px;
  margin-top: 16px;
}
.dashboard-statistic-list .statistic-item .item-note {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-group-item .group-item-title {
  font-size: 16px;
  font-weight: 700;
  background-color: #495057;
  color: #FFFFFF;
  padding: 6px 10px;
  border-radius: 6px;
}
.dashboard-group-item .group-item-title.toggle-collapse:after {
  color: #FFFFFF;
  opacity: 0.6;
}
.dashboard-group-item:not(:first-child) {
  margin-top: 1.125rem;
}
.dashboard-group-item:not(:last-child) {
  border-bottom: 1px solid #e9ebef;
  padding-bottom: 1.125rem;
}

.dashboard-chart {
  min-height: 240px;
}

.bg-dashboard-blue {
  background-color: #1F3BB3 !important;
}

.bg-dashboard-light-blue {
  background-color: #5ECDF7 !important;
}

.notation-list {
  display: flex;
}
.notation-list .notation-item {
  display: flex;
  align-items: center;
}
.notation-list .notation-item .item-title {
  font-size: 13px;
}
.notation-list .notation-item .item-dot {
  width: 10px;
  height: 10px;
  background-color: #74788d;
  border-radius: 100%;
  margin-right: 6px;
}
.notation-list .notation-item:not(:last-child) {
  margin-right: 20px;
}

.badge.badge-square {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-dashboard > :not(:first-child) {
  border-top-width: 0;
}
.table-dashboard thead tr th {
  text-transform: uppercase;
  color: #74788D;
}
.table-dashboard-item .item-content {
  display: flex;
  flex-direction: column;
}
.table-dashboard-item .item-title {
  font-size: 16px;
  margin-bottom: 12px;
}
.table-dashboard-item .item-thumb {
  margin-right: 1rem;
  display: flex;
}
.table-dashboard-item .item-thumb img {
  width: 64px;
  height: 64px;
  border-radius: 100%;
}
.table-dashboard-item .item-social-thumb {
  margin-right: 1rem;
  display: flex;
}
.table-dashboard-item .item-social-thumb img {
  width: 20px;
  height: 20px;
}
.table-dashboard-item .item-agent-count {
  display: flex;
  align-items: center;
  color: #19D1D1;
  font-size: 10px;
}
.table-dashboard-item .item-agent-count .agent-count-title {
  background-color: #CAF0EE;
  padding: 2px 8px;
  border-radius: 12px;
  margin-right: 10px;
  font-weight: 300;
}
.table-dashboard-item .item-agent-count .agent-count-number {
  font-size: 14px;
  font-weight: 700;
}
.table-dashboard-item .item-progress-container .progress {
  height: 18px;
  border-radius: 0;
  min-width: 240px;
  background-color: #5ECDF7;
}
.table-dashboard-item .item-progress-container .progress-bar {
  border-radius: 0;
  background-color: #1F3BB3;
}
.table-dashboard-item .item-progress-container .current-progress {
  font-size: 12px;
  color: #1F3BB3;
  font-weight: 600;
}
.table-dashboard-item .item-progress-container .max-progress {
  font-size: 12px;
  color: #5ECDF7;
  font-weight: 600;
}

.table-user-item {
  transition: all 0.2s ease;
}
.table-user-item:hover {
  background-color: rgba(3, 142, 220, 0.03);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.table-user-item:hover .art-metrics-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.table-user-item .item-title {
  font-weight: 700;
  font-size: 14px;
}
.table-user-item .item-subtitle {
  color: #74788d;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 0;
}
.table-user-item .item-thumb {
  margin-right: 1rem;
  display: flex;
}
.table-user-item .item-thumb img {
  width: 36px;
  height: 36px;
  border-radius: 100%;
  transition: transform 0.2s ease;
}
.table-user-item:hover .item-thumb img {
  transform: scale(1.08);
}
.table-user-item .item-progress-container .progress {
  height: 8px;
  min-width: 240px;
  background-color: #5ECDF7;
  border-radius: 4px;
  overflow: hidden;
}
.table-user-item .item-progress-container .progress-bar {
  border-radius: 4px;
  background-color: #1F3BB3;
  transition: width 0.6s ease;
}
.table-user-item .item-progress-container .progress-shine {
  position: relative;
}
.table-user-item .item-progress-container .progress-shine .progress-bar {
  position: relative;
  overflow: hidden;
}
.table-user-item .item-progress-container .progress-shine .progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: progressShine 2.5s ease-in-out infinite;
}
.table-user-item .item-progress-container .current-progress {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.table-user-item .item-progress-container .perf-badge {
  font-size: 14px;
  margin-right: 2px;
  vertical-align: middle;
}
.table-user-item .item-progress-container .max-progress {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
}
.table-user-item .item-progress-container.perf-excellent .current-progress {
  color: #1a8f3c;
}
.table-user-item .item-progress-container.perf-excellent .max-progress {
  color: #2da44e;
}
.table-user-item .item-progress-container.perf-warning .current-progress {
  color: #c47d00;
}
.table-user-item .item-progress-container.perf-warning .max-progress {
  color: #b37400;
}
.table-user-item .item-progress-container.perf-poor .current-progress {
  color: #d32f2f;
}
.table-user-item .item-progress-container.perf-poor .max-progress {
  color: #cf4242;
}
.table-user-item .item-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 120px;
  font-size: 13px;
  border-radius: 8px;
  padding: 0.25em 0.6em;
  line-height: 1;
}
.table-user-item .item-block .block-title {
  margin-bottom: 8px;
}
.table-user-item .checkin-compact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  white-space: nowrap;
}
.table-user-item .checkin-compact .checkin-time-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.table-user-item .checkin-compact .checkin-time-row i:first-child {
  color: #74788d;
  font-size: 12px;
}
.table-user-item .checkin-compact .checkin-duration {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #74788d;
  font-size: 12px;
}
.table-user-item .checkin-compact .checkin-duration .fw-semibold {
  color: #495057;
}
.table-user-item .art-metrics-card {
  background: linear-gradient(135deg, #FDF8E8 0%, #FDF2D6 100%);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 150px;
  border-left: 4px solid #E7C05B;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.table-user-item .art-metrics-card .art-primary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.table-user-item .art-metrics-card .art-primary .art-label {
  font-size: 11px;
  font-weight: 700;
  color: #c9a832;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table-user-item .art-metrics-card .art-primary .art-value {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1;
}
.table-user-item .art-metrics-card .art-secondary {
  display: flex;
  gap: 14px;
}
.table-user-item .art-metrics-card .art-secondary .art-secondary-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.table-user-item .art-metrics-card .art-secondary .art-secondary-item .art-sub-label {
  font-size: 10px;
  font-weight: 700;
  color: #c9a832;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.table-user-item .art-metrics-card .art-secondary .art-secondary-item .art-sub-value {
  font-size: 12px;
  font-weight: 600;
  color: #444;
}
.table-user-item .item-duration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 120px;
  background-color: #FDF2D6;
  font-size: 13px;
  border-radius: 8px;
  padding: 0.25em 0.6em;
  line-height: 1;
}
.table-user-item .item-duration .duration-title {
  margin-bottom: 8px;
  color: #E7C05B;
}
.table-user-item .item-duration .duration-value {
  font-weight: 700;
}

@keyframes progressShine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
.user-list-scrollable {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: auto;
}
.user-list-scrollable::-webkit-scrollbar {
  width: 6px;
}
.user-list-scrollable::-webkit-scrollbar-track {
  background: transparent;
}
.user-list-scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}
.user-list-scrollable::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.25);
}
.user-list-scrollable {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.vertical-align-middle {
  vertical-align: middle;
}

.detail-views .kv-panel-before {
  display: none;
}

body .navbar-header .dropdown-menu.dropdown-menu-full {
  width: 100vw;
}
@media (max-width: 767px) {
  body .navbar-header .dropdown-menu.dropdown-menu-full {
    width: 100vw;
    left: 0 !important;
    right: 0 !important;
  }
}
body[data-sidebar-size=sm] #page-topbar {
  left: 0;
}
@media (min-width: 992px) {
  body[data-sidebar-size=sm] #page-topbar {
    left: 70px;
  }
}

.megamenu2 .megamenu-title {
  font-size: 20px;
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.megamenu2 .megamenu-content .megamenu-group a {
  color: #7b8190;
  transition: 0.3s all;
}
.megamenu2 .megamenu-content .megamenu-group a:hover {
  color: #383c40;
}
.megamenu2 .megamenu-content .megamenu-group .group-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #495057;
}
.megamenu2 .megamenu-content .megamenu-group .group-list {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}
.megamenu2 .megamenu-content .megamenu-group .group-list .menu-item:not(:last-child) {
  margin-bottom: 0.375rem;
}
.megamenu2 .megamenu-content .megamenu-group .group-list .menu-item a {
  font-size: 14px;
}

.feedback-vertical-filter .filter-toggle {
  display: none;
}
.feedback-vertical-filter .filter-toggle:after {
  content: "\f104";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.feedback-vertical-filter .filter-content.position-fixed {
  z-index: 100;
}
.feedback-vertical-filter .filter-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.feedback-vertical-filter .filter-list .filter-item {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feedback-vertical-filter .filter-list .filter-item .item-num {
  top: unset;
  margin-left: 1rem;
}
@media (min-width: 1200px) {
  .feedback-vertical-filter {
    position: relative;
  }
  .feedback-vertical-filter .filter-toggle {
    display: block;
  }
  .feedback-vertical-filter .filter-list {
    flex-direction: column;
  }
  .feedback-vertical-filter.collapsed .filter-toggle-collapse {
    display: none !important;
  }
  .feedback-vertical-filter.collapsed .filter-toggle:after {
    content: "\f054";
  }
  .feedback-vertical-filter.collapsed .filter-list .filter-item {
    justify-content: center;
  }
  .feedback-vertical-filter.collapsed .filter-list .filter-item .item-text {
    display: none;
  }
  .feedback-vertical-filter.collapsed .filter-list .filter-item .item-num {
    margin-left: 0;
    background-color: transparent !important;
    font-size: 100%;
    padding: 0;
    display: block;
    color: #038edc;
  }
  .feedback-vertical-filter.collapsed .filter-list .filter-item:hover .item-text {
    background-color: rgba(3, 142, 220, 0.8) !important;
  }
  .feedback-vertical-filter.collapsed .filter-list .filter-item:hover .item-num {
    color: #FFFFFF;
  }
  .feedback-vertical-filter.collapsed .filter-list .filter-item.selected .item-num {
    color: #FFFFFF;
  }
  .feedback-vertical-filter.collapsed .filter-list:hover .filter-item {
    position: relative;
  }
  .feedback-vertical-filter.collapsed .filter-list:hover .filter-item .item-text {
    display: block;
    position: absolute;
    background-color: rgba(10, 10, 10, 0.8);
    color: #FFFFFF;
    left: calc(100% + 14px);
    z-index: 100;
    padding: 0.125rem 0.5rem;
    font-size: 0.7875rem;
    border-radius: 0.2rem;
  }
}

#sidebar-menu {
  padding: 10px 0 10px 0;
}

.sidebar-shortcut-list .shortcut-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 50%;
  position: relative;
}
.sidebar-shortcut-list .shortcut-item .item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sidebar-shortcut-list .shortcut-item .item-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(116, 120, 141, 0.1);
  border-radius: 100%;
  transition: 0.3s background-color;
}
.sidebar-shortcut-list .shortcut-item .item-icon > i {
  font-size: 1.25rem;
  color: #7b8190;
}
.sidebar-shortcut-list .shortcut-item .item-text {
  font-size: 0.8rem;
  color: #7b8190;
  padding-left: 1rem;
  padding-right: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
  margin-top: 0.4rem;
}
.sidebar-shortcut-list .shortcut-item .item-btn {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 24px;
  color: #FFFFFF;
  background-color: #212121;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  right: 38px;
  top: -6px;
  display: none;
  transition: 0.3s all;
}
.sidebar-shortcut-list .shortcut-item .item-btn.item-btn-edit {
  right: 27px;
  top: 16px;
}
.sidebar-shortcut-list .shortcut-item .item-btn.item-btn-remove {
  background-color: #f34e4e;
}
.sidebar-shortcut-list .shortcut-item .item-btn.item-btn-remove:hover {
  background-color: #cf4242;
}
.sidebar-shortcut-list .shortcut-item:hover .item-icon {
  background-color: rgb(242, 243, 254);
}
.sidebar-shortcut-list .shortcut-item:hover .item-icon > i {
  color: #038edc;
}
.sidebar-shortcut-list .sidebar-shortcut-placeholder {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}
.sidebar-shortcut-list .sidebar-shortcut-placeholder:has(+ .shortcut-item) {
  display: none;
}

body[data-sidebar-size=sm] .sidebar-shortcut-list .shortcut-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 100%;
  position: relative;
}
body[data-sidebar-size=sm] .sidebar-shortcut-list .shortcut-item .item-icon {
  width: 48px;
  height: 48px;
}
body[data-sidebar-size=sm] .sidebar-shortcut-list .shortcut-item .item-icon > i {
  font-size: 1rem;
}
body[data-sidebar-size=sm] .sidebar-shortcut-list .shortcut-item .item-btn {
  display: none !important;
}
body[data-sidebar-size=sm] .sidebar-shortcut-list .shortcut-item .item-text {
  display: none;
  transition: 0.3s all;
}
body[data-sidebar-size=sm] .sidebar-shortcut-list .shortcut-item:hover .item-text {
  background-color: rgba(3, 142, 220, 0.8) !important;
}
body[data-sidebar-size=sm] .sidebar-shortcut-list .sidebar-shortcut-placeholder {
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-sidebar-size=sm] .sidebar-shortcut-list:hover .item-text {
  display: block;
  position: absolute;
  background-color: rgba(10, 10, 10, 0.8);
  color: #FFFFFF;
  left: calc(100% + 7px);
  z-index: 100;
  padding: 0.125rem 0.5rem;
  font-size: 0.7875rem;
  border-radius: 0.2rem;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  overflow: auto;
  width: auto;
}

.sidebar-menu-draggable {
  max-height: 720px;
  overflow-y: scroll;
}
.sidebar-menu-draggable > .sortable-sidebar-list {
  padding-left: 0;
}
.sidebar-menu-draggable .sortable-sidebar-list {
  list-style: none;
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item {
  cursor: move;
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item .sortable-sidebar-list-item-dropzone {
  height: 6px;
  background-color: #FFFFFF;
  border: 1px solid #FFFFFF;
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item span {
  background-color: #f5f6f8;
  padding: 4px 8px;
  border: 1px solid #e2e5e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item span:has(+ .sortable-sidebar-list > .sortable-sidebar-list-item)::after {
  content: "\f0d7";
  font-family: "Font Awesome 6 Pro";
  font-weight: 700;
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item:hover > span {
  background-color: rgba(3, 142, 220, 0.1);
  color: #038edc;
  border-color: #038edc;
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item.item-collapsed span:has(+ .sortable-sidebar-list > .sortable-sidebar-list-item)::after {
  content: "\f0d8";
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item.item-collapsed ul {
  display: none;
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item.sortable-sidebar-list-item-placeholder {
  background-color: rgba(236, 140, 73, 0.1);
  padding: 4px 8px;
  border: 1px solid #ec8c49;
}
.sidebar-menu-draggable .sortable-sidebar-list .sortable-sidebar-list-item .highlighted-area {
  background-color: rgba(236, 140, 73, 0.1) !important;
  border: 1px solid #ec8c49 !important;
  color: #ec8c49 !important;
}

.feedback-search-form .feedback-search-content {
  position: relative;
  width: -webkit-fill-available;
  margin-right: 0.5%;
}
.feedback-search-form .feedback-search-content.position-fixed {
  z-index: 10;
}

.wallboard-search-form {
  position: relative;
}
.wallboard-search-form .wallboard-search-content.position-fixed {
  position: fixed;
  width: 100%;
  z-index: 2000;
  background: #fff;
}
.wallboard-search-form .wallboard-search-content.position-fixed + .collapse-placeholder {
  height: 60px;
}
.wallboard-search-form .wallboard-search-collapse {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
}
.wallboard-search-form .wallboard-search-collapse.show {
  display: block;
  z-index: 100;
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.image-accuracy .img-thumbnail {
  background-color: #ffffff;
  border: 2px solid #d4d4d5;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
  max-width: 500px;
  height: 100px;
  width: auto;
}
.image-accuracy .image-lightbox-asset {
  height: 7rem;
  width: 7rem;
  min-height: 7rem;
  min-width: 7rem;
}
.image-accuracy .accuracy-green {
  background-color: green;
  border: 1px solid green;
}
.image-accuracy .accuracy-grey {
  background-color: grey;
  border: 1px solid grey;
}
.image-accuracy .accuracy-red {
  background-color: red;
  border: 1px solid red;
}
.image-accuracy .default-color {
  background-color: #777;
  color: #fff;
}

.feedback-grid .icon-feedback-right {
  float: right;
  padding-top: 3px;
  padding-right: 3px;
}

.time-filter {
  min-width: 9rem;
}

.setting-config-vertical .setting-toggle-collapse {
  display: flex !important;
  flex-direction: column !important;
}
.setting-config-vertical .btn-custom-config {
  opacity: 0.3;
  box-shadow: none;
  background-color: #5fd0f3;
  color: #222;
  border: none;
  transition: all 0.3s ease;
  height: 40px;
  width: 40px;
}
.setting-config-vertical .btn-custom-config:hover {
  opacity: 1;
  background-color: #5fd0f3;
  color: white;
}
.setting-config-vertical .btn-custom-config.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}
.setting-config-vertical .card-config-custom {
  opacity: 0.3;
  box-shadow: none;
  border: none;
}
.setting-config-vertical .card-config-custom:hover {
  opacity: 1;
}
.setting-config-vertical .setting-toggle {
  display: none;
}
.setting-config-vertical .setting-toggle:after {
  content: "\f104";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.setting-config-vertical .setting-content.position-fixed {
  z-index: 100;
}
.setting-config-vertical .setting-content {
  bottom: 100px;
}
.setting-config-vertical .setting-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.setting-config-vertical .setting-list .setting-item {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.setting-config-vertical .setting-list .setting-item .item-num {
  top: unset;
  margin-left: 1rem;
}
@media (min-width: 1200px) {
  .setting-config-vertical {
    position: relative;
  }
  .setting-config-vertical .setting-toggle {
    display: block;
  }
  .setting-config-vertical .setting-list {
    flex-direction: column;
  }
  .setting-config-vertical.collapsed .setting-toggle-collapse {
    display: none !important;
  }
  .setting-config-vertical.collapsed .setting-toggle:after {
    content: "\f054";
  }
  .setting-config-vertical.collapsed .setting-list .setting-item {
    justify-content: center;
  }
  .setting-config-vertical.collapsed .setting-list .setting-item .item-text {
    display: none;
  }
  .setting-config-vertical.collapsed .setting-list .setting-item .item-num {
    margin-left: 0;
    background-color: transparent !important;
    font-size: 100%;
    padding: 0;
    display: block;
    color: #038edc;
  }
  .setting-config-vertical.collapsed .setting-list .setting-item:hover .item-text {
    background-color: rgba(3, 142, 220, 0.8) !important;
  }
  .setting-config-vertical.collapsed .setting-list .setting-item:hover .item-num {
    color: #FFFFFF;
  }
  .setting-config-vertical.collapsed .setting-list .setting-item.selected .item-num {
    color: #FFFFFF;
  }
  .setting-config-vertical.collapsed .setting-list:hover .setting-item {
    position: relative;
  }
  .setting-config-vertical.collapsed .setting-list:hover .setting-item .item-text {
    display: block;
    position: absolute;
    background-color: rgba(10, 10, 10, 0.8);
    color: #FFFFFF;
    left: calc(100% + 14px);
    z-index: 100;
    padding: 0.125rem 0.5rem;
    font-size: 0.7875rem;
    border-radius: 0.2rem;
  }
}

.custom-contact-grid-view .kar-header-contact {
  background-color: #fcf8e3 !important;
  color: #8a6d3b !important;
  box-shadow: none !important;
  font-size: 16px !important;
}
.custom-contact-grid-view .kar-content-contact {
  border: none !important;
  background-color: white !important;
  box-shadow: none !important;
}
.custom-contact-grid-view .btn-custom {
  background-color: white !important;
  color: black !important;
  border: 1px solid #222 !important;
}
.custom-contact-grid-view th a {
  color: #8a6d3b !important;
  text-decoration: none !important;
}
.custom-contact-grid-view th.kv-sortable.kv-sortable-asc a,
.custom-contact-grid-view th.kv-sortable.kv-sortable-desc a {
  color: #8a6d3b !important;
  text-decoration: none !important;
}

.search-input-container {
  background-color: #fefbfb;
  border: none;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.search-input-container .search-input-custom {
  border: none;
  background-color: transparent;
  font-size: 16px;
}
.search-input-container .search-input-custom:focus {
  border: none;
  background-color: transparent;
}
.search-input-container .btn-search-custom {
  background-color: #fcf8e3;
  color: #8a6d3b;
  height: 50px;
  width: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.close-collapse-view-chat {
  cursor: pointer;
}

.sidebar-detail {
  width: 40vw;
  max-width: 60%;
}
.sidebar-detail .sidebar-detail-data {
  overflow-x: hidden !important;
  width: 100%;
}

.right-header-detail .customer-name {
  cursor: pointer;
}

.customer-contract-search-form .customer-contract-search-content {
  position: relative;
}
.customer-contract-search-form .customer-contract-search-content.position-fixed {
  z-index: 100;
}

.task-search-form .task-search-content {
  position: relative;
  width: -webkit-fill-available;
  margin-right: 0.5%;
}
.task-search-form .task-search-content.position-fixed {
  z-index: 10;
}

.ob-phone-stock-form-search .ob-phone-stock-search-content {
  position: relative;
}
.ob-phone-stock-form-search .ob-phone-stock-search-content.position-fixed {
  z-index: 100;
}

.customer-search-form .customer-search-content {
  position: relative;
}
.customer-search-form .customer-search-content.position-fixed {
  z-index: 100;
}

.right-side-left-chat:hover .chat-item .btn-forward-left {
  display: flex !important;
  right: -25px;
  top: 30%;
}

.right-side-right-chat:hover .chat-item .btn-forward-right {
  display: flex !important;
  left: -25px;
  top: 30%;
}

.msg-campaign-form-search .msg-campaign-content {
  position: relative;
}
.msg-campaign-form-search .msg-campaign-content.position-fixed {
  z-index: 100;
}

.emoticon {
  z-index: 2;
  left: 21px;
  bottom: -15px;
  width: 24px;
  cursor: pointer;
  height: 24px;
  background-color: #FFFFFF;
  color: #212121;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8em;
  transform: translateX(-50%);
}

.custom-scroll-container {
  overflow: hidden;
  height: 100%;
  overflow-y: auto;
}
.custom-scroll-container .custom-scroll-content {
  max-height: 400px;
  padding: 1rem;
}

.custom-scroll-image-internal-container {
  overflow: hidden;
  height: 100%;
  overflow-y: auto;
}
.custom-scroll-image-internal-container .custom-scroll-content-image-internal {
  max-height: 300px;
}

.custom-scroll-files-internal-container {
  overflow: hidden;
  height: 100%;
  overflow-y: auto;
}
.custom-scroll-files-internal-container .custom-scroll-content-files-internal {
  max-height: 300px;
}

.custom-scroll-links-internal-container {
  overflow: hidden;
  height: 100%;
  overflow-y: auto;
}
.custom-scroll-links-internal-container .custom-scroll-content-links-internal {
  max-height: 300px;
}

.focus-hover-data {
  opacity: 0;
  pointer-events: none;
  margin-left: 10px;
  transition: opacity 0.2s ease;
  display: inline-block;
}

.custom-zns-scroll {
  height: 400px;
}

.content-hover-wrapper:hover .focus-hover-data {
  opacity: 1;
  pointer-events: auto;
}

.note-icons {
  transform: translateY(-8px) !important;
  left: 75% !important;
}

.note-icons-end {
  transform: translateY(-8px) !important;
  left: 95% !important;
}

.height-feedback-related-grid {
  max-height: 1200px;
}

.modal-feedback-open {
  width: 89.3% !important;
}

.modal-feedback-close {
  width: 60% !important;
}

.google-map-wallboard iframe {
  width: 100% !important;
}

.emoticon-list {
  height: 25px;
  border-radius: 40px;
  background-color: white;
  left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  gap: 5px;
  padding: 5px;
  bottom: 22px;
  box-shadow: 1px 1px 1px #e9e9e9;
  flex-direction: row;
}

.emote-internal-item {
  display: inline-flex;
  align-items: center;
  height: auto;
  min-width: 0;
  padding: 0 1px;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.emote-internal-item.mine {
  font-weight: 600;
}

.emote-internal-item {
  cursor: pointer;
}

.react-users-tooltip {
  position: fixed;
  z-index: 2000;
  max-width: 220px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  white-space: normal;
  word-break: break-word;
}

.react-users-tooltip-name {
  white-space: nowrap;
}

.msg-system.text-system {
  text-align: center !important;
}

.msg-system .chat-content {
  padding-right: 0 !important;
}

.msg-system .sender-avatar,
.msg-system .sender-avatar-initials {
  display: none !important;
}

.sys-msg-toggle {
  color: #038edc;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 4px;
  font-weight: 500;
}

.sys-msg-toggle:hover {
  text-decoration: underline;
}

#cke_msg-content {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 0.5rem;
}

.right-side-left-chat .chat-item:hover .emoticon {
  display: flex !important;
}

.chat-item .emoticon:hover .emoticon-list,
.chat-item .emoticon.emoticon-list-open .emoticon-list {
  display: flex !important;
}

.emoticon-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
}

.right-side-right-chat .emoticon > i.fa-heart {
  display: none !important;
}

.right-side-right-chat .chat-item .emoticon:hover .emoticon-list,
.right-side-right-chat .chat-item .emoticon.emoticon-list-open .emoticon-list {
  display: none !important;
}

.react-bubble-burst {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}

.react-bubble {
  position: absolute;
  bottom: 0;
  line-height: 1;
  opacity: 0;
  will-change: transform, opacity;
  transform: translate(-50%, 0) scale(0.4);
  animation-name: react-bubble-float;
  animation-timing-function: cubic-bezier(0.25, 0.8, 0.4, 1);
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.react-bubble img {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

@keyframes react-bubble-float {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.4);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -10px) scale(1);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--react-bubble-drift, 0px)), -120px) scale(1.05);
  }
}
.load-date-internal {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s all;
  padding: 4px 8px;
  font-size: 0.8em;
  border-radius: 12px;
  opacity: 0;
}

.load-date-internal.is-show {
  opacity: 1;
}

.custom-date-internal-chat {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  padding: 10px 30px;
  background-color: #f5f5f5;
  border-radius: 12px;
  color: #616161;
  font-size: 13px;
  text-align: center;
}

.highlighted {
  background-color: rgba(162, 209, 215, 0.41);
  transition: background-color 0.5s ease;
}

.scroll-to-bottom-internal {
  display: flex;
  justify-content: center;
  transform: translateX(-80px) translateY(-30px);
}

.message-img-chat-right {
  display: flex;
  justify-content: end;
  transform: translateX(-40px);
}

.message-img-chat-left {
  display: flex;
  justify-content: start;
  transform: translateX(10px);
}

.custom-zns-scroll {
  height: 400px;
}

.emoticon.has-emote {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin-top: 5px;
}

.more-react {
  background: #eee;
  font-weight: bold;
}

.wrapper-react-internal {
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 1px 5px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.emoticon .wrapper-react-internal:hover .emoticon-list {
  display: flex !important;
}

.custom-col-xl-2 {
  width: 6.5% !important;
}

.custom-col-xl-10 {
  width: 93% !important;
}

.react-tab {
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

.react-tab:hover {
  background-color: #f0f0f0;
}

.react-tab.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: bold;
}

.height-content-quick-note {
  height: 200px;
}

.content-hover-wrapper:hover .note-icons {
  display: flex !important;
}

.content-hover-wrapper:hover .note-icons-end {
  display: flex !important;
}

.break-word-content {
  white-space: normal;
  word-wrap: break-word;
  display: flex;
  justify-content: flex-end;
  text-align: left;
}

.feed-back-index #feedback-grid {
  margin-top: 100px;
}

#task-items-grid {
  margin-top: 100px;
}

.task-search-form .col-12 {
  overflow: hidden;
}

.date-elapsed {
  transform: translateX(-19px);
}

.context-menu-rename {
  display: none;
  position: absolute;
  z-index: 1050;
  min-width: 160px;
  padding: 5px 0;
  margin: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.context-menu-rename.show {
  display: block;
}

.context-menu-rename li {
  list-style: none;
}

.context-menu-rename a {
  display: block;
  padding: 6px 12px;
  text-decoration: none;
  color: #333;
}

.context-menu-rename a:hover {
  background-color: #f5f5f5;
}

.email-template__name-view {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-template__content-info {
  max-width: 420px;
  height: 46vh;
  overflow: auto;
  word-break: break-word;
}

.email-template__vmg-template {
  max-width: 370px;
  overflow: auto;
  word-break: break-word;
}

@media (max-width: 1195px) {
  .right-header-detail-control {
    float: right;
    position: absolute;
    right: 10px;
  }
  .action-media-sidebar {
    height: 17px !important;
  }
}
.project-view-customize .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #e83e8c;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
}

.custom-scroll-task-container {
  height: 100%;
  overflow-y: auto;
}
.custom-scroll-task-container .custom-scroll-content {
  max-height: 400px;
}

.pes-order-search .pes-order-search-content {
  position: relative;
  width: -webkit-fill-available;
  margin-right: 0.5%;
}
.pes-order-search .pes-order-search-content.position-fixed {
  z-index: 10;
}

.pes-order-index #order-grid {
  margin-top: 0.25rem;
}

.pes-order-index #orders-grid {
  margin-top: 0.25rem;
}

.pined-wrapper {
  position: relative;
}

.remove-pin-item {
  display: none;
  transform: translateY(17px);
  cursor: pointer;
  color: #888;
}

.pined-wrapper:hover .remove-pin-item {
  display: inline-block;
}

#ajax-load-image-cccd-grid-view .img-thumbnail {
  width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  max-width: 100%;
  border-radius: 8px;
}

#ajax-load-image2-cccd-grid-view .img-thumbnail {
  width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  max-width: 100%;
  border-radius: 8px;
}

.feedback-child-collapse .move-to-project-icon {
  position: absolute;
  left: -23px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #6c757d;
  opacity: 0;
  transition: opacity 0.2s;
}
.feedback-child-collapse:hover .move-to-project-icon {
  opacity: 1;
}

.feedback-child-container {
  margin-left: 0;
}
.feedback-child-container > .task-row {
  margin-left: 3rem;
}
.feedback-child-container > .collapse .task-list table td:first-child {
  padding-left: 1.5rem;
}
.feedback-child-container > .collapse {
  padding-left: 4rem;
}

.feedback-parent-content {
  margin-left: 1rem;
}
.feedback-parent-content .task-list table td:first-child {
  padding-left: 2rem;
}

.project-feedback-task-table {
  table-layout: fixed;
}

@media (min-width: 768px) {
  .feedback-child-container > .collapse .task-list .project-feedback-task-table {
    display: block;
  }
  .feedback-child-container > .collapse .task-list .project-feedback-task-table tbody {
    display: block;
  }
  .feedback-child-container > .collapse .task-list .project-feedback-task-table tr {
    display: grid;
    grid-template-columns: calc(38% - 2.48rem) calc(10% + 0.4rem) calc(10% + 0.4rem) calc(8% + 0.32rem) calc(12% + 0.48rem) calc(12% + 0.48rem) calc(10% + 0.4rem);
  }
  .feedback-child-container > .collapse .task-list .project-feedback-task-table td {
    width: auto !important;
  }
}
.form-create-group-container .group-create-container,
.form-create-group-container .group-update-container,
.form-update-group-container .group-create-container,
.form-update-group-container .group-update-container {
  display: flex;
  gap: 15px;
}
.form-create-group-container .group-box,
.form-update-group-container .group-box {
  flex: 1;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}
.form-create-group-container .group-list,
.form-create-group-container .group-selected-box,
.form-update-group-container .group-list,
.form-update-group-container .group-selected-box {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 5px;
}
.form-create-group-container .group-item,
.form-create-group-container .group-selected-item,
.form-update-group-container .group-item,
.form-update-group-container .group-selected-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  border: 1px solid #f1f1f1;
  margin-bottom: 8px;
  transition: 0.2s ease;
}
.form-create-group-container .group-item:hover,
.form-update-group-container .group-item:hover {
  background: #f7f7f7;
  border-color: #dcdcdc;
}
.form-create-group-container .group-selected-item[data-admin="1"],
.form-update-group-container .group-selected-item[data-admin="1"] {
  background: #f9f9f9;
  border: 1px dashed #ddd;
  cursor: default !important;
}
.form-create-group-container .group-avatar,
.form-update-group-container .group-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #eee;
}
.form-create-group-container .group-avatar img,
.form-update-group-container .group-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-create-group-container #search-member,
.form-create-group-container #search-admin,
.form-update-group-container #search-member,
.form-update-group-container #search-admin {
  height: 34px;
  font-size: 14px;
  padding-left: 10px;
  border-radius: 8px;
}

.wall-board-custom .grid-stack-item-content {
  overflow: hidden !important;
}

.grid-stack-item-content {
  height: auto !important;
  min-height: 551.5px;
}

#height-order-product {
  height: 595px;
}

#height-order-processing {
  height: 613px;
}

#height-delivery-by-date {
  height: 613px;
}

#height-order-by-date {
  height: 613px;
}

#height-order-status {
  height: 558px;
}

#height-order-region {
  height: 558px;
}

#height-order-status-month {
  height: 558px;
}

#height-order-product-month {
  height: 558px;
}

#height-order-store-by-month {
  margin-bottom: 18px;
  height: 599px;
}

#height-order-store-by-day {
  margin-bottom: 18px;
  height: 599px;
}

.dashboard-ticket-custom {
  height: 550px;
  margin-bottom: 10px;
}

#ticket-status-receiver-by-month {
  margin-bottom: 18px;
}

.dashboard-order-custom {
  margin-bottom: 10px;
  height: 570px;
}

.margin-feedback-dashboard {
  margin-right: 14px;
}

.height-feedback-dashboard {
  height: 550px !important;
}

.mb-pbx-dashboard {
  margin-bottom: 10px;
}

.wallboard-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wallboard-card-header {
  height: 90px;
}

.wallboard-card-body {
  flex: 1 1 auto;
  overflow: auto;
}

.wallboard-card-footer {
  height: 50px;
}

.stack-wrapper {
  position: relative;
  display: inline-block;
  padding: 10px;
}

.stack-layer {
  display: block;
  transform-origin: center center;
  margin-top: -105px;
  margin-left: 5px;
}

.stack-layer:first-child {
  margin-top: 0;
}

.stack-layer img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.stat-flash-up {
  animation: flashUp 1.2s ease-out;
}

.stat-flash-down {
  animation: flashDown 1.2s ease-out;
}

.stat-flash-change {
  animation: flashChange 1.2s ease-out;
}

@keyframes flashUp {
  0% {
    background-color: rgba(52, 199, 89, 0.35);
    transform: scale(1.08);
  }
  30% {
    background-color: rgba(52, 199, 89, 0.2);
    transform: scale(1.02);
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}
@keyframes flashDown {
  0% {
    background-color: rgba(243, 78, 78, 0.3);
    transform: scale(1.08);
  }
  30% {
    background-color: rgba(243, 78, 78, 0.15);
    transform: scale(1.02);
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}
@keyframes flashChange {
  0% {
    background-color: rgba(240, 173, 78, 0.3);
    transform: scale(1.05);
  }
  30% {
    background-color: rgba(240, 173, 78, 0.15);
    transform: scale(1.02);
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}
.stat-flash-up,
.stat-flash-down,
.stat-flash-change {
  display: inline-block;
  border-radius: 4px;
  padding: 0 4px;
}

.user-search-wrapper {
  width: 160px;
}
.user-search-wrapper input {
  font-size: 12px;
  height: 28px;
}

.scroll-fb-history-container {
  max-height: 600px;
  overflow-y: auto;
}

.fb-timeline-container {
  position: relative;
  padding-left: 50px;
  /* Space for the line and icons */
}

.fb-timeline-line {
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 17px;
  /* Center of the 36px icon */
  width: 2px;
  background-color: #dee2e6;
  z-index: 0;
}

.fb-timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.fb-timeline-item:last-child .fb-timeline-line {
  display: none;
}

.fb-timeline-icon {
  position: absolute;
  left: -50px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #0d6efd;
  /* Primary color */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-size: 16px;
}

.fb-card-avatar img,
.fb-card-avatar .img-avatar-thumbnail {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.fb-card-avatar .default-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #0d6efd;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* App Version Badge UI — inline pill card */
.app-version-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  cursor: default;
}
.app-version-badge-name {
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.app-version-badge-version {
  padding: 3px 8px;
  font-size: 11px;
  font-family: monospace;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.app-version-badge-build {
  margin-left: 4px;
  font-size: 10px;
  opacity: 0.6;
}
.app-version-badge-date {
  font-size: 12px;
  color: #6c757d;
  padding: 2px 8px 3px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #f8f9fa;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.min-h-content-grid {
  min-height: calc(100vh - 350px);
}

/* ─── Sidebar Notification Config ─── */
.sidebar-notif-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.sidebar-app-versions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}

/* Sidebar Email Inline */
.sidebar-email-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
}

.sidebar-email-display {
  font-size: 12px;
  color: #495057;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.sidebar-email-edit-btn {
  font-size: 12px;
  color: #6c757d;
  cursor: pointer;
  transition: color 0.15s;
  flex-shrink: 0;
}
.sidebar-email-edit-btn:hover {
  color: #0d6efd;
}

.sidebar-email-input-group {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}
.sidebar-email-input-group input {
  font-size: 12px;
  height: 28px;
  min-width: 0;
  flex: 1;
}
.sidebar-email-input-group .btn {
  height: 28px;
  padding: 0 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Styles for Extension Info Grid (moved from _extension.php)
   ========================================================================== */
.ext-container {
  font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
  color: #333;
  background: #f8f9fa;
  padding: 20px;
}

.ext-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ext-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.ext-subtitle {
  color: #666;
  font-size: 14px;
  margin-top: 4px;
}

.ext-actions button {
  margin-left: 10px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ext-actions .btn-primary {
  background: #f05123;
  color: #fff;
  border-color: #f05123;
}

.ext-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.ext-stat-card {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ext-stat-card[data-status]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 82, 50, 0.15);
  border-color: #f05232 !important;
}

.ext-stat-card.ext-stat-active {
  border: 2px solid #f05232 !important;
  background: linear-gradient(135deg, #fffaf9 0%, #fff5f2 100%) !important;
  box-shadow: 0 2px 8px rgba(240, 82, 50, 0.12);
}

.ext-stat-card.ext-stat-active .ext-stat-value {
  color: #f05232 !important;
}

.ext-stat-card.ext-stat-active .ext-stat-label {
  color: #d94420 !important;
  font-weight: 600;
}

.ext-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.ext-stat-card:nth-child(2) .ext-stat-value {
  color: #10b981;
}

.ext-stat-card:nth-child(3) .ext-stat-value {
  color: #3b82f6;
}

.ext-stat-label {
  font-size: 13px;
  color: #666;
}

.ext-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  width: 100%;
}

.ext-filter-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ext-device-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ext-device-filters label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}

.ext-status-legends {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ext-status-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
}

.ext-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-online {
  background: #10b981;
}

.dot-offline {
  background: #d1d5db;
}

.dot-unregistered {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
}

.ext-filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.ext-adv-filter-card {
  background: transparent;
  border: none;
  margin-bottom: 0;
}

.ext-adv-filter-group {
  width: 25%;
  padding: 0 8px;
  margin-bottom: 16px;
}

.ext-device-filter-btn {
  color: #666;
  background-color: transparent;
  border-color: transparent;
}

.ext-device-filter-btn.active {
  background-color: #eefbf3;
  border-color: #2ecc71;
  color: #27ae60;
}

.ext-search {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
}

.ext-search:focus {
  border-color: #aaa;
}

.ext-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  outline: none;
}

.ext-grid-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: 10px;
}

.ext-grid-table thead th {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  text-align: left;
  padding: 0 20px 12px;
  border: none;
  white-space: nowrap;
}

.ext-grid-table tbody tr.ext-item-wrapper {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ext-grid-table tbody tr.ext-item-wrapper td {
  padding: 12px 20px;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  transition: border-color 0.2s;
}

.ext-grid-table tbody tr.ext-item-wrapper td:first-child {
  border-left: 1px solid #f0f0f0;
  border-radius: 8px 0 0 8px;
}

.ext-grid-table tbody tr.ext-item-wrapper td:last-child {
  border-right: 1px solid #f0f0f0;
  border-radius: 0 8px 8px 0;
}

.ext-grid-table tbody tr.ext-item-wrapper.expanded td {
  border-bottom-color: transparent;
}

.ext-grid-table tbody tr.ext-item-wrapper.expanded td:first-child {
  border-bottom-left-radius: 0;
}

.ext-grid-table tbody tr.ext-item-wrapper.expanded td:last-child {
  border-bottom-right-radius: 0;
}

.ext-grid-table tbody tr.ext-device-details-row td {
  padding: 0;
  border: none;
  background: transparent;
}

.ext-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.ext-pagination .pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ext-pagination .pagination li a,
.ext-pagination .pagination li span {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  text-decoration: none;
}

.ext-pagination .pagination li.active a {
  background: #f05123;
  color: #fff;
  border-color: #f05123;
}

.ext-pagination .pagination li.disabled span {
  color: #999;
  background: #f8f9fa;
}

.ext-device-details {
  padding: 16px 20px;
  background: #fafafa;
  border-radius: 0 0 8px 8px;
  border: 1px solid #f0f0f0;
  border-top: none;
  margin-top: -1px;
}

.ext-device-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #555;
}

.ext-device-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ext-device-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
}

.ext-device-card.online {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.ext-device-card.offline {
  background: #fff;
  border-color: #e5e7eb;
  color: #555;
}

.ext-device-card.unregistered {
  background: #fafafa;
  border-style: dashed;
  color: #a1a1aa;
}

.ext-device-card-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
}

.ext-device-card-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.ext-status-detail {
  display: none;
  color: #888;
  font-style: italic;
  white-space: nowrap;
}

.ext-device-card:hover .ext-status-detail {
  display: inline;
}

.ext-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ext-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.ext-avatar.bg-orange {
  background: #ffedd5;
  color: #ea580c;
}

.ext-avatar.bg-red {
  background: #fff5f2;
  color: #f05232;
  border: 1px solid rgba(240, 82, 50, 0.15);
}

.ext-avatar.bg-blue {
  background: #dbeafe;
  color: #2563eb;
}

.ext-avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.ext-user-details {
  display: flex;
  flex-direction: column;
}

.ext-user-name {
  font-weight: 500;
  color: #111;
  font-size: 14px;
}

.ext-user-email {
  font-size: 12px;
  color: #888;
}

.ext-number {
  font-weight: 600;
  font-size: 14px;
  color: #111;
}

.ext-group {
  font-size: 13px;
  color: #555;
}

.ext-role {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.role-admin {
  background: #fee2e2;
  color: #ef4444;
}

.role-agent {
  background: #e0e7ff;
  color: #4f46e5;
}

.role-supervisor {
  background: #f3e8ff;
  color: #9333ea;
}

.ext-devices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ext-devices .ext-device-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ext-device-icon.active {
  background: #d1fae5;
  color: #10b981;
}

.ext-device-icon.inactive {
  background: #f3f4f6;
  color: #9ca3af;
}

.ext-device-text {
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}

.ext-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  color: #888;
}

.ext-row-actions button {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  padding: 4px 8px;
  color: #888;
  transition: all 0.2s;
}

.ext-row-actions button:hover {
  color: #333;
  border-color: #e5e7eb;
}

.ext-item-wrapper.expanded .ext-expand-btn {
  border-color: #e5e7eb;
  color: #333;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Label tiêu đề "Devices:" */
.ext-filter-label {
  font-weight: 500;
  margin-right: 8px;
}

/* Style cho các nút lọc thiết bị (Desktop, IP Phone, Mobile) */
.ext-device-filter-btn {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s;
  margin-right: 8px;
  display: inline-block;
}

/* Nút cuối cùng không cần margin bên phải */
.ext-device-filters .ext-device-filter-btn:last-child {
  margin-right: 0;
}

/* Hiệu ứng khi di chuột qua nút (tặng thêm để giao diện chuyên nghiệp hơn) */
.ext-device-filter-btn:hover {
  background-color: #f8f9fa;
  border-color: #ddd;
}

/* Container bao quanh ô search để định vị icon */
.ext-search-container {
  position: relative;
  flex: 1;
}

/* Icon kính lúp nằm bên trong ô search */
.ext-search-icon {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #999;
}

/* Ô input search - đè lại padding để không dính chữ vào icon */
.ext-search {
  padding-left: 30px !important;
}

/* Ô select chọn nhóm */
.ext-select-group {
  min-width: 200px;
}

/* Nút submit ẩn */
.btn-submit-hidden {
  display: none;
}

/* --- Cấu trúc Modal chung --- */
.ext-modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ext-modal-header {
  border-bottom: none;
  padding: 20px 24px 10px;
}

.ext-modal-title {
  font-weight: 600;
  font-size: 18px;
}

.ext-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.ext-modal-body {
  padding: 0 24px 20px;
}

/* --- Header thông tin thành viên --- */
.ext-member-info {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.ext-modal-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #feece9;
  color: #e74c3c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-right: 16px;
}

.ext-member-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.ext-member-email {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.ext-role-badge {
  background-color: #feece9;
  color: #e74c3c;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* --- Grid thông tin chi tiết --- */
.ext-detail-grid {
  border-top: 1px solid #eee;
  margin: 0 -24px 20px;
  padding: 20px 24px 0;
  display: flex;
  flex-wrap: wrap;
}

.ext-detail-item {
  width: 50%;
  padding-bottom: 16px;
}

.ext-detail-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.ext-detail-value {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

/* --- Section Thiết bị --- */
.ext-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ext-device-container {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.ext-device-card {
  flex: 1;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ext-device-name {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.ext-device-name .ext-device-icon {
  margin-right: 8px;
  color: #999;
  width: auto;
  height: auto;
  display: inline-block;
  font-size: 14px;
}

/* --- Thống kê cuộc gọi --- */
.ext-stats-container {
  display: flex;
  gap: 12px;
}

.ext-stat-card {
  flex: 1;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center;
}

.ext-stat-icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.ext-stat-value {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

.ext-stat-label {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

/* --- Footer & Buttons --- */
.ext-modal-footer {
  border-top: none;
  padding: 0 24px 20px;
  justify-content: center;
  gap: 12px;
}

.btn-ext-secondary {
  border: 1px solid #e5e5e5;
  color: #333;
  padding: 8px 24px;
  border-radius: 6px;
  background: white;
  font-weight: 500;
}

.ext-modal-subtitle {
  font-size: 13px;
  color: #666;
}

.ext-modal-subtitle strong {
  color: #333;
}

.ext-modal-header-btn-close {
  align-self: flex-start;
  margin-top: -5px;
}

.ext-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.ext-form-group-full {
  width: 100%;
  padding: 0 8px;
  margin-bottom: 16px;
}

.ext-form-group-half {
  width: 50%;
  padding: 0 8px;
  margin-bottom: 16px;
}

.ext-form-label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.ext-form-label .required {
  color: #e74c3c;
}

.ext-form-control {
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  padding: 8px 12px;
  outline: none;
  box-shadow: none;
  width: 100%;
  appearance: auto;
}

.ext-form-control-primary {
  border-color: #f05232;
}

.ext-modal-footer-end {
  justify-content: flex-end;
}

.btn-ext-primary {
  background-color: #f05232;
  border-color: #f05232;
  color: white;
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 500;
}

.ext-reset-options {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.ext-reset-opt-card {
  flex: 1;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  border: 1px solid #e5e5e5;
  background-color: white;
  transition: all 0.2s;
}

.ext-reset-opt-card.active {
  border: 1.5px solid #f05232;
  background-color: #fffaf9;
}

.ext-opt-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
  color: #666;
}

.ext-reset-opt-card.active .ext-opt-title {
  color: #f05232;
}

.ext-opt-desc {
  font-size: 12px;
  color: #999;
}

.ext-reset-opt-card.active .ext-opt-desc {
  color: #f05232;
}

.ext-pw-input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.ext-pw-input {
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  padding: 10px 40px 10px 16px;
  font-family: monospace;
  font-size: 14px;
  box-shadow: none;
  background-color: #fcfcfc;
  width: 100%;
}

.ext-pw-copy-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
}

.ext-notify-box {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ext-checkbox {
  margin-top: 4px;
  accent-color: #f05232;
}

.ext-notify-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
  cursor: pointer;
  display: block;
}

.ext-notify-email {
  font-size: 13px;
  color: #999;
}

.ext-info-box {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.ext-info-box-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ext-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ext-info-row:last-child {
  margin-bottom: 0;
}

.ext-info-key {
  font-size: 13px;
  color: #666;
}

.ext-info-val {
  font-size: 13px;
  font-family: monospace;
  color: #333;
}

.ext-info-val-bold {
  font-weight: 600;
}

.ext-channel-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
}

.ext-channel-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  background-color: white;
  transition: all 0.2s;
}

.ext-channel-card.active {
  border-color: #f05232;
  background-color: #fffaf9;
}

.ext-channel-card:last-child {
  margin-bottom: 0;
}

.ext-channel-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ext-channel-icon {
  color: #666;
  margin-top: 3px;
}

.ext-channel-name {
  font-weight: 500;
  color: #333;
  font-size: 14px;
  margin-bottom: 2px;
}

.ext-channel-detail {
  font-size: 13px;
  color: #666;
}

.ext-modal-title-danger {
  font-weight: 600;
  font-size: 18px;
  color: #e74c3c;
}

.ext-alert-danger {
  background-color: #fdf3f2;
  border: 1px solid #fadbd8;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.ext-alert-title {
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 8px;
  font-size: 14px;
}

.ext-alert-list {
  color: #e74c3c;
  font-size: 13px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}

.ext-delete-profile {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ext-avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fdf3f2;
  color: #e74c3c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.ext-delete-name {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 2px;
}

.ext-delete-desc {
  font-size: 12px;
  color: #666;
}

.ext-confirm-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.ext-confirm-input {
  border-radius: 8px;
  border: 1px solid #f05232;
  padding: 10px 12px;
  box-shadow: none;
  outline: none;
  width: 100%;
}

.btn-ext-danger {
  background-color: #f5b7b1;
  border-color: #f5b7b1;
  color: white;
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s;
}

.ext-modal-footer-center {
  justify-content: center;
}

.ext-modal-dialog-600 {
  max-width: 600px;
}

.ext-setup-tabs {
  display: flex;
  background: #f1f3f5;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 16px;
}

.ext-setup-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #495057;
  border: 1px solid transparent;
  transition: all 0.2s;
  font-weight: 500;
}

.ext-setup-tab.active {
  background-color: white;
  border-color: #f05232;
  color: #f05232;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ext-setup-tab i {
  margin-right: 6px;
}

.ext-alert-setup {
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.ext-alert-warning {
  background-color: #fff9db;
  border: 1px solid #ffe066;
  color: #e67e22;
}

.ext-alert-success {
  background-color: #eaf7ed;
  border: 1px solid #c3e6cb;
  color: #2d6a4f;
  line-height: 1.5;
}

.ext-setup-layout {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.ext-setup-col {
  flex: 1;
}

.ext-setup-label-caps {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ext-code-box,
.ext-qr-box {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: white;
  padding: 20px;
  text-align: center;
  margin-bottom: 12px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ext-code-text {
  font-size: 28px;
  font-weight: 800;
  color: #f05232;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.ext-code-timer {
  font-size: 13px;
  color: #27ae60;
  font-weight: 600;
}

/* Expired State */
.ext-setup-expired {
  border-color: #f8d7da !important;
  background-color: #fff5f5 !important;
}

.ext-expired-text {
  font-size: 24px;
  font-weight: 800;
  color: #dc3545;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ext-expired-subtext {
  font-size: 13px;
  font-weight: 600;
  color: #dc3545;
}

.ext-qr-expired-icon {
  font-size: 40px;
  color: #f5b7b1;
  margin-bottom: 8px;
}

.ext-code-timer {
  color: #27ae60;
  font-size: 13px;
  font-weight: 500;
}

.ext-btn-group-setup {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ext-setup-guide {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.ext-qr-box {
  border: 1px solid #f05232;
  border-radius: 8px;
  background: #fffaf9;
  padding: 12px;
  text-align: center;
  margin-bottom: 12px;
}

.ext-qr-wrapper {
  width: 140px;
  height: 140px;
  background: white;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 4px;
}

.ext-qr-img {
  max-width: 100%;
  max-height: 100%;
}

.ext-setup-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
}

.ext-summary-row {
  display: flex;
  margin-bottom: 8px;
}

.ext-summary-row:last-child {
  margin-bottom: 0;
}

.ext-summary-label {
  width: 120px;
  font-size: 13px;
  color: #666;
}

.ext-summary-value {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.ext-mac-help {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

.btn-ext-primary-soft {
  background-color: #f5b7b1;
  border-color: #f5b7b1;
  color: white;
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.btn-ext-primary-soft:hover {
  opacity: 0.9;
  color: white;
}

.ext-input-primary-border {
  border-color: #f05232 !important;
}

.ext-state-active {
  background-color: white !important;
  border: 1.5px solid #f05232 !important;
  color: #f05232 !important;
  font-weight: 500 !important;
}

.ext-state-active div,
.ext-state-active span {
  color: #f05232 !important;
}

.ext-filter-active {
  background-color: #eefbf3 !important;
  border-color: #2ecc71 !important;
  color: #27ae60 !important;
}

.ext-dev-online {
  border-color: #d4edda !important;
  background-color: #f8fff9 !important;
}

.ext-dev-offline {
  border-color: #e2e3e5 !important;
  background-color: #f8f9fa !important;
}

.ext-dev-unregistered {
  border-color: #eee !important;
  background-color: transparent !important;
}

.ext-input-readonly {
  background-color: #fcfcfc !important;
}

.ext-input-editable {
  background-color: white !important;
}

.btn-delete-active {
  background-color: #e74c3c !important;
  border-color: #e74c3c !important;
  cursor: pointer !important;
}

.ext-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.ext-role-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.ext-mb-12 {
  margin-bottom: 12px;
}

.ext-pw-input-wrapper {
  position: relative;
}

.ext-pw-input {
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  padding: 10px 40px 10px 16px;
  font-family: monospace;
  font-size: 14px;
  box-shadow: none;
  background-color: #fcfcfc;
  width: 100%;
}

.ext-pw-copy-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}

.ext-pw-copy-icon:hover {
  color: #f05232;
}

.customer-view .smooth-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.customer-view {
  /* Tabs */
}
.customer-view .tab-btn {
  color: #64748b;
  border-color: transparent;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
}
.customer-view .tab-btn:hover {
  color: #1e293b;
}
.customer-view .tab-btn.active {
  color: #0284c7;
  border-color: #0ea5e9;
  font-weight: 700;
}
.customer-view .custom-tab-content {
  display: none;
  flex-direction: column;
  height: 100%;
}
.customer-view .custom-tab-content.active {
  display: flex;
}
.customer-view {
  /* Custom scrollbar for layout */
}
.customer-view ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.customer-view ::-webkit-scrollbar-track {
  background: transparent;
}
.customer-view ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.customer-view ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* New Compact Grid CSS for Feedback */
.customer-view {
  /* Hide the floating checkboxes since they belong in action bar but look messy */
}
.customer-view .customer-main-view-feedback-checkbox {
  display: none !important;
}
.customer-view .card-dim {
  cursor: pointer;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
  margin-bottom: 8px !important;
  transition: all 0.2s ease;
  background-color: #ffffff;
}
.customer-view .card-dim:hover {
  border-color: #cbd5e1 !important;
  background-color: #f8fafc;
}
.customer-view .card-dim.active-feedback {
  border-color: #0ea5e9 !important;
  background-color: #f0f9ff !important;
  box-shadow: 0 0 0 1px #0ea5e9 !important;
}
.customer-view .card-dim.active-feedback .text-muted,
.customer-view .card-dim.active-feedback .text-secondary {
  color: #334155 !important;
  font-weight: 500 !important;
}
.customer-view .card-dim.active-feedback .feedback-item-title {
  color: #0369a1 !important;
  font-weight: 800 !important;
}
.customer-view .card-dim .card-header {
  padding: 10px 12px !important;
  background: transparent !important;
  border-bottom: none !important;
}
.customer-view .card-dim .card-body {
  display: none !important;
}

.rd-reassign-report .rd-dash {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}
.rd-reassign-report .rd-glass-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  transition: all 0.3s;
  padding: 1.5rem;
}
.rd-reassign-report .rd-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.rd-reassign-report .rd-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.rd-reassign-report .rd-card-value {
  font-size: 3rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 1rem;
}
.rd-reassign-report .rd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
}
.rd-reassign-report .rd-badge-blue {
  color: #2563eb;
  background-color: #eff6ff;
}
.rd-reassign-report .rd-badge-emerald {
  color: #059669;
  background-color: #ecfdf5;
}
.rd-reassign-report .rd-badge-rose {
  color: #e11d48;
  background-color: #fff1f2;
}
.rd-reassign-report .rd-text-emerald {
  color: #10b981;
}
.rd-reassign-report .rd-text-rose {
  color: #e11d48;
}
.rd-reassign-report .rd-border-rose {
  border-bottom: 4px solid #f43f5e;
}
.rd-reassign-report .rd-insight-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rd-reassign-report .rd-insight-sub {
  font-size: 0.875rem;
  margin-top: 4px;
}
.rd-reassign-report .rd-top-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.rd-reassign-report .rd-top-item:hover {
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.rd-reassign-report .rd-top-rank {
  width: 2rem;
  font-weight: 900;
  font-size: 1.5rem;
  color: #d1d5db;
  font-style: italic;
  transition: color 0.3s;
}
.rd-reassign-report .rd-top-item:hover .rd-top-rank {
  color: #f97316;
}
.rd-reassign-report .rd-top-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  background: linear-gradient(to bottom right, #60a5fa, #2563eb);
}
.rd-reassign-report .rd-top-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.rd-reassign-report .rd-top-name {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0;
}
.rd-reassign-report .rd-top-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}
.rd-reassign-report .rd-top-count {
  font-size: 1.25rem;
  font-weight: 900;
  color: #e11d48;
  text-align: right;
  line-height: 1;
}
.rd-reassign-report .rd-top-count-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ca3af;
  text-align: right;
}
.rd-reassign-report .rd-peak-hour {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1;
}
.rd-reassign-report .rd-peak-missed {
  font-size: 0.875rem;
  font-weight: 700;
  color: #e11d48;
  margin-top: 0.25rem;
}
.rd-reassign-report .rd-chart-wrapper {
  margin: 0 -10px;
}

.social-agent-dashboard {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f0f4f8;
  border-radius: 16px;
  padding: 16px;
}
.social-agent-dashboard *,
.social-agent-dashboard *::before,
.social-agent-dashboard *::after {
  box-sizing: border-box;
}
.social-agent-dashboard .sd-header {
  margin-bottom: 12px;
}
.social-agent-dashboard .sd-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
}
.social-agent-dashboard .sd-header .sd-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}
.social-agent-dashboard .sd-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.social-agent-dashboard .sd-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s, transform 0.15s;
}
.social-agent-dashboard .sd-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.social-agent-dashboard .sd-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 8px;
}
.social-agent-dashboard .sd-card-value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}
.social-agent-dashboard .sd-card-value.color-default {
  color: #1e293b;
}
.social-agent-dashboard .sd-card-value.color-green {
  color: #22c55e;
}
.social-agent-dashboard .sd-card-value.color-indigo {
  color: #6366f1;
}
.social-agent-dashboard .sd-card-sub {
  font-size: 12px;
  color: #94a3b8;
}
.social-agent-dashboard .sd-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}
.social-agent-dashboard .sd-tab-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.social-agent-dashboard .sd-tab-btn:hover {
  background: #f1f5f9;
  color: #334155;
}
.social-agent-dashboard .sd-tab-btn.active {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}
.social-agent-dashboard .sd-tab-content {
  display: none;
}
.social-agent-dashboard .sd-tab-content.active {
  display: block;
}
.social-agent-dashboard .sd-panel {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
}
.social-agent-dashboard .sd-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 10px;
}
.social-agent-dashboard .sd-overview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.social-agent-dashboard .sd-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.social-agent-dashboard .sd-donut-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.social-agent-dashboard .sd-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}
.social-agent-dashboard .sd-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.social-agent-dashboard .sd-rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 13px;
}
.social-agent-dashboard .sd-rank-num {
  width: 20px;
  text-align: right;
  color: #94a3b8;
  font-weight: 500;
  flex-shrink: 0;
}
.social-agent-dashboard .sd-rank-name {
  width: 120px;
  color: #334155;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}
.social-agent-dashboard .sd-rank-bar-wrap {
  flex: 1;
  height: 24px;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
}
.social-agent-dashboard .sd-rank-bar {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
}
.social-agent-dashboard .sd-rank-pct {
  width: 52px;
  text-align: right;
  font-weight: 600;
  flex-shrink: 0;
}
.social-agent-dashboard .sd-rank-pct.color-excellent {
  color: #22c55e;
}
.social-agent-dashboard .sd-rank-pct.color-good {
  color: #f59e0b;
}
.social-agent-dashboard .sd-rank-pct.color-poor {
  color: #ef4444;
}
.social-agent-dashboard .sd-warning-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px;
}
.social-agent-dashboard .sd-warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.social-agent-dashboard .sd-warning-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
}
.social-agent-dashboard .sd-warning-card .w-name {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}
.social-agent-dashboard .sd-warning-card .w-value {
  font-size: 28px;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 4px;
}
.social-agent-dashboard .sd-warning-card .w-detail {
  font-size: 11px;
  color: #94a3b8;
}
.social-agent-dashboard .sd-svc-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}
.social-agent-dashboard .sd-svc-bar-name {
  width: 130px;
  text-align: right;
  color: #334155;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}
.social-agent-dashboard .sd-svc-bar-track {
  flex: 1;
  height: 22px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.social-agent-dashboard .sd-svc-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.social-agent-dashboard .sd-svc-bar-pct {
  width: 52px;
  font-weight: 600;
  flex-shrink: 0;
}
.social-agent-dashboard .sd-detail-grid .kv-grid-table {
  border-collapse: separate;
  border-spacing: 0;
}
.social-agent-dashboard .sd-detail-grid .kv-grid-table thead th {
  background: #f8fafc !important;
  border-bottom: 2px solid #e2e8f0 !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #64748b;
  padding: 12px 8px !important;
  white-space: nowrap;
}
.social-agent-dashboard .sd-detail-grid .kv-grid-table tbody tr {
  transition: background 0.15s;
}
.social-agent-dashboard .sd-detail-grid .kv-grid-table tbody tr:hover {
  background: #f8fafc !important;
}
.social-agent-dashboard .sd-detail-grid .kv-grid-table tbody td {
  padding: 10px 8px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 13px;
  vertical-align: middle;
}
.social-agent-dashboard .sd-detail-grid .panel {
  border: none !important;
  box-shadow: none !important;
  margin: 0;
}
.social-agent-dashboard .sd-detail-grid .panel-heading {
  display: none !important;
}
.social-agent-dashboard .sd-detail-grid .panel-body {
  padding: 0 !important;
}
.social-agent-dashboard .sd-detail-grid .kv-panel-before,
.social-agent-dashboard .sd-detail-grid .kv-panel-after {
  display: none !important;
}
.social-agent-dashboard .sd-detail-grid .grid-summary {
  padding: 8px 0;
  font-size: 12px;
  color: #94a3b8;
}
.social-agent-dashboard .svc-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-agent-dashboard .svc-progress-bar {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
  min-width: 60px;
}
.social-agent-dashboard .svc-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}
.social-agent-dashboard .svc-progress-text {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.social-agent-dashboard .text-replied {
  color: #22c55e;
  font-weight: 600;
}
.social-agent-dashboard .text-not-replied {
  color: #ef4444;
  font-weight: 600;
}
.social-agent-dashboard .bg-excellent {
  background: #22c55e;
}
.social-agent-dashboard .bg-good {
  background: #f59e0b;
}
.social-agent-dashboard .bg-poor {
  background: #ef4444;
}
@media (max-width: 992px) {
  .social-agent-dashboard .sd-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .social-agent-dashboard .sd-overview-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .social-agent-dashboard {
    padding: 12px;
  }
  .social-agent-dashboard .sd-cards {
    grid-template-columns: 1fr;
  }
  .social-agent-dashboard .sd-card-value {
    font-size: 24px;
  }
}

.select2-container .select2-selection--multiple {
  display: block !important;
}

.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  width: 100% !important;
  text-align: left !important;
}

/* ============================================================
   Mention Keyword Calls Log - Dashboard Design System (mk-*)
   ============================================================ */
.mk-report-dash {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
}

.mk-kpi-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.06);
}
.mk-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
}
.mk-kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 14px 0 0 14px;
}

.mk-kpi-total::before {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.mk-kpi-success::before {
  background: linear-gradient(180deg, #10b981, #059669);
}

.mk-kpi-failed::before {
  background: linear-gradient(180deg, #f43f5e, #be123c);
}

.mk-kpi-rate::before {
  background: linear-gradient(180deg, #f59e0b, #d97706);
}

.mk-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mk-kpi-total .mk-kpi-icon {
  background: #eff6ff;
  color: #2563eb;
}

.mk-kpi-success .mk-kpi-icon {
  background: #ecfdf5;
  color: #059669;
}

.mk-kpi-failed .mk-kpi-icon {
  background: #fff1f2;
  color: #e11d48;
}

.mk-kpi-rate .mk-kpi-icon {
  background: #fffbeb;
  color: #d97706;
}

.mk-kpi-body {
  flex: 1;
  min-width: 0;
}

.mk-kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.mk-kpi-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.mk-kpi-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #f3f4f6;
}
.mk-kpi-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  border-radius: 0 2px 2px 0;
  transition: width 0.6s ease;
}

.mk-table-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.06);
}

.mk-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  background: linear-gradient(145deg, #fafbfc 0%, #f1f5f9 100%);
}

.mk-table-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mk-table-title i {
  color: #3b82f6;
}

.mk-table-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
}
.mk-table-subtitle strong {
  color: #111827;
}

.mk-table-body {
  overflow-x: auto;
}

.mk-table-footer {
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f3f4f6;
  background: #fafbfc;
}

.mk-grid-table {
  font-size: 0.875rem;
}
.mk-grid-table th.mk-th {
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4b5563;
  border-bottom: 2px solid #e5e7eb;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}
.mk-grid-table td {
  padding: 0.65rem 1rem;
  vertical-align: middle;
  border-color: #f3f4f6;
}
.mk-grid-table tbody tr:hover {
  background-color: #f0f7ff;
}

.mk-phone-tag {
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", "SF Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e40af;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.mk-keyword-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0e7490;
  background: #ecfeff;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #a5f3fc;
}

.mk-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.mk-status-answered {
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.mk-status-noanswer {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.mk-status-failed {
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fda4af;
}

.mk-status-busy {
  color: #9333ea;
  background: #faf5ff;
  border: 1px solid #d8b4fe;
}

.mk-status-default {
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.mk-duration {
  font-family: "JetBrains Mono", "SF Mono", monospace;
  font-size: 0.8rem;
  color: #374151;
  background: #f3f4f6;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.mk-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.mk-result-badge.mk-result-success {
  color: #065f46;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}
.mk-result-badge.mk-result-failed {
  color: #881337;
  background: linear-gradient(135deg, #ffe4e6, #fda4af);
}

.mk-message-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  color: #4b5563;
}

.bot-tester-hub-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.bot-selector {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f4f4f4;
  padding: 15px;
}

.bot-selector-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.bot-selector-info {
  flex-grow: 1;
}

.bot-selector-name {
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.preview-card {
  height: calc(100vh - 165px) !important;
  min-height: 500px !important;
  max-height: calc(100vh - 165px) !important;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  z-index: 1 !important;
}

.preview-container-active {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  min-height: 0 !important;
  z-index: 1 !important;
}

.preview-chat-panel-active {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 0 8px 8px !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  min-height: 0 !important;
  z-index: 1 !important;
}
.preview-chat-panel-active .tas-chat-messages {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.preview-chat-panel-active .tas-header,
.preview-chat-panel-active .tas-chat-input,
.preview-chat-panel-active .tas-attachment-preview-container {
  flex-shrink: 0 !important;
}

/* System Terminal Modal */
#modal-system-container .modal-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.terminal-mac-style {
  background-color: #1e1e1e;
  color: #00ff00;
  border-radius: 10px;
  font-family: "Courier New", Courier, monospace;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid #333;
}
.terminal-mac-style .terminal-header {
  background-color: #2d2d2d;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #111;
}
.terminal-mac-style .terminal-header .window-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.terminal-mac-style .terminal-header .window-controls .control-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  /* make all buttons clickable visually */
}
.terminal-mac-style .terminal-header .window-controls .control-btn.close-btn {
  background-color: #ff5f56;
  display: flex;
  align-items: center;
  justify-content: center;
}
.terminal-mac-style .terminal-header .window-controls .control-btn.min-btn {
  background-color: #ffbd2e;
}
.terminal-mac-style .terminal-header .window-controls .control-btn.max-btn {
  background-color: #27c93f;
}
.terminal-mac-style .terminal-header .terminal-title {
  flex: 1 1 auto;
  text-align: center;
  color: #aaa;
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.terminal-mac-style .terminal-header .header-spacer {
  flex: 0 0 44px;
}
.terminal-mac-style .terminal-body {
  padding: 15px;
  font-size: 13px;
  line-height: 1.5;
  min-height: 450px;
  max-height: 450px;
  overflow-y: auto;
}
.terminal-mac-style .terminal-body pre {
  color: #00ff00;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  white-space: pre-wrap;
}
.terminal-mac-style .terminal-footer {
  padding: 10px 15px;
  background-color: #181818;
  border-top: 1px solid #111;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.terminal-mac-style .terminal-footer #terminal-status {
  color: #ffbd2e;
}
.terminal-mac-style .terminal-footer .footer-brand {
  color: #555;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.terminal-mac-style {
  /* OS specific adaptations */
}
.terminal-mac-style.os-windows .terminal-header, .terminal-mac-style.os-linux .terminal-header {
  flex-direction: row-reverse;
}
.terminal-mac-style.os-windows .terminal-header .window-controls, .terminal-mac-style.os-linux .terminal-header .window-controls {
  gap: 0;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn {
  border-radius: 0;
  width: 35px;
  height: 25px;
  box-shadow: none;
  background-color: transparent;
  color: #999;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.close-btn, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.close-btn {
  order: 3;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.close-btn::before, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.close-btn::before {
  content: "✕";
  font-size: 12px;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.close-btn:hover, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.close-btn:hover {
  background-color: #e81123;
  color: #fff;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.max-btn, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.max-btn {
  order: 2;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.max-btn::before, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.max-btn::before {
  content: "□";
  font-size: 14px;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.max-btn:hover, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.max-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.min-btn, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.min-btn {
  order: 1;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.min-btn::before, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.min-btn::before {
  content: "—";
  font-size: 10px;
  font-weight: bold;
}
.terminal-mac-style.os-windows .terminal-header .window-controls .control-btn.min-btn:hover, .terminal-mac-style.os-linux .terminal-header .window-controls .control-btn.min-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.terminal-mac-style.os-windows .terminal-header .header-spacer, .terminal-mac-style.os-linux .terminal-header .header-spacer {
  display: none;
}
.terminal-mac-style.os-windows .terminal-header .terminal-title, .terminal-mac-style.os-linux .terminal-header .terminal-title {
  text-align: left;
  padding-left: 10px;
}

/* Custom Fullscreen Modal */
#modal-system-container .modal-dialog.modal-fullscreen-custom {
  max-width: 100%;
  margin: 0;
  height: 100%;
}
#modal-system-container .modal-dialog.modal-fullscreen-custom .modal-content {
  height: 100vh;
  border-radius: 0;
}
#modal-system-container .modal-dialog.modal-fullscreen-custom .terminal-mac-style {
  border-radius: 0;
  border: none;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
#modal-system-container .modal-dialog.modal-fullscreen-custom .terminal-mac-style .terminal-body {
  flex: 1 1 auto;
  max-height: none !important;
  min-height: 0 !important;
}

/* Public project and feedback views */
.public-project-view,
.public-feedback-view {
  max-width: 100%;
  overflow-x: hidden;
}

.public-project-task-table td,
.public-feedback-view .card,
.public-feedback-view .card-body,
.public-feedback-view .flex-grow-1 {
  min-width: 0;
}

.public-project-task-table td,
.public-feedback-view .font-size-14,
.public-feedback-view h3,
.public-feedback-view h4,
.public-feedback-view h6,
.public-feedback-view p {
  overflow-wrap: anywhere;
}

.public-project-task-table {
  table-layout: fixed;
}
.public-project-task-table .public-task-col-name {
  width: 38%;
}
.public-project-task-table .public-task-col-user,
.public-project-task-table .public-task-col-priority {
  width: 10%;
}
.public-project-task-table .public-task-col-status {
  width: 8%;
}
.public-project-task-table .public-task-col-date {
  width: 12%;
}

@media (min-width: 768px) {
  .public-feedback-child .public-project-task-table {
    display: block;
  }
  .public-feedback-child .public-project-task-table tbody {
    display: block;
  }
  .public-feedback-child .public-project-task-table tr {
    display: grid;
    grid-template-columns: calc(38% - 2.48rem) calc(10% + 0.4rem) calc(10% + 0.4rem) calc(8% + 0.32rem) calc(12% + 0.48rem) calc(12% + 0.48rem) calc(10% + 0.4rem);
  }
  .public-feedback-child .public-project-task-table td {
    width: auto;
  }
}
.public-project-task-header {
  width: calc(100% - 1rem);
}

.public-project-feedback-title {
  font-size: 1.25rem;
}

.public-feedback-task-container {
  margin-left: 1rem;
}
.public-feedback-task-container .public-task-col-name {
  padding-left: 2rem;
}

.public-feedback-child {
  margin-left: 0;
}
.public-feedback-child .public-project-feedback-heading {
  margin-left: 3rem;
}
.public-feedback-child .public-feedback-task-container .public-task-col-name {
  padding-left: 1.5rem;
}
.public-feedback-child .public-feedback-task-container {
  margin-left: 4rem;
}

.public-project-board {
  gap: 1.5rem;
  scroll-snap-type: x proximity;
}

.public-project-board-column {
  flex: 0 0 calc((100% - 6rem) / 5);
  max-width: none;
  min-width: 0;
  scroll-snap-align: start;
}

.public-project-board-tasks {
  height: calc(100vh - 18rem);
  max-height: 56.25rem;
  min-height: 20rem;
}

.public-project-board-task-card {
  border-radius: 0.5rem;
}

@media (max-width: 1599.98px) {
  .public-project-board-column {
    flex-basis: calc((100% - 4.5rem) / 4);
  }
}
@media (max-width: 1199.98px) {
  .public-project-board-column {
    flex-basis: calc((100% - 3rem) / 3);
  }
}
@media (max-width: 991.98px) {
  .public-project-board-column {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}
.public-feedback-icon {
  background-color: #dbeafe;
  color: #1d4ed8;
  font-size: 1.75rem;
  height: 4rem;
  width: 4rem;
}

.public-feedback-child-icon {
  max-height: 1.0625rem;
}

.public-feedback-next-line {
  bottom: 0;
  top: -1.25rem;
}

.public-project-customer-avatar {
  height: 2rem;
  width: 2rem;
}

.public-readonly-action {
  cursor: not-allowed !important;
  user-select: none;
}

.public-readonly-actions {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .public-project-view,
  .public-feedback-view {
    margin: 0 !important;
    padding: 0.5rem;
  }
  .public-project-header,
  .public-project-title,
  .public-project-dates,
  .public-project-people,
  .public-project-feedback-heading,
  .public-feedback-header,
  .public-feedback-heading,
  .public-feedback-meta {
    align-items: flex-start !important;
    width: 100%;
  }
  .public-project-header,
  .public-project-title,
  .public-project-feedback-heading,
  .public-feedback-header,
  .public-feedback-heading {
    flex-direction: column;
  }
  .public-project-title {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .public-project-title .badge {
    margin-left: 0 !important;
  }
  .public-project-dates,
  .public-project-people,
  .public-feedback-meta {
    display: grid !important;
    gap: 0.75rem !important;
    grid-template-columns: 1fr;
    justify-content: stretch !important;
  }
  .public-project-people > div,
  .public-feedback-meta > span {
    width: 100%;
  }
  .public-project-separator {
    display: none;
  }
  .public-project-view .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .public-project-view .nav-tabs .nav-link {
    white-space: nowrap;
  }
  .public-project-list {
    margin-left: 0 !important;
    overflow: visible;
  }
  .public-project-task-header {
    display: none;
  }
  .public-feedback-task-container {
    margin-left: 0;
  }
  .public-feedback-task-container .public-task-col-name {
    padding-left: 1rem;
  }
  .public-feedback-child .public-project-feedback-heading {
    margin-left: 1rem;
  }
  .public-feedback-child .public-feedback-task-container .public-task-col-name {
    padding-left: 1rem;
  }
  .public-feedback-child .public-feedback-task-container {
    margin-left: 2rem;
  }
  .feedback-child-container > .task-row {
    margin-left: 1rem;
  }
  .feedback-child-container > .collapse {
    padding-left: 2rem;
  }
  .feedback-child-container > .collapse .task-list table td:first-child {
    padding-left: 2rem;
  }
  .feedback-parent-content .task-list table td:first-child {
    padding-left: 1rem;
  }
  .public-project-board-column {
    flex-basis: 100%;
  }
  .public-project-task-table,
  .public-project-task-table tbody,
  .public-project-task-table tr,
  .public-project-task-table td {
    display: block;
    width: 100%;
  }
  .public-project-task-table .public-task-col-name,
  .public-project-task-table .public-task-col-user,
  .public-project-task-table .public-task-col-priority,
  .public-project-task-table .public-task-col-status,
  .public-project-task-table .public-task-col-date {
    width: 100%;
  }
  .public-project-task-table thead {
    display: none;
  }
  .public-project-task-table {
    border: 0;
  }
  .public-project-task-table .public-feedback-row {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem 0.5rem 0 0;
    margin-top: 1rem;
  }
  .public-project-task-table .public-feedback-row td {
    border: 0;
    padding: 0.75rem;
  }
  .public-project-task-table .public-task-row {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    margin: 0.5rem 0;
    overflow: hidden;
  }
  .public-project-task-table .public-task-row td {
    border-width: 0 0 1px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(6.5rem, 35%) minmax(0, 1fr);
    padding: 0.75rem;
    text-align: left !important;
  }
  .public-project-task-table .public-task-row td:last-child {
    border-bottom: 0;
  }
  .public-project-task-table .public-task-row td::before {
    color: var(--bs-secondary-color, #6c757d);
    content: attr(data-label);
    font-weight: 600;
  }
  .public-feedback-view > .row,
  .public-feedback-view .card-header,
  .public-feedback-view .card-body {
    margin: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .public-feedback-view .public-feedback-icon {
    height: 3rem;
    width: 3rem;
  }
  .public-feedback-view .public-feedback-title {
    font-size: 1.25rem;
    line-height: 1.35;
  }
  .public-feedback-view .public-feedback-process-title {
    font-size: 1.25rem !important;
    line-height: 1.4;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .public-feedback-view .scroll-fb-history-container {
    max-height: none;
    overflow-x: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .public-feedback-view .fb-timeline-container {
    padding-left: 2.25rem;
  }
  .public-feedback-view .fb-timeline-line {
    left: 0.875rem;
  }
  .public-feedback-view .fb-timeline-icon {
    font-size: 0.75rem;
    height: 1.75rem;
    left: -2.25rem;
    width: 1.75rem;
  }
  .public-feedback-view .fb-timeline-item .card-body > .d-flex {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 0.75rem;
  }
  .public-feedback-view .fb-timeline-item .d-flex > div {
    min-width: 0;
  }
  .public-feedback-view .fb-timeline-item .text-end {
    margin-left: 0 !important;
    text-align: left !important;
  }
  .public-feedback-view .fb-card-avatar {
    margin-right: 0.5rem !important;
  }
  .public-feedback-view .fb-card-avatar img,
  .public-feedback-view .fb-card-avatar .img-avatar-thumbnail,
  .public-feedback-view .fb-card-avatar .default-avatar {
    height: 2rem;
    width: 2rem;
  }
  .public-feedback-view .fb-timeline-item a > .border {
    max-width: 100%;
    width: 100% !important;
  }
}
.feedback-order-controls {
  width: 24px;
  min-width: 24px;
}

/* Demo Page Styles */
.demo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.hidden-section {
  display: none !important;
}

.form-section,
.preview-section {
  flex: 1;
  min-width: 350px;
  max-width: 600px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-section h3 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #333;
  border-bottom: 2px solid #ee4d2d;
  padding-bottom: 10px;
  display: inline-block;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: #ee4d2d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.1);
}

/* Label preview styling */
.label-preview {
  border: 2px dashed #ccc;
  padding: 20px;
  background: #fff;
  min-height: 500px;
  position: relative;
  color: #000;
}

.label-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px dashed #999;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.logos {
  color: #ee4d2d;
  font-weight: bold;
  font-size: 28px;
  display: flex;
  flex-direction: column;
}
.logos img {
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
}

.logos span.ninja {
  color: #cc0000;
  font-size: 20px;
  margin-top: 8px;
}

.barcode-area {
  text-align: right;
}

.barcode-img {
  width: 250px;
  height: 50px;
  background: repeating-linear-gradient(90deg, #000, #000 2px, #fff 2px, #fff 5px);
  margin-bottom: 10px;
  display: inline-block;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px dashed #999;
  padding-bottom: 15px;
}

.info-col {
  flex: 1;
  padding-right: 15px;
}

.info-col h4 {
  margin: 0 0 5px 0;
  font-size: 15px;
  font-weight: bold;
}

.info-col p {
  margin: 4px 0;
  font-size: 14px;
  font-weight: 500;
}

.mapping-text {
  color: #ee4d2d;
  font-weight: bold;
  transition: all 0.3s ease;
}

.mapping-text:empty::before {
  content: "___________________";
  color: #ddd;
  font-weight: normal;
}

.package-details {
  border-bottom: 2px dashed #999;
  padding-bottom: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 500;
}

.footer-row {
  display: flex;
  justify-content: space-between;
}

.cod-area {
  flex: 1;
}

.cod-amount {
  font-size: 24px;
  font-weight: bold;
  margin: 15px 0;
}

.signature-area {
  border: 2px solid #333;
  padding: 10px;
  text-align: center;
  width: 250px;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.call-btn:hover {
  background-color: #0056b3;
}

.extension-call-btn {
  width: 26px;
  min-height: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  font: inherit;
  font-weight: 600;
}

.extension-call-btn,
.extension-hangup-btn {
  margin-right: 7px;
}

.extension-call-controls {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.extension-number-display {
  margin-left: 0;
  font-weight: 600;
}

.extension-hangup-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #dc3545;
  color: #fff;
  cursor: pointer;
}

.sip-call-state {
  color: #555;
}

.sip-call-message,
.sip-audio-message {
  margin: 6px 0;
  padding: 8px 10px;
  border-radius: 4px;
}

.sip-call-message {
  background: #f8d7da;
  color: #842029;
}

.sip-audio-message {
  background: #cff4fc;
  color: #055160;
}

.btn-save {
  background-color: #66bb6a;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  box-shadow: 0 4px 6px rgba(102, 187, 106, 0.3);
  min-width: 120px;
}

.btn-save:hover {
  background-color: #4caf50;
}

.btn-save:active {
  transform: scale(0.98);
}

.required-star {
  color: red;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.barcode-text {
  font-size: 13px;
  font-weight: bold;
}

.address-text {
  color: #555;
  margin-top: 10px;
}

.hidden-items-note {
  font-style: italic;
  color: #888;
  margin-top: 30px;
}

.delivery-instructions {
  margin: 5px 0 0 -20px;
  font-size: 13px;
  color: #555;
  list-style-type: none;
}

.signature-note {
  font-size: 12px;
  color: #555;
  margin-top: 10px;
}

/* --- PROJECT INDEX 2 --- */
.project-index2-page {
  --project-primary: #A6192E;
  --project-primary-dark: #7E1322;
  --project-bg: #F5F6F7;
  --project-card: #FFFFFF;
  --project-border: #E4E3E0;
  --project-text: #2B2320;
  --project-text-2: #6E625C;
  --project-text-3: #9C918A;
  --project-green: #1E8E5A;
  --project-green-bg: #E6F5EE;
  --project-blue: #2563EB;
  --project-blue-bg: #EAF1FE;
  --project-blue-light: #5B8DEF;
  --project-amber: #B45309;
  --project-amber-bg: #FDF3E3;
  --project-shadow: 0 1px 3px rgba(43, 35, 32, .06), 0 4px 14px rgba(43, 35, 32, .04);
  background: var(--project-bg);
  color: var(--project-text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  margin: -24px -12px 0;
  min-height: calc(100vh - 120px);
}

.project-index2-content {
  padding: 28px 20px 40px;
}

.project-index2-filter {
  margin-bottom: 16px;
}

.project-index2-filter .task-search-content {
  margin: 0;
  width: 100%;
}

.project-index2-filter .card {
  border: 1px solid var(--project-border);
  border-radius: 10px;
  box-shadow: var(--project-shadow);
  margin: 0;
}

.project-index2-filter .card-body {
  padding: 12px;
}

.project-index2-filter .card-body > .row:first-child {
  align-items: center;
}

.project-index2-filter .card-body > .row:first-child .form-group {
  margin-bottom: 0;
}

.project-kpi-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.project-kpi-card {
  background: var(--project-card);
  border: 1px solid var(--project-border);
  border-radius: 10px;
  box-shadow: var(--project-shadow);
  min-width: 110px;
  padding: 10px 18px;
  text-align: center;
}

.project-kpi-card strong {
  color: var(--project-text);
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.project-kpi-card span {
  color: var(--project-text-3);
  display: block;
  font-size: 11px;
}

.project-kpi-card-success strong {
  color: var(--project-green);
}

.project-grid-view {
  margin-top: 0 !important;
}

.project-index2-grid-card {
  background: var(--project-card);
  border: 1px solid var(--project-border);
  border-radius: 12px;
  box-shadow: var(--project-shadow);
  margin-bottom: 16px;
  overflow: hidden;
}

.project-index2-grid-card > .panel,
.project-index2-grid-card > .card,
.project-index2-grid-card .kv-grid-container {
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.project-index2-grid-card .panel-heading,
.project-index2-grid-card .card-header {
  background: var(--project-card) !important;
  border: 0;
  color: var(--project-text-2) !important;
  padding: 14px 18px 10px;
}

.project-index2-grid-card .card-header .card-title,
.project-index2-grid-card .panel-heading .panel-title,
.project-index2-grid-card .card-header h5 {
  margin: 0;
  width: 100%;
}

.project-grid-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  width: 100%;
}

.project-grid-heading h3 {
  color: var(--project-text-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin: 0;
  text-transform: uppercase;
}

.project-create-button {
  align-items: center;
  background: var(--project-primary);
  border: 1px solid var(--project-primary);
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 7px;
  padding: 5px 11px;
}

.project-create-button:hover,
.project-create-button:focus {
  background: var(--project-primary-dark);
  border-color: var(--project-primary-dark);
  color: #fff;
}

.project-index2-grid-card .table-responsive {
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.project-index2-table {
  border-collapse: collapse;
  box-sizing: border-box;
  font-size: 12.8px;
  min-width: 0 !important;
  table-layout: fixed;
  width: 100% !important;
}

.project-index2-table th:nth-child(1) {
  width: 3%;
}

.project-index2-table th:nth-child(2) {
  width: 22%;
}

.project-index2-table th:nth-child(3) {
  width: 16%;
}

.project-index2-table th:nth-child(4) {
  width: 11%;
}

.project-index2-table th:nth-child(5) {
  width: 9%;
}

.project-index2-table th:nth-child(6) {
  width: 8%;
}

.project-index2-table th:nth-child(7) {
  width: 6%;
}

.project-index2-table th:nth-child(8) {
  width: 10%;
}

.project-index2-table th:nth-child(9) {
  width: 10%;
}

.project-index2-table th:nth-child(10) {
  width: 5%;
}

.project-index2-table > thead > tr > th {
  background: var(--project-card) !important;
  border-bottom: 1.5px solid var(--project-border) !important;
  color: var(--project-text-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  text-align: left;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.project-index2-table > tbody > tr > td {
  background: var(--project-card);
  border-bottom: 1px solid #F2EDE8;
  color: var(--project-text);
  font-size: 12.8px;
  padding: 9px 10px;
  vertical-align: middle;
}

.project-index2-table > tbody > tr > td:not(.project-main-cell) {
  overflow: hidden;
}

.project-index2-table > tbody > tr:hover > td {
  background: #FAFAF9;
}

.project-index2-table > tbody > tr:last-child > td {
  border-bottom: 0;
}

.project-index2-table .project-expand-header,
.project-index2-table .project-expand-cell {
  padding-left: 6px;
  padding-right: 2px;
  text-align: center;
}

.project-index2-table .project-expand-cell {
  cursor: pointer;
  overflow: visible;
}

.project-expand-symbol {
  color: var(--project-blue);
  font-size: 16px;
}

.project-index2-table > tbody > .project-expanded-row > td {
  background: #FAFBFC;
  overflow: visible;
  padding: 14px 18px;
}

.project-index2-page .project-feedback-detail .task-row {
  padding-right: 48px;
  position: relative;
}

.project-index2-page .project-feedback-detail .feedback-child-container > .task-row {
  padding-right: 72px;
}

.project-index2-page .project-feedback-detail .feedback-task-statistic {
  margin-right: 12px;
}

.project-index2-page .project-feedback-detail .feedback-child-container .feedback-task-statistic {
  margin-right: 32px;
}

.project-index2-page .project-feedback-detail .feedback-order-controls {
  margin: 0 !important;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.project-feedback-detail .simple-loader {
  margin: 0;
}

.project-empty-feedback {
  color: var(--project-text-3);
  font-size: 12px;
}

.project-main-cell {
  min-width: 0;
}

.project-name-line {
  align-items: center;
  display: flex;
  min-width: 0;
  width: 100%;
}

.project-index2-name {
  color: var(--project-blue);
  display: block;
  max-width: 100%;
  min-width: 0;
  font-size: 12.8px;
  font-weight: 600;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-index2-name:hover {
  text-decoration: underline;
}

.project-index2-description {
  color: var(--project-text-3);
  font-size: 11px;
  margin-top: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-customer-cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-customer-cell a {
  color: var(--project-text);
  text-decoration: none;
}

.project-pm-cell {
  white-space: nowrap;
}

.project-pm {
  align-items: center;
  background: var(--project-bg);
  border: 1px solid var(--project-border);
  border-radius: 14px;
  color: var(--project-text-2);
  display: inline-flex !important;
  font-size: 12px;
  font-weight: 600;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
  padding: 2px 10px;
}

.project-pm img,
.project-member-avatar img {
  border-radius: 50%;
  height: 22px !important;
  object-fit: cover;
  width: 22px !important;
}

.project-pm a {
  color: var(--project-text-2);
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-pm .text-truncate {
  min-width: 0;
  overflow: hidden;
}

.project-members-cell {
  white-space: nowrap;
}

.project-member-list {
  align-items: center;
  display: inline-flex;
  padding-left: 6px;
  text-decoration: none;
  vertical-align: middle;
}

.project-member-avatar,
.project-member-more {
  align-items: center;
  background: linear-gradient(135deg, #64748B, #94A3B8);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 9px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.project-member-more {
  margin-left: -7px;
}

.project-member-avatar > span {
  align-items: center;
  display: flex;
  justify-content: center;
}

.project-deadline-cell,
.project-count-cell,
.project-public-cell {
  text-align: center;
  white-space: nowrap;
}

.project-late {
  color: var(--project-primary) !important;
  font-weight: 700;
}

.project-progress-cell {
  white-space: nowrap;
}

.project-progress-track {
  background: var(--project-bg);
  border: 1px solid var(--project-border);
  border-radius: 8px;
  height: 16px;
  min-width: 110px;
  overflow: hidden;
  position: relative;
  width: 110px;
}

.project-progress-value {
  background: linear-gradient(90deg, var(--project-blue), var(--project-blue-light));
  display: block;
  height: 100%;
  transition: width 0.3s;
}

.project-progress-value span {
  align-items: center;
  color: var(--project-text);
  display: flex;
  font-size: 10px;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

.project-status-cell {
  text-align: center;
}

.project-status-cell .project-status-label > .badge {
  border: 0 !important;
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 700;
  min-width: 0;
  padding: 3px 10px;
  white-space: nowrap;
}

.project-status-cell.status-new .project-status-label > .badge {
  background: var(--project-blue-bg) !important;
  color: var(--project-blue) !important;
}

.project-status-cell.status-doing .project-status-label > .badge {
  background: var(--project-amber-bg) !important;
  color: var(--project-amber) !important;
}

.project-status-cell.status-done .project-status-label > .badge {
  background: var(--project-green-bg) !important;
  color: var(--project-green) !important;
}

.project-status-cell.status-pause .project-status-label > .badge {
  background: var(--project-bg) !important;
  border: 1px solid var(--project-border) !important;
  color: var(--project-text-3) !important;
}

.project-public-badge,
.project-public-empty {
  border-radius: 12px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  text-decoration: none;
  white-space: nowrap;
}

.project-public-badge {
  align-items: center;
  background: var(--project-green-bg);
  color: var(--project-green);
  gap: 4px;
}

.project-public-empty {
  background: var(--project-bg);
  color: var(--project-text-2);
}

.project-public-copy-wrap {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.project-public-copy-wrap .project-link-element {
  display: none;
}

.project-public-copy-wrap .btn {
  align-items: center;
  background: var(--project-green-bg);
  border: 0;
  border-radius: 50%;
  color: var(--project-green);
  display: inline-flex;
  height: 26px;
  justify-content: center;
  padding: 0;
  width: 26px;
}

.project-public-copy-wrap .btn:hover,
.project-public-copy-wrap .btn:focus {
  background: #D5EEE2;
  color: #147A49;
}

.project-public-copy-new .btn {
  background: var(--project-bg);
  color: var(--project-text-3);
}

.project-public-copy-new .btn:hover,
.project-public-copy-new .btn:focus {
  background: var(--project-blue-bg);
  color: var(--project-blue);
}

.project-grid-footer {
  align-items: center;
  border-top: 1px solid #F2EDE8;
  color: var(--project-text-3);
  display: grid;
  font-size: 11px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 40px;
  padding: 6px 18px;
}

.project-grid-footer .kv-panel-pager {
  float: none;
  grid-column: 2;
  justify-self: center;
}

.project-grid-footer > div:first-child {
  justify-self: start;
}

.project-grid-footer .summary {
  float: none !important;
  margin: 0;
  text-align: left;
}

.project-grid-footer .pagination {
  margin: 0;
}

.main-modal-v2.project-create-modal .modal-dialog {
  --project-primary: #A6192E;
  --project-primary-dark: #7E1322;
  --project-bg: #F5F6F7;
  --project-border: #E4E3E0;
  --project-text: #2B2320;
  --project-text-2: #6E625C;
  --project-blue: #2563EB;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 980px !important;
  width: calc(100% - 48px) !important;
}

.main-modal-v2.project-create-modal.right .modal-dialog {
  height: auto;
  position: relative;
  right: auto;
  transform: none;
}

.main-modal-v2.project-create-modal .modal-content,
.main-modal-v2.project-create-modal.right .modal-content {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(43, 35, 32, 0.25);
  height: auto;
  max-height: 88vh;
  overflow: hidden;
}

.project-create-modal .modal-header {
  border-bottom: 1px solid var(--project-border);
  min-height: 60px;
  padding: 16px 22px;
}

.project-create-modal .modal-header h5 {
  color: var(--project-text);
  font-size: 15.5px;
  font-weight: 700;
}

.project-create-modal .modal-body {
  padding: 0;
}

.project-create-modal .modal-body:not(:has(.project-create-form)) {
  color: var(--project-text-2);
  min-height: 100px;
  padding: 22px;
}

.project-create-form form {
  margin: 0;
}

.project-create-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 18px 22px;
}

.project-create-field {
  min-width: 0;
}

.project-create-field-full {
  grid-column: 1/-1;
}

.project-create-form .form-group,
.project-create-form .customer-info .row {
  margin: 0;
}

.project-create-form .control-label,
.project-create-form label {
  color: var(--project-text-2);
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.project-create-form .form-control,
.project-create-form .select2-container .select2-selection {
  background: #fff;
  border: 1px solid var(--project-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 13px;
  min-height: 36px;
}

.project-create-form .form-control {
  padding: 8px 11px;
}

.project-create-form textarea.form-control {
  min-height: 82px;
  resize: vertical;
}

.user-group-form {
  --project-primary: #A6192E;
  --project-primary-dark: #7E1322;
  --project-border: #E4E3E0;
  --project-text: #2B2320;
  --project-blue: #2563EB;
}

.main-modal-v2.user-group-modal .modal-dialog {
  width: 50% !important;
}

@media (max-width: 768px) {
  .main-modal-v2.user-group-modal .modal-dialog {
    width: 99% !important;
  }
}
.user-group-members-field {
  padding-top: 15px;
}

.user-group-actions-row {
  text-align: center;
}

.user-group-actions {
  display: inline-block;
}

.project-members-native {
  display: none;
}

.project-members-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.project-members-selected-summary,
.project-members-description {
  color: #98A2B3;
  font-size: 11px;
}

.project-members-description {
  margin: 2px 0 8px;
}

.project-members-picker {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.project-members-pane {
  border: 1px solid #D7DFEA;
  border-radius: 10px;
  height: 228px;
  min-width: 0;
  overflow: hidden;
  padding: 10px;
}

.project-members-selected-pane {
  background: #FFFBFC;
  border-color: #F0CDD3;
}

.project-members-search-wrap {
  align-items: center;
  border: 1px solid #D7DFEA;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
}

.project-members-search-wrap:focus-within {
  border-color: var(--project-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.project-members-search-wrap i {
  color: #98A2B3;
  font-size: 13px;
}

.project-members-search {
  background: transparent;
  border: 0;
  color: var(--project-text);
  font-size: 12px;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.project-members-search::placeholder {
  color: #98A2B3;
}

.project-members-pane-title,
.project-members-selected-header {
  color: #98A2B3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 4px 6px;
  text-transform: uppercase;
}

.project-members-selected-header {
  align-items: center;
  color: var(--project-primary);
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding-top: 4px;
}

.project-members-selected-count {
  background: #FCECEF;
  border-radius: 999px;
  color: var(--project-primary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: auto;
  padding: 4px 8px;
  text-transform: none;
}

.project-members-clear {
  background: transparent;
  border: 0;
  color: var(--project-primary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 2px 0;
  text-transform: none;
}

.project-members-clear:hover,
.project-members-clear:focus {
  color: var(--project-primary-dark);
  text-decoration: underline;
}

.project-members-list {
  max-height: 160px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-color: #C4C9D1 transparent;
  scrollbar-width: thin;
}

.project-members-selected-list {
  max-height: 178px;
}

.user-group-notification-config {
  margin-top: 20px;
}

.project-member-option,
.project-member-selected-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #475467;
  display: flex;
  gap: 9px;
  min-height: 39px;
  padding: 5px 8px;
  text-align: left;
  width: 100%;
}

.project-member-option:hover,
.project-member-option:focus {
  background: #F5F7FA;
  outline: 0;
}

.project-member-option.is-selected {
  background: #FCECEF;
}

.project-member-avatar {
  align-items: center;
  background: #EEF2F6;
  border-radius: 50%;
  color: #667085;
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 10px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
}

.project-member-color-1 {
  background: #E8F1FF;
  color: #3975D5;
}

.project-member-color-2 {
  background: #E5F8EC;
  color: #2C9660;
}

.project-member-color-3 {
  background: #FFF0E5;
  color: #D76A2D;
}

.project-member-color-4 {
  background: #F2EAFE;
  color: #8059C4;
}

.project-member-name {
  flex: 1;
  font-size: 12px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-member-checkbox {
  align-items: center;
  border: 1px solid #C8D1DE;
  border-radius: 6px;
  color: transparent;
  display: inline-flex;
  flex: 0 0 22px;
  height: 22px;
  justify-content: center;
}

.project-member-option.is-selected .project-member-checkbox {
  background: var(--project-primary);
  border-color: var(--project-primary);
  color: #fff;
}

.project-member-remove {
  background: transparent;
  border: 0;
  color: #A7AAB0;
  flex: 0 0 24px;
  font-size: 13px;
  height: 24px;
  padding: 0;
}

.project-member-remove:hover,
.project-member-remove:focus {
  color: var(--project-primary);
}

.project-members-empty,
.project-members-no-results {
  color: #98A2B3;
  font-size: 11px;
  padding: 28px 8px;
  text-align: center;
}

.project-create-form .mce-tinymce {
  border: 1px solid var(--project-border) !important;
  border-radius: 8px;
  box-shadow: none !important;
  overflow: hidden;
}

.project-create-form .has-error .mce-tinymce {
  border-color: #DC3545 !important;
}

.project-create-form .mce-panel {
  background: #fff;
  border-color: var(--project-border);
}

.project-create-form .mce-edit-area iframe {
  min-height: 150px;
}

.project-overview .text-body img {
  border-radius: 6px;
  height: auto;
  margin: 8px 0;
  max-width: 100%;
}

.project-create-form .select2-container {
  max-width: 100%;
  width: 100% !important;
}

.project-create-form .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 34px;
  padding-left: 11px;
}

.project-create-form .select2-container .select2-selection--single .select2-selection__arrow {
  height: 34px;
}

.project-create-form .select2-container .select2-selection--multiple {
  padding: 2px 6px;
}

.project-create-form .form-control:focus,
.project-create-form .select2-container--focus .select2-selection,
.project-create-form .select2-container--open .select2-selection {
  border-color: var(--project-blue) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.project-create-form .input-group-addon,
.project-create-form .input-group-text {
  background: #fff;
  border-color: var(--project-border);
}

.project-create-form .help-block,
.project-create-form .invalid-feedback {
  font-size: 11px;
  margin: 3px 0 0;
}

.project-create-footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--project-border);
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  padding: 14px 22px;
}

.project-create-footer .btn {
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  min-height: 34px;
  padding: 7px 14px;
}

.project-create-cancel {
  background: #fff;
  border: 1px solid var(--project-border);
  color: var(--project-text-2);
}

.project-create-cancel:hover,
.project-create-cancel:focus {
  background: var(--project-bg);
  color: var(--project-text);
}

.project-create-submit {
  background: var(--project-primary);
  border: 1px solid var(--project-primary);
  color: #fff;
}

.project-create-submit:hover,
.project-create-submit:focus {
  background: var(--project-primary-dark);
  border-color: var(--project-primary-dark);
  color: #fff;
}

@media (max-width: 640px) {
  .project-index2-page {
    margin-top: -20px;
  }
  .project-index2-content {
    padding: 10px 10px 60px;
  }
  .project-kpi-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .project-index2-filter .row-cols-4 > .col {
    width: 100%;
  }
  .project-kpi-card {
    flex: 1 0 100px;
    min-width: 100px;
    padding: 6px 10px;
  }
  .project-kpi-card strong {
    font-size: 15px;
  }
  .project-kpi-card span {
    font-size: 10px;
  }
  .project-index2-table {
    font-size: 12px;
    min-width: 1080px !important;
  }
  .project-create-modal .modal-dialog {
    align-items: flex-end;
    margin: 0 !important;
    max-width: none !important;
    min-height: 100%;
    width: 100% !important;
  }
  .project-create-modal .modal-content {
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
  }
  .project-create-fields {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .project-create-field-full {
    grid-column: auto;
  }
  .project-members-picker {
    grid-template-columns: 1fr;
  }
  .project-members-pane {
    height: 210px;
  }
  .project-members-list,
  .project-members-selected-list {
    max-height: 145px;
  }
  .project-create-footer {
    padding: 12px 16px;
  }
  .project-create-footer .btn {
    flex: 1;
  }
}
.project-member-avatar-stacked {
  margin-left: -7px;
}

@media (max-width: 767px) {
  .demo-container {
    padding: 5px;
    gap: 10px;
  }
  .preview-section,
  .form-section {
    padding: 10px;
    width: 100%;
    min-width: unset;
    box-sizing: border-box;
  }
  .label-preview {
    padding: 10px;
    box-sizing: border-box;
  }
  .label-header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .logos {
    align-items: center;
  }
  .barcode-area {
    text-align: center;
  }
  .barcode-area svg {
    max-width: 100%;
    height: auto;
  }
  .info-row {
    flex-direction: column;
    gap: 20px;
  }
  .info-col {
    padding-right: 0;
  }
  .footer-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .cod-area {
    text-align: center;
  }
  .cod-area ul.delivery-instructions {
    text-align: left;
    display: inline-block;
  }
  .signature-area {
    width: 100%;
    max-width: 280px;
  }
}
.transfer-users-heading {
  min-height: 38px;
}

.transfer-users-heading-title {
  font-weight: 600;
}

.transfer-availability-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #e9eef4;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
}

.transfer-availability-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.transfer-availability-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 102px;
  margin: 0;
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.transfer-availability-option:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.75);
}

.transfer-availability-online-icon {
  color: #22c55e;
  font-size: 9px;
  filter: drop-shadow(0 0 3px rgba(34, 197, 94, 0.45));
}

.transfer-availability-input:checked + .transfer-availability-option {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.22);
}
.transfer-availability-input:checked + .transfer-availability-option-online {
  border-color: #15803d;
  background: #16a34a;
}
.transfer-availability-input:checked + .transfer-availability-option-online .transfer-availability-online-icon {
  color: #fff;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.65));
}
.transfer-availability-input:checked + .transfer-availability-option-all {
  border-color: #1d4ed8;
  background: #2563eb;
}
.transfer-availability-input:focus-visible + .transfer-availability-option {
  outline: 2px solid #2e90fa;
  outline-offset: 2px;
}

.user-transfer-grid-summary {
  margin-bottom: -3px;
  padding: 0;
}

/*# sourceMappingURL=site-custom.css.map */
