.popover-notes-preferences .note-content-no-break {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-line;
  max-width: 100%;
}
.popover-notes-preferences .nav-note-content-item {
  user-select: text;
}
.popover-notes-preferences .nav-note-content-item .note-content-item {
  user-select: text;
  cursor: text;
}
.popover-notes-preferences .no-bullet-content {
  list-style: none;
}
.popover-notes-preferences .note-header {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 8px;
}
.popover-notes-preferences .notes-list.no-bullets {
  list-style: none;
  padding-left: 20px;
  margin: 0;
}
.popover-notes-preferences .note-list-item {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
  margin-bottom: 8px;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}
.popover-notes-preferences .note-list-item .note-content {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}
.popover-notes-preferences .note-list-item .see-more-note {
  color: #007BFF;
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 4px;
  display: inline-block;
}
.popover-notes-preferences .note-list-item .see-more-note:hover {
  color: #0056b3;
  text-decoration: none;
}
.popover-notes-preferences .note-list-item .see-more-note:focus {
  outline: 2px solid #007BFF;
  outline-offset: 2px;
}
.popover-notes-preferences .note-item-not-assign .message-content,
.popover-notes-preferences .note-item-no-record .message-content {
  list-style: none;
  line-height: 1.5;
}
.popover-notes-preferences .update-note,
.popover-notes-preferences .click-here-note {
  color: var(--primary-color, #007BFF);
  cursor: pointer;
  text-decoration: none;
}
.popover-notes-preferences .update-note:hover,
.popover-notes-preferences .click-here-note:hover {
  text-decoration: underline;
}
.popover-notes-preferences .update-note:focus,
.popover-notes-preferences .click-here-note:focus {
  outline: 2px solid var(--primary-color, #007BFF);
  outline-offset: 2px;
}
.popover-notes-preferences .update-note {
  display: inline-block;
}
.popover-notes-preferences .notes-loading-state {
  text-align: center;
  padding: 20px;
  color: #666;
}
.popover-notes-preferences .notes-click-to-load {
  text-align: center;
  padding: 20px;
  color: #666;
}
.popover-notes-preferences .notes-tabs-navigation .notes-tab-item {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.popover-notes-preferences .notes-tabs-navigation .notes-tab-item.active {
  background-color: #007BFF;
  color: white;
}
.popover-notes-preferences .notes-tabs-navigation .notes-tab-item:hover {
  background-color: #f8f9fa;
}
.popover-notes-preferences .notes-tabs-navigation .notes-tab-item.active:hover {
  background-color: #0056b3;
}
.popover-notes-preferences .notes-content-area.notes-content-scrollable {
  max-height: 400px;
  overflow-y: auto;
  padding: 16px;
}

.text-wrap {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

.no-bullets {
  list-style: none !important;
}

.note-separator {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .popover-notes-preferences .notes-content-area.notes-content-scrollable {
    max-height: 300px;
    padding: 12px;
  }
  .popover-notes-preferences .note-header {
    font-size: 14px;
  }
  .popover-notes-preferences .notes-list.no-bullets {
    padding-left: 16px;
  }
}
.notes-preferences-modal.loading {
  min-height: 500px;
}.card-table-bulk .cell-item {
  display: table-cell !important;
  vertical-align: middle;
}
.card-table-bulk .cell-item .text-ellipsis {
  display: flex !important;
  align-items: center;
  height: 100%;
}

.table-share-requests {
  border: 1px solid #b5b5c3;
  width: 100%;
}
.table-share-requests .box-title {
  background-color: #e8e8e8;
  align-items: stretch;
  justify-content: center;
}
.table-share-requests .box-title .cell-item {
  height: 42px;
  line-height: 24px;
  margin-bottom: 0;
  padding: 8px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #3f4254;
  border-bottom: 1px solid #b5b5c3;
}
.table-share-requests .box-title .cell-item + .cell-item {
  border-left: 1px solid #b5b5c3;
}
.table-share-requests .box-record {
  border-bottom: 1px solid #b5b5c3;
}
.table-share-requests .box-record:last-child {
  border-bottom: 0;
}
.table-share-requests .box-record .cell-item {
  margin-bottom: 0;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 400;
  color: #7e8299;
  line-height: 24px;
  height: 42px;
}
.table-share-requests .box-record .cell-item + .cell-item {
  border-left: 1px solid #b5b5c3;
  height: 100%;
}
.table-share-requests .box-record .active {
  color: #181c32;
  cursor: pointer;
}

.modal-share-buld-edit .multi-select .dropdown-menu {
  max-height: 220px;
}.wp-box-share:hover {
  cursor: pointer;
}
.wp-box-share:hover .btn-resend-share {
  display: inline-flex !important;
}

.btn-resend-share {
  font-size: 12px;
  line-height: 14px;
  padding: 6px 8px;
  border-radius: 4px;
  height: 20px;
  background-color: #2b7fff !important;
  border-color: #2b7fff !important;
  color: #fff !important;
  display: none;
}

.notes-preferences-modal {
  background: #ffffff;
  border-radius: 8px;
  padding: 0;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .notes-preferences-modal {
    max-width: 95vw;
  }
}
.notes-preferences-modal .box-note-and-preferences {
  position: relative;
}
.notes-preferences-modal .box-note-and-preferences .popover,
.notes-preferences-modal .box-note-and-preferences .popover-content {
  min-width: 800px !important;
  max-width: 900px !important;
  z-index: 1050;
}
.notes-preferences-modal .box-note-and-preferences .popover-body {
  padding: 0 !important;
  max-height: 600px;
  overflow: hidden;
}
.notes-preferences-modal .box-note-and-preferences .dropdown-menu.show {
  max-height: 600px !important;
  height: 500px !important;
}
.notes-preferences-modal .box-note-and-preferences-item {
  width: 100%;
  position: relative;
}
.notes-preferences-modal .notes-tabs-navigation {
  display: flex;
  border-bottom: 1px solid #E5E5E5;
  background: #F8F9FA;
  border-radius: 8px 8px 0 0;
  overflow-x: auto;
  min-height: 48px;
  flex-shrink: 0;
  padding: 0 8px;
}
.notes-preferences-modal .notes-tabs-navigation.notes-tabs-fixed {
  position: sticky;
  top: 0;
  z-index: 10;
  border-radius: 0;
}
.notes-preferences-modal .notes-tab-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notes-preferences-modal .notes-tab-item:hover {
  color: #374151;
  background: rgba(59, 130, 246, 0.05);
}
.notes-preferences-modal .notes-tab-item.active {
  color: #3B82F6;
  border-bottom-color: #3B82F6;
  background: #ffffff;
  font-weight: 600;
}
.notes-preferences-modal .notes-tab-item.active .count {
  color: #3B82F6;
  font-weight: 500;
  background: #EBF4FF;
}
.notes-preferences-modal .notes-tab-item .count {
  font-size: 12px;
  color: #9CA3AF;
  font-weight: normal;
  background: #F3F4F6;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  min-width: 24px;
  display: inline-block;
  text-align: center;
}
@media (max-width: 768px) {
  .notes-preferences-modal .notes-tab-item {
    padding: 8px 12px;
    font-size: 13px;
  }
}
.notes-preferences-modal .notes-content-area {
  height: fit-content;
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  max-height: none;
}
.notes-preferences-modal .notes-content-area.notes-content-scrollable {
  max-height: 400px;
}
@media (max-width: 768px) {
  .notes-preferences-modal .notes-content-area {
    padding: 16px;
    max-height: 300px;
  }
}
.notes-preferences-modal .business-section {
  margin-bottom: 24px;
}
.notes-preferences-modal .business-section:last-child {
  margin-bottom: 0;
}
.notes-preferences-modal .business-section .business-title {
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #E5E7EB;
}
@media (max-width: 768px) {
  .notes-preferences-modal .business-section .business-title {
    font-size: 15px;
  }
}
.notes-preferences-modal .business-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notes-preferences-modal .notes-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.notes-preferences-modal .note-item {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
  padding: 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.2s ease;
}
.notes-preferences-modal .note-item:hover {
  border-color: #D1D5DB;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.notes-preferences-modal .note-item:last-child {
  border-bottom: none;
}
.notes-preferences-modal .note-item .note-header {
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}
.notes-preferences-modal .note-item .note-content {
  color: #6B7280;
  line-height: 1.5;
  font-size: 14px;
}
.notes-preferences-modal .note-item .see-more-note {
  color: #3B82F6;
  cursor: pointer;
  font-weight: 500;
  margin-left: 4px;
  text-decoration: underline;
}
.notes-preferences-modal .note-item .see-more-note:hover {
  color: #2563EB;
}
@media (max-width: 768px) {
  .notes-preferences-modal .note-item {
    font-size: 13px;
  }
}
.notes-preferences-modal .note-item.note-item-not-assign {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
}
.notes-preferences-modal .note-item.note-item-no-record {
  background: #DBEAFE;
  border-color: #3B82F6;
  color: #1E40AF;
}
.notes-preferences-modal .note-item-not-assign,
.notes-preferences-modal .note-item-no-record {
  padding: 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}
.notes-preferences-modal .note-item-not-assign {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
}
.notes-preferences-modal .note-item-no-record {
  background: #DBEAFE;
  border-color: #3B82F6;
  color: #1E40AF;
}
.notes-preferences-modal .see-more-link,
.notes-preferences-modal .update-note,
.notes-preferences-modal .click-here-note {
  color: #3B82F6 !important;
  font-weight: 500;
  text-decoration: none;
  margin-left: 4px;
}
.notes-preferences-modal .see-more-link:hover,
.notes-preferences-modal .update-note:hover,
.notes-preferences-modal .click-here-note:hover {
  text-decoration: underline;
}
.notes-preferences-modal .notes-empty-state,
.notes-preferences-modal .notes-loading-state,
.notes-preferences-modal .notes-click-to-load {
  text-align: center;
  padding: 40px 20px;
  color: #6B7280;
}
.notes-preferences-modal .notes-empty-state p,
.notes-preferences-modal .notes-loading-state p,
.notes-preferences-modal .notes-click-to-load p {
  margin: 0;
  font-size: 14px;
}
.notes-preferences-modal .notes-click-to-load {
  background: #F9FAFB;
  border: 1px dashed #D1D5DB;
  border-radius: 8px;
}

[data-component=modal-share-request-detail] .box-note-and-preferences .dropdown-menu.show {
  max-height: 600px !important;
}.request-discussion-wrapper.mobile {
  height: 100%;
}
.request-discussion-wrapper.mobile .discussion-room-content-wrapper {
  transform: unset !important;
  max-width: 100%;
  position: static;
}
.request-discussion-wrapper.mobile .footer-room {
  margin-bottom: 0px !important;
  padding-bottom: 0 !important;
}
.request-discussion-wrapper.mobile .discussion-room-content-wrapper .footer-room .send-message-request .error-content {
  margin-top: -4px !important;
  padding-bottom: 0 !important;
}
.request-discussion-wrapper.mobile .list-discussion-room-wrapper {
  padding-bottom: 4px;
}
.request-discussion-wrapper .list-discussion-room-wrapper {
  height: 100%;
  overflow: hidden;
  padding: 0px 4px;
}
.request-discussion-wrapper .slidebar-heading {
  padding: 0px 4px;
}.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  background-color: #f8f8fb;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: all 0.2s;
}

/* When checked */
.custom-checkbox:checked {
  border: 2px solid #029757;
  background-color: white;
}

/* Green checkmark using ::after */
.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #029757;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}.attachment-letter-modal-request-detail .nav-icon-letter {
  position: relative;
}
.attachment-letter-modal-request-detail .swiper-horizontal {
  margin-right: 8px;
}
.attachment-letter-modal-request-detail .horizon-nav-arrows .horizon-arrow {
  width: 16px !important;
  height: 16px !important;
  background-color: #c2c2c2;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 57% !important;
}
.attachment-letter-modal-request-detail .horizon-nav-arrows .horizon-arrow .icon {
  width: 3.35px !important;
  height: 5.71px !important;
}
.attachment-letter-modal-request-detail .horizon-nav-arrows .horizon-arrow:disabled {
  display: flex !important;
  opacity: 0.4;
  cursor: default;
}
.attachment-letter-modal-request-detail .horizon-nav-arrows .horizon-arrow.horizon-next {
  right: 25px !important;
}
.attachment-letter-modal-request-detail .horizon-nav-arrows .horizon-arrow.horizon-prev {
  left: -25px !important;
}body.modalOpen {
  overflow-y: hidden;
}
body.modalOpen header.navbar {
  z-index: 99;
  margin-left: 0 !important;
  width: 100% !important;
}
body.modalOpen header.navbar .container {
  max-width: 100%;
}
body.modalOpen aside.navbar {
  z-index: 99;
}

.header-site-personal {
  transition: all 0.5s ease-in-out;
}

body.modalOpen aside.sidebar-business {
  width: 0px !important;
}
body.modalOpen .header-site-personal {
  max-width: 100vw;
}

.fullScreenModalBackdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.fullScreenModalContainer {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 11;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .fullScreenModalContainer {
    top: 44px;
  }
}
.fullScreenModalBackdrop {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fullScreenModalBackdrop.show {
  opacity: 1;
}

.fullScreenModalContainer {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.fullScreenModalContainer.show {
  opacity: 1;
}.drag-scroll-container {
  width: 100%;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  position: relative;
  background-color: #fff;
  z-index: 99;
}

.drag-scroll-content {
  white-space: nowrap;
  display: inline-block;
  transform: translateX(0px);
  transition: transform 0.2s ease-out;
}.modal-organize-now .wrap-icon {
  position: relative;
}
.modal-organize-now .wrap-icon .information {
  position: absolute;
  max-width: 260px;
  padding: 16px;
  width: 100%;
  bottom: 12px;
  left: 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modal-organize-now .wrap-icon .information .name {
  font-weight: 600;
  font-size: 16px;
}.modal-manually-link-to-case .box-infomation-case {
  background: linear-gradient(90deg, #2b7fff 0%, #56b9ff 100%);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 15px;
}
.modal-manually-link-to-case .box-infomation-case .box-infomation-case-item {
  color: #ffffff;
  line-height: 100%;
  border-right: 1px #ffffff solid;
  padding-right: 15px;
}
.modal-manually-link-to-case .box-infomation-case .box-infomation-case-item:last-child {
  border-right: inherit;
}.modal-compare-link-to-case .cell-popover-hover-wrapper {
  width: fit-content;
}.alert-box {
  display: flex;
  border-radius: 8px;
  padding: 16px;
  gap: 16px;
  align-items: center;
  display: flex;
  align-items: flex-start;
}
.alert-box.success {
  background: linear-gradient(180deg, #cfffdc 0%, #f9fcfe 100%);
  border: 0.5px solid #46c071;
}
.alert-box.success .alert-box-title {
  color: #04ac44 !important;
}
.alert-box.success .alert-box-icon {
  box-shadow: 0px 2px 8px 0px rgba(57, 205, 72, 0.2);
  border: 1px solid #ffffff;
  background-color: #fff;
}
.alert-box.warning {
  background: linear-gradient(180deg, #fff4eb 0%, #f9fcfe 100%);
  border: 0.5px solid var(--warning, #ffb545);
}
.alert-box.warning .alert-box-title {
  color: #ff8127 !important;
}
.alert-box.warning .alert-box-icon {
  box-shadow: 0px 2px 8px 0px rgba(255, 181, 69, 0.2);
  background-color: #fff;
}
.alert-box.error {
  background: linear-gradient(180deg, #ffe1e1 0%, #f9fcfe 100%);
  border: 0.5px solid #ff7893;
}
.alert-box.error .alert-box-title {
  color: #f3002f !important;
}
.alert-box.error .alert-box-icon {
  box-shadow: 0px 2px 8px 0px rgba(255, 37, 37, 0.2);
  border: 1px solid #ffffff;
  background-color: #fff;
}
.alert-box .alert-box-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alert-box .alert-box-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.alert-box .alert-box-content .alert-box-title {
  font-size: 16px;
  font-weight: 600;
}
.alert-box .alert-box-content .alert-box-message {
  color: #3f4254;
}.modal-request-link-case-success .cell-popover-hover-wrapper {
  width: fit-content;
}.box-request-organized {
  background: linear-gradient(90.05deg, #fff5e5 -3.11%, #ffffff 99.96%);
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.0784313725);
  border: 0.5px solid #ffb545;
  position: relative;
  border-radius: 8px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 16px;
}
.box-request-organized .body {
  padding: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  max-width: 50%;
  gap: 8px;
}
.box-request-organized .body .title {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #181c32;
}
.box-request-organized .body .description {
  color: #3f4254;
  font-size: 14px;
  line-height: 20px;
}
.box-request-organized .svg {
  position: absolute;
  right: 0;
  bottom: 0;
}