/* Add here all your CSS customizations */

/* Remove gap between top navigation bar and Account Profile header bar */
/* The .header has 60px height + 3px top border + 1px bottom border = 64px total */
/* But we want the page-header to sit flush against the bottom border, so subtract 4px */
html.fixed .page-header {
  top: 56px !important;
}

/* Past UL page spacing adjustments */
body[data-title="Past Ul Statements"] .past-ul-bottom-spacer {
    height: 240px;
}

/* Fix z-index issues for dropdowns in Past UI Statements table */
body[data-title="Past Ul Statements"] table.dataTable tbody tr {
    position: relative;
}

body[data-title="Past Ul Statements"] table.dataTable tbody td {
    position: relative;
}

/* Ensure select dropdowns and chosen containers appear above other rows */
body[data-title="Past Ul Statements"] .ul-statement-status-select,
body[data-title="Past Ul Statements"] .ul-statement-pay-method-select {
    position: relative;
    z-index: 10;
}

body[data-title="Past Ul Statements"] .ul-statement-status-select:focus,
body[data-title="Past Ul Statements"] .ul-statement-pay-method-select:focus {
    z-index: 1050;
}

body[data-title="Past Ul Statements"] .chosen-container {
    position: relative;
    z-index: 10;
}

body[data-title="Past Ul Statements"] .chosen-container-active {
    z-index: 1050;
}

body[data-title="Past Ul Statements"] .chosen-with-drop .chosen-drop {
    z-index: 1051;
}

/* Ensure table row with active dropdown is above other rows */
body[data-title="Past Ul Statements"] table.dataTable tbody tr:has(.chosen-container-active),
body[data-title="Past Ul Statements"] table.dataTable tbody tr:has(.ul-statement-status-select:focus),
body[data-title="Past Ul Statements"] table.dataTable tbody tr:has(.ul-statement-pay-method-select:focus) {
    position: relative;
    z-index: 1040;
}

/* Fallback: Class-based approach for browsers without :has() support */
body[data-title="Past Ul Statements"] table.dataTable tbody tr.dropdown-active {
    position: relative;
    z-index: 1040;
}

body[data-title="Past Ul Statements"] table.dataTable tbody td.dropdown-active {
    position: relative;
    z-index: 1040;
}

/* Dropzone Styles for Ticket Modal - Using custom class to avoid auto-discovery */
.ticket-dropzone-area {
    border: 2px dashed #dee2e6;
    border-radius: 0.25rem;
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    min-height: 150px;
}

.ticket-dropzone-area:hover {
    border-color: #007bff;
    background: #e7f3ff;
}

.ticket-dropzone-area .dz-message {
    margin: 0;
}

/* Dropzone preview styles */
.ticket-dropzone-area .dz-preview {
    display: inline-block;
    margin: 10px;
    position: relative;
}

.ticket-dropzone-area .dz-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
}

.ticket-dropzone-area .dz-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

.ticket-dropzone-area .dz-remove:hover {
    background: #c82333;
}

.ticket-dropzone-area .dz-success-mark,
.ticket-dropzone-area .dz-error-mark {
    display: none;
}

.ticket-dropzone-area .dz-details {
    padding: 10px;
    text-align: center;
}

.ticket-dropzone-area .dz-filename {
    font-size: 12px;
    word-break: break-all;
}

.ticket-dropzone-area .dz-size {
    font-size: 10px;
    color: #6c757d;
}

/* Attachment Card Styles for View Page */
.attachment-card {
    transition: transform 0.2s;
    cursor: pointer;
}

.attachment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Ticket Priority Badge Colors */
.priority-critical {
    color: #dc3545;
    font-weight: bold;
}

.priority-high {
    color: #fd7e14;
    font-weight: bold;
}

.priority-medium {
    color: #ffc107;
    font-weight: bold;
}

.priority-low {
    color: #28a745;
    font-weight: bold;
}


.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto;}
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; font-size:24px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }
.autocomplete-suggestion.acsmall {font-size:14px;z-index:9999999;}
/* MODAL */
.modal-content {
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    outline: 0 none;
    position: relative;
  }
  .modal-dialog {
    z-index: 2200;
    
  }
  
  .modal-dialog.modal-dan-big {
    max-width: 750px;
  }
  
  .modal-dialog.modal-dan-extra-big {
    max-width: 900px;
  }
  
  .modal-body {
    padding: 20px 30px 30px 30px;
  }
  .inmodal .modal-body {
    background: #f8fafb;
  }
  .inmodal .modal-header {
    padding: 30px 15px;
    text-align: center;
    display: block;
  }
  .animated.modal.fade .modal-dialog {
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
  .inmodal .modal-title {
    font-size: 26px;
  }
  .inmodal .modal-icon {
    font-size: 84px;
    color: #e2e3e3;
  }
  .modal-footer {
    margin-top: 0;
  }

  /* user menu settings */
.dropdowndan { 
  display: block;
  padding: 5px 16px;
  
  margin: 0;
  position: relative;
  cursor: pointer;
  
  background: #fff;
  font-size: 1em;
  color: #656565;
  font-weight: normal;
  -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -ms-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  transition: all 0.15s linear;
  
}
.dropdowndan:hover { color: #898989; }

.dropdowndan.open {
  background: #2589BD;
  color: #A5A1A1;
  z-index:1050;
}

.dropdowndan ul {
  position: absolute;
  top: 100%;
  left: -1px; /* move content -4px because of container left border */

  padding: 5px 0px;
  display: none;
  background: #fff;
  -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  list-style:none;
  z-index:1050;
}
.dropdowndan ul li { font-size: 0.9em; z-index:1050; }

.dropdowndan ul li.selected {
  background-color: #A5A1A1;
  z-index:1050;
}

.dropdowndan ul li.indented {
  padding-left:20px;
  z-index:1050;
}

.dropdowndan ul li a {
  text-decoration: none;
  display: block;
  color: #2589BD;
  padding: 7px 15px;
  z-index:1050;
}
.dropdowndan ul li a:hover {
  color: #4181a3;
  background: #CECCCC;
  z-index:1050;
}

.loan-section div.row {
  padding-left: 10px;
}


.ul_notes {
  border: 1px black solid;
  padding:5px;
  
  margin: 5px;
  margin-right:30px;
}

social-avatar {
  float: left;
  padding: 0;
}
.social-feed-separated .social-avatar img {
  width: 52px;
  height: 52px;
  border: 1px solid #e7eaec;
}
.social-feed-separated .social-feed-box .social-avatar {
  padding: 15px 15px 0 15px;
  float: none;
}
.social-feed-box {
  /*padding: 15px;*/
  border: 1px solid #e7eaec;
  background: #fff;
  margin-bottom: 15px;
}
.article .social-feed-box {
  margin-bottom: 0;
  border-bottom: none;
}
.article .social-feed-box:last-child {
  margin-bottom: 0;
  border-bottom: 1px solid #e7eaec;
}
.article .social-feed-box p {
  font-size: 13px;
  line-height: 18px;
}
.social-action {
  margin: 15px;
}
.social-avatar {
  padding: 15px 15px 0 15px;
}
.social-comment .social-comment {
  margin-left: 45px;
}
.social-avatar img {
  height: 40px;
  width: 40px;
  margin-right: 10px;
}
.social-avatar .media-body a {
  font-size: 14px;
  display: block;
}
.social-body {
  padding: 15px;
}
.social-body img {
  margin-bottom: 10px;
}
.social-footer {
  border-top: 1px solid #e7eaec;
  padding: 10px 15px;
  background: #f9f9f9;
}
.social-footer .social-comment img {
  width: 32px;
  margin-right: 10px;
}
.social-comment:first-child {
  margin-top: 0;
}
.social-comment {
  margin-top: 15px;
}
.social-comment textarea {
  font-size: 12px;
}
/* Vote list */
.vote-item {
  padding: 20px 25px;
  background: #ffffff;
  border-top: 1px solid #e7eaec;
}
.vote-item:last-child {
  border-bottom: 1px solid #e7eaec;
}
.vote-item:hover {
  background: #fbfbfb;
}
.vote-actions {
  float: left;
  width: 30px;
  margin-right: 15px;
  text-align: center;
}
.vote-actions a {
  color: #003B5C;
  font-weight: 600;
}
.vote-actions {
  font-weight: 600;
}
.vote-title {
  display: block;
  color: inherit;
  font-size: 18px;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 2px;
}
.vote-title:hover,
.vote-title:focus {
  color: inherit;
}
.vote-info,
.vote-title {
  margin-left: 45px;
}
.vote-info,
.vote-info a {
  color: #b4b6b8;
  font-size: 12px;
}
.vote-info a {
  margin-right: 10px;
}
.vote-info a:hover {
  color: #003B5C;
}
.vote-icon {
  text-align: right;
  font-size: 38px;
  display: block;
  color: #e8e9ea;
}
.vote-icon.active {
  color: #003B5C;
}
body.body-small .vote-icon {
  display: none;
}
.lightBoxGallery {
  text-align: center;
}
.lightBoxGallery img {
  margin: 5px;
}
#small-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}
#small-chat .badge {
  position: absolute;
  top: -3px;
  right: -4px;
}
.open-small-chat {
  height: 38px;
  width: 38px;
  display: block;
  background: #003B5C;
  padding: 9px 8px;
  text-align: center;
  color: #fff;
  border-radius: 50%;
}
.open-small-chat:hover {
  color: white;
  background: #003B5C;
}
.small-chat-box {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 75px;
  background: #fff;
  border: 1px solid #e7eaec;
  width: 230px;
  height: 320px;
  border-radius: 4px;
}
.small-chat-box.ng-small-chat {
  display: block;
}
.body-small .small-chat-box {
  bottom: 70px;
  right: 20px;
}
.small-chat-box.active {
  display: block;
}
.small-chat-box .heading {
  background: #2F4050;
  padding: 8px 15px;
  font-weight: bold;
  color: #fff;
}
.small-chat-box .chat-date {
  opacity: 0.6;
  font-size: 10px;
  font-weight: normal;
}
.small-chat-box .content {
  padding: 15px 15px;
}
.small-chat-box .content .author-name {
  font-weight: bold;
  margin-bottom: 3px;
  font-size: 11px;
}
.small-chat-box .content > div {
  padding-bottom: 20px;
}
.small-chat-box .content .chat-message {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 14px;
  max-width: 80%;
  background: #f3f3f4;
  margin-bottom: 10px;
}
.small-chat-box .content .chat-message.active {
  background: #003B5C;
  color: #fff;
}
.small-chat-box .content .left {
  text-align: left;
  clear: both;
}
.small-chat-box .content .left .chat-message {
  float: left;
}
.small-chat-box .content .right {
  text-align: right;
  clear: both;
}
.small-chat-box .content .right .chat-message {
  float: right;
}
.small-chat-box .form-chat {
  padding: 10px 10px;
}

/* Chat */
.chat-activity-list .chat-element {
  border-bottom: 1px solid #e7eaec;
}
.chat-element:first-child {
  margin-top: 0;
}
.chat-element {
  padding-bottom: 15px;
}
.chat-element,
.chat-element .media {
  margin-top: 15px;
}
.chat-element,
.media-body {
  overflow: hidden;
}
.chat-element .media-body {
  display: block;
  width: auto;
}
.chat-element > .float-left {
  margin-right: 10px;
}
.chat-element img.rounded-circles,
.dropdown-messages-box img.rounded-circles {
  width: 38px;
  height: 38px;
}


.chat-element .well {
  border: 1px solid #e7eaec;
  box-shadow: none;
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 10px 20px;
  font-size: 11px;
  line-height: 16px;
}
.chat-element .actions {
  margin-top: 10px;
}
.chat-element .photos {
  margin: 10px 0;
}
.right.chat-element > .float-right {
  margin-left: 10px;
}
.chat-photo {
  max-height: 180px;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 10px;
  margin-bottom: 10px;
}
.chat {
  margin: 0;
  padding: 0;
  list-style: none;
}
.chat li {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #B3A9A9;
}
.chat li.left .chat-body {
  margin-left: 60px;
}
.chat li.right .chat-body {
  margin-right: 60px;
}
.chat li .chat-body p {
  margin: 0;
  color: #777777;
}
.panel .slidedown .glyphicon,
.chat .glyphicon {
  margin-right: 5px;
}
.chat-panel .panel-body {
  height: 350px;
  overflow-y: scroll;
}
/* LIST GROUP */
a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
  background-color: #003B5C;
  border-color: #003B5C;
  color: #FFFFFF;
  z-index: 2;
}
.list-group-item-heading {
  margin-top: 10px;
}
.list-group-item-text {
  margin: 0 0 10px;
  color: inherit;
  font-size: 12px;
  line-height: inherit;
}
.no-padding .list-group-item {
  border-left: none;
  border-right: none;
  border-bottom: none;
}
.no-padding .list-group-item:first-child {
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-top: none;
}
.no-padding .list-group {
  margin-bottom: 0;
}
.list-group-item {
  background-color: inherit;
  border: 1px solid #e7eaec;
  display: block;
  margin-bottom: -1px;
  padding: 10px 15px;
  position: relative;
}
.elements-list .list-group-item {
  border-left: none;
  border-right: none;
  padding: 0;
}
.elements-list .list-group-item:first-child {
  border-left: none;
  border-right: none;
  border-top: none !important;
}
.elements-list .list-group {
  margin-bottom: 0;
}
.elements-list a {
  color: inherit;
}
.elements-list .list-group-item a.active,
.elements-list .list-group-item a:hover {
  background: #f3f3f4;
  color: inherit;
  border-color: #e7eaec;
  border-radius: 0;
}
.elements-list li.active {
  transition: none;
}
.elements-list .nav-link {
  padding: 15px 25px;
}
.element-detail-box {
  padding: 25px;
}

/* PROFILE */
.profile-content {
  border-top: none !important;
}
.profile-stats {
  margin-right: 10px;
}
.profile-image {
  width: 120px;
  float: left;
}
.profile-image img {
  width: 96px;
  height: 96px;
}
.profile-info {
  margin-left: 120px;
}
.feed-activity-list .feed-element {
  border-bottom: 1px solid #e7eaec;
}
.feed-element:first-child {
  margin-top: 0;
}
.feed-element {
  padding: 15px 0;
  background: #ffffff;
}
.feed-element,
.feed-element .media {
  margin-top: 15px;
}
.feed-element,
.media-body {
  overflow: hidden;
}
.feed-element > a img {
  margin-right: 10px;
}
.feed-element img.rounded-circles,
.dropdown-messages-box img.rounded-circles {
  width: 38px;
  height: 38px;
}

.comment-keeper img.rounded-circles {
  width: 26px;
  height: 26px;
}

.comment-img img.rounded-circles {
  width:20px;
  height:20px;
}

.acomment {
  padding-bottom:10px;
}

.comment-full-name {
  font-weight:bold;
  color: #003B5C;
  margin-right:4px;
}

.comment-keeper {
  margin-left:50px;
  max-width: 20px;
}

.comment-img {
  margin-left:50px;
  max-width: 20px;
  margin-right:10px;
  margin-top:4px;
}

.comment-display {
  padding:5px;
  border-radius: 12px;
  border: 1px solid #f5f5f5;
  background: #f5f5f5;
  font-size:11px;
}

.comment-form {
   position: relative;
    z-index: 1;
    
}

.comment-input {
    border-radius: 12px;
    border: 1px solid #CECCCC;
    background: #f5f5f5;
    width: 100%;
    min-height: 28px; 
    font-size: 12px;
    padding-left:20px;
    padding-right:20px;
    padding-top:3px;
    color:#A5A1A1;
}

[contenteditable=true]:empty:before {
  content: attr(placeholder);
  display: block; /* For Firefox */
}

.submit-comment {
    z-index: 2;
    position: absolute;
    top: 3px;
    right: 30px;
}

a.submit-comment {
  color: #CECCCC;
}

a.submit-comment:hover {
  color:#A5A1A1;
}

@media (max-width: 768px) {
  .row.acomment {
    margin-left: 5px;
    margin-right: 5px;
  } 
  
  .comment-full-name {
    display:block;
  }
  
  .row.comment {
    margin-left: 5px;
    margin-right: 5px;
  } 
  
  .comment-keeper {
    margin-left:0px;
  }
  
  .comment-form {
    width:220px;
    margin-right:0px;
    padding-right:3px;
  }
  
  .comment-input {
    margin-right: 3px;
    margin-left: 3px;
  }
  
  .submit-comment {
    margin-right:3px;
  }
  
  .comment-img {
    margin-left: 0px;
  }
  
  .comment-display {
    width:215px;
  }
}

.feed-element .well {
  border-bottom: 1px solid #e7eaec;

  box-shadow: none;
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 16px;
}
.modern-activity-feed .feed-element {
  border-bottom: none;
  padding: 20px 0;
  background: transparent;
}

.modern-activity-feed .activity-compose {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #f7fafc;
  margin-bottom: 20px;
}

.modern-activity-feed .activity-compose-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d3dae3;
  box-shadow: none;
}

.modern-activity-feed .activity-compose-main {
  flex: 1;
}

.modern-activity-feed .activity-compose-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.modern-activity-feed .activity-compose-title {
  font-weight: 600;
  font-size: 15px;
  color: #2f3a4a;
}

.modern-activity-feed .activity-compose-hint {
  font-size: 12px;
  color: #6c7a89;
}

.modern-activity-feed .activity-input-wrapper {
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px;
}

.modern-activity-feed .activity-input-wrapper .note-editor.note-frame {
  border: none;
  box-shadow: none;
  background: transparent;
}

.modern-activity-feed .activity-input-wrapper .note-editor .note-toolbar {
  background: #f4f7fb;
  border: 1px solid #e3e9f0;
  border-radius: 8px 8px 0 0;
  margin: -12px -12px 10px;
  padding: 6px 8px;
}

.modern-activity-feed .activity-input-wrapper .note-editor .note-editable {
  background: transparent;
  min-height: 120px;
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
  padding: 6px 0;
}

.modern-activity-feed .activity-compose-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.modern-activity-feed .activity-compose-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modern-activity-feed .activity-compose-meta {
  font-size: 12px;
  color: #8492a6;
}

.modern-activity-feed .activity-compose-attach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2c6da4;
  font-size: 13px;
  text-decoration: none;
}

.modern-activity-feed .activity-compose-attach i {
  font-size: 13px;
}

.modern-activity-feed .activity-compose-attach:hover {
  color: #1f4f78;
  text-decoration: none;
}

.modern-activity-feed .activity-compose-submit {
  text-align: right;
}

.modern-activity-feed .activity-compose-submit .btn {
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
}

.modern-activity-feed .activity-attachment-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.modern-activity-feed .activity-attachment-thumb {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dfe3ea;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

.modern-activity-feed .activity-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-activity-feed .activity-attachment-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modern-activity-feed .activity-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #e7eaec;
}

.modern-activity-feed .activity-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modern-activity-feed .activity-card-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d5dce5;
  box-shadow: none;
}

.modern-activity-feed .activity-card-body {
  flex: 1;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dfe3ea;
  padding: 16px 18px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.modern-activity-feed .activity-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.modern-activity-feed .activity-card-title {
  font-weight: 600;
  color: #2f3a4a;
  font-size: 14px;
}

.modern-activity-feed .activity-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 12px;
  color: #7a8696;
}

.modern-activity-feed .activity-card-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8b4c4;
}

.modern-activity-feed .activity-card-timestamp {
  font-weight: 500;
  color: #58667a;
}

.modern-activity-feed .activity-card-subtext {
  margin-top: 2px;
  font-size: 12px;
  color: #8e9aa7;
}

.modern-activity-feed .activity-card-actions a {
  color: #98a3b3;
  margin-left: 8px;
  transition: color 0.15s ease;
}

.modern-activity-feed .activity-card-actions a:hover {
  color: #2f3a4a;
}

.modern-activity-feed .activity-card-content {
  margin-top: 12px;
  color: #344155;
  font-size: 13px;
  line-height: 1.6;
}

.modern-activity-feed .activity-card-content p {
  margin-bottom: 10px;
}

.modern-activity-feed .activity-card-content p:last-child {
  margin-bottom: 0;
}

.modern-activity-feed .activity-card-content ul,
.modern-activity-feed .activity-card-content ol {
  padding-left: 18px;
}

.modern-activity-feed .activity-card-content .activity-attachments {
  margin-top: 10px;
}

.modern-activity-feed .activity-card-content .activity-attachment img {
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

.modern-activity-feed .replies-section {
  margin-top: 14px;
  border-top: 1px solid #e7eaec;
  padding-top: 12px;
}

.modern-activity-feed .activity-reply {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}

.modern-activity-feed .activity-reply-avatar img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d5dce5;
  box-shadow: none;
}

.modern-activity-feed .activity-reply-body {
  flex: 1;
}

.modern-activity-feed .activity-reply-bubble {
  background: #f5f7fa;
  border-radius: 12px;
  border: 1px solid #e1e7ee;
  padding: 8px 12px;
}

.modern-activity-feed .activity-reply-bubble:hover {
  box-shadow: none;
  border-color: #d3dae4;
}

.modern-activity-feed .activity-reply-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.modern-activity-feed .activity-reply-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #56616f;
}

.modern-activity-feed .activity-reply-name {
  font-weight: 600;
  color: #2f3a4a;
}

.modern-activity-feed .activity-reply-time {
  color: #8e9aa7;
}

.modern-activity-feed .activity-reply-text {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.55;
  word-break: break-word;
}

.modern-activity-feed .activity-reply-delete {
  border: none;
  background: transparent;
  color: #a0a9b8;
  padding: 0;
  line-height: 1;
  transition: color 0.15s ease;
}

.modern-activity-feed .activity-reply-delete:hover {
  color: #4a5563;
}

.modern-activity-feed .activity-reply-input {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.modern-activity-feed .activity-reply-input .activity-reply-avatar img {
  width: 32px;
  height: 32px;
  border: 1px solid #d5dce5;
}

.modern-activity-feed .activity-reply-form textarea {
  width: 100%;
  resize: none;
  min-height: 38px;
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: none;
  color: #334155;
}

.modern-activity-feed .activity-reply-form textarea::placeholder {
  color: #9aa6b5;
}

.modern-activity-feed .activity-reply-form textarea:focus {
  background: #ffffff;
  border-color: #1ab394;
  box-shadow: 0 0 0 2px rgba(26, 179, 148, 0.15);
  outline: none;
}

.modern-activity-feed .activity-reply-toolbar .btn {
  padding-inline: 14px;
}

.modern-activity-feed .emoji-picker-wrapper {
  position: relative;
}

.modern-activity-feed .emoji-icon {
  font-size: 18px;
}

.modern-activity-feed .activity-emoji-panel {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  background: #fff;
  border: 1px solid #dbe4f3;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  z-index: 30;
}

.modern-activity-feed .activity-emoji-panel.show {
  display: flex;
}

.modern-activity-feed .activity-emoji-panel button {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.modern-activity-feed .activity-emoji-panel button:hover {
  background: #e2e8f0;
}
.feed-element .actions {
  margin-top: 10px;
}
.feed-element .photos {
  margin: 10px 0;
}
.dropdown-messages-box .dropdown-item:focus,
.dropdown-messages-box .dropdown-item:hover {
  background-color: inherit;
}
.feed-photo {
  max-height: 180px;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 10px;
  margin-bottom: 10px;
}
.file-list li {
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 2px;
  border: 1px solid #e7eaec;
  margin-bottom: 5px;
}
.file-list li a {
  color: inherit;
}
.file-list li a:hover {
  color: #003B5C;
}
.user-friends img {
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
  margin-right: 5px;
}

#header_table > tbody> tr > td > div {
  margin-top:4px;
}

.tagDrop {
  overflow-x: auto;
  overflow-y: hidden;
  margin-right:4px;
  line-height:13px;
  padding-top:3px;
  
}

.tagDrop > .label {
  margin-top:2px;
}

.tagContainer {
  background:#0776B2;
  color:#fff;
  padding:7px;
  border:1px solid #003B5C;
  border-radius:5px;
  position:absolute;
  max-height:170px;
  display:none;
  z-index: 345456456423416 !important;
  
}

.tagContent {
  max-height:150px;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: nowrap;
  margin:3px;
  padding: 3px;
  line-height:25px;
}

.tagCloser {
  position:absolute;
  top: 8px;
  left: 8px;
}

.tagContainer:before{
  content:'';
  height:3px;
  width:0;
  border:7px solid transparent;
  border-bottom-color:#0776B2;
  position:absolute;
  top:-16px;
  left:14px;
  z-index:3px;
}

.tagContent a{
  color:#fff;
  text-decoration:none;
}

.tagContent a:hover {
  color: #d6d6d6;
}

.activitySubmit {
  float:right;
  margin-top:10px;
  
}

.infoBoxDan {
  background-color: #2589BD;
  color: white;
  text-align:center;
}

.infoBoxDan a{
  color: #CECCCC;
}

.infoBoxDan a:hover{
  color: #FEFDFD;
  text-decoration:underline;
}

.feed-activity-header {
  margin-top:30px;
}

.media-body {
  margin-left:50px;
}

.editActivity,
.deleteActivity {
  color:#CECCCC;
}

.editActivity:hover,
.deleteActivity:hover {
  color:#A5A1A1;
}

.editActivityButtonSpan {
  float:right;
  margin-bottom:20px;
  padding:2px;
}

.noBorder {
  border:none;
}

.label > i {
  font-size:12px;
}

.tagRow > .label {
  margin-bottom:6px;
  padding-bottom:5px;
  display:inline;
  word-wrap: normal;
  display: inline-block;
  font-size:14px;
}

.tagRow {
  word-wrap: normal;
  display: inline-block;
  width:100%;
}


input.danSmall {
  height:20px !important;
}

.media-body-dan {
  margin-left: 10px;
}

.well.well-dan {
  padding-right: 0px;
}

table > tbody > tr > td.td_Completed {
  background-color: #003B5C;
  color:white;
}

table > tbody > tr > td.td_Completed a {
  color:white;
}

table > tbody > tr > td.td_Canceled {
  background-color: #000000;
  color:white;
}

table > tbody > tr > td.td_Canceled a {
  color:white;
}

table > tbody > tr > td.td_Tentative {
  background-color: #E2F9C6;
  color: black;
}

table > tbody > tr > td.td_Tentative a {
  color: black;
}

table > tbody > tr > td.td_Tentative a.link {
  color:#337ab7;
  text-decoration: underline;
}

table > tbody > tr > td.td_Tentative a.link:hover {
  color:#1266AB;
}

table > tbody > tr > td.td_Confirmed {
  background-color: #78BE20;
  color: black;
}



table > tbody > tr > td.td_HH {
  background-color: #C8E3F2;
  color: black;
}

table > tbody > tr > td.td_Confirmed a {
  color: black;
}

table > tbody > tr > td.td_Confirmed a.link {
  color:#337ab7;
  text-decoration: underline;
}
table > tbody > tr > td.td_Confirmed a.link:hover {
  color:#1266AB;
}

table > tbody > tr > td.td_NA {
  background-color:#676a6c;
}

.tableFixHead {
  overflow-y: auto;
  height: 635px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.tableFixHead > table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.tableFixHead > table > thead > tr > th,
.tableFixHead > table > tbody > tr > td {
  padding: 8px 16px;
  box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  word-wrap:normal;
}

.tableFixHead th {
  position: sticky;
  top: 0;
  background: #eee;
}

.sticky10 th {
  position: sticky;
  top: 0;
  background: #eee;
}

/* user menu settings */
.dropdowndan { 
  display: block;
  padding: 5px 16px;
  
  margin: 0;
  position: relative;
  cursor: pointer;
  
  background: #fff;
  
  color: #656565;
  font-weight: normal;
  -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -ms-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  transition: all 0.15s linear;
  
}
.dropdowndan:hover { color: #898989; }

.dropdowndan.open {
  background: #2589BD;
  color: #A5A1A1;
  z-index:1050;
}

.dropdowndan ul {
  position: absolute;
  top: 100%;
  left: -1px; /* move content -4px because of container left border */

  padding: 5px 0px;
  display: none;
  background: #fff;
  -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  list-style:none;
  z-index:1050;
}
.dropdowndan ul li { font-size: 0.9em; z-index:1050; }

.dropdowndan ul li.selected {
  background-color: #A5A1A1;
  z-index:6;
}

.dropdowndan ul li.indented {
  padding-left:20px;
  z-index:6;
}

.dropdowndan ul li a { 
  text-decoration: none;
  display: block;
  color: #2589BD;
  padding: 0px 15px;
  margin-top:0px;
  z-index:6;
  font-size:1em;
  width: inherit !important;
  text-align:left !important;
}
.dropdowndan ul li a:hover {
  color: #4181a3;
  background: #CECCCC;
  z-index:6;
}

.recruitTop {
  margin-top:-30px;
  margin-bottom:10px;
}

.backnext {
  margin-top:-5px;
}

.noClose {
  text-align: left;
}

.noClose input {
  width: 180px;
  border:solid 2px #2589BD;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #d6d6d6;
  opacity: 1; /* Firefox */
}

.starRating a {
  color:#EDAE49;
}
.starRating a:hover {
  color:#FFC970;
}

.table-topper {
  width:100%;
  border:solid 1px black;
  
  min-height:60px;
  
  color:#CECCCC;
  padding-top:10px;

}

@media (max-width: 768px) {
  .table-topper {
    padding-bottom:16px;
  }
}

@media (min-width: 769px) {
  .table-topper {
    margin-bottom:0px;
  }
}


#filters {
  font-size:22px;
}

.bg-blue {
  background-color:#003B5C;
}

.bg-green {
  background-color:#2589BD;
}

#addAllToBatch {
  color:#78BE20;
}

#cancelFilters {
  color:#E53D00;
}  

#saveFilters {
  color:#CECCCC;
}  


.table-main {
  padding-left:0px;
  padding-right:0px;
}

.recruitTable {
  margin-top:10px;
}

.agentTable {
  margin-top:10px;
}

.quickPreview {
  float:right;
  max-height:400px;
}

td.atwho-inserted > a {
  background-color:blue;
}

.PastDue {
  color: #E53D00;
}

.ComingDue {
  color: #78BE20;
  font-weight:bold;
}

.noteList {
  overflow:auto;
  height:300px;
}

.emailBatch {
  color:#78BE20;
}

.printBatch {
  color:#2589BD;
}

.clearBatch {
  color:#A40E4C;
}

.pdfBatch {
  color:#CECCCC;
}

.xlsBatch {
  color:#CECCCC;
}

.conditionBlock {
  border: 1px solid black;
  background-color:white;
  margin-left:40px;
  margin-right:40px;
  padding:20px;
}

a.singleEmail {
  color: #337ab7 !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
    top: 4px;
    left: 4px;
    height: 12px;
    width: 12px;
    display: block;
    position: absolute;
    color: black;
    border: 2px solid white;
    border-radius: 12px;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: 'Courier New', Courier, monospace;
    line-height: 12px;
    content: '+';
    background-color: #CECCCC;
}

#logospan {
  float:right;
}

@media (max-width: 767px) {

  #logospan {
    display:none;
  }
}

#smallTitle {
  margin-left:-25px;
  margin-right:-25px;
  margin-top:-22px;
  margin-bottom:30px;
  background-color:#003B5C;
}

#smallTitleSpan {
  vertical-align:text-bottom;
  height:160px;
  color:#f5f5f5;
  font-size:24px;
  padding-left:25px;
  line-height:76px;
}

#currentFilters {
  margin-top: -4px;
}

@media (max-width: 767px) {
  #currentFilters {
    margin-top:8px;
  }
}

.managementTags {
  margin-top:6px;
}

.colspacePlease td
{
    padding:0 10px;
}

.twocolumn {
   -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    list-style-type:none;
}

.sms_dropdown {
  list-style:none;
  max-height:300px;
  width:inherit;
  white-space:normal;
  overflow:auto;
}

.sms_dropdown:focus,
.sms_dropdown:hover {
  background:transparent;
}

.sms_latest {
  border-radius: 5px;
  margin-top:4px;
  margin-bottom:4px;
  margin-left:-20px;
  padding:10px;
  padding-left:20px;
  cursor:pointer;
}

.sms_latest:focus,
.sms_latest:hover {
  background-color: #CECCCC;
}

.sms_top {
  margin-left:-20px;
  padding:10px;
  padding-left:20px;
  font-size:18px;
  font-weight:bold;
  border-bottom:1px solid #CECCCC;
}

.sms_menu {
  font-size:12px;
  float:right;
  padding:0px;
  position:relative;
}

.sms_menu a {
  padding:0px !important;
  margin-bottom:-60px;
  line-height:2.4em;
}

.smsYes {
  position:absolute;
  margin-left:-10px;
  margin-top:-7px;
}


#sms_window {
    position: fixed;
    bottom: 0;
    right:40px;
    width: 300px;
    height:400px;
    background-color:white;
    z-index:1001;
    display:none;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    border: solid 1px #ededed;
    overflow:hidden;
}

.sms_window_top {
  margin:0;
  border-bottom: solid 2px #ededed;
  min-height:60px;
  max-height:60px;
  padding:5px;
  display:flex;
  width:300px;
}

.sms_window_top_left {
  width:250px;
  display: flex;
  border-radius:10px;
  padding:5px;
  float:left;
  flex:1;
}

.sms_window_top_left:hover,
.sms_window_top_left:focus {
  background-color: #ededed;
}

.sms_window_top_left_img {
  width:50px;
  flex: 1;
}

.sms_window_top_left_name {
  width:190px;
  padding-top:4px;
  padding-bottom:6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size:18px;
  font-weight:bold;
  
}

.sms_window_top_right {
  width:35px;
  float:right;
  padding-top:10px;
  padding-bottom:8px;
  padding-right:5px;
  text-align:right;
  font-size:18px;
}

.sms_window_middle {
  height: 280px;
  margin:0;
  padding-bottom:15px;
  padding:5px;
  width:300px;
  overflow:auto;
}

.sms_window_buffer {
  height: 20px;
}

.sms_window_bottom {
  margin:0;
  color:#003B5C;
  min-height:40px;
  padding:5px;
  display:flex;
  width:300px;
  border-top:1px solid gray;
  overflow:hidden;
}

.sms_window_bottom .emoji-wysiwyg-editor {
  width: 285px;
  margin-bottom:15px;
  margin-top:-10px;
  border-radius:15px;
  padding-top:7px;
  padding-left:20px;
}

.sms_window_bottom .emoji-wysiwyg-editor:focus {
    outline: 0px solid transparent;
}

.sms_window_bottom .emoji-picker-icon {
  right:15px;
  bottom: -5px;
}

.sms_window_bottom .emoji-menu {
  bottom:42px;
  
}

.sms_message {
  width:270px;
  margin:10px;
  display:flex;
  
}

.sms_from > .the_time {
  float:right;
}

.the_time {
  width:30px;
  margin:5px;
  font-size:0.8em;
}

.sms_to > .the_gap {
  width:30px;
  flex:1;
}

.sms_to > .the_time {
  
  flex:2;
}

.sms_from > .the_image {
  float:left;
  margin:0px;
  width:24px;
}

.the_text {
  width:150px;
  border-radius:10px;
  margin:5px;
  padding-left:10px;
  padding-right:10px;
  padding-top:5px;
  padding-bottom:5px;
}

.the_media {
  width:160px;
  padding:10px;
}

.sms_from > .the_text {
  background-color:#ededed;
}

.sms_to > .the_text {
  float:right;
  background-color:#003B5C;
  color:#ededed;
}

.dropdown-space {
  margin-top:5px;
  margin-bottom:5px;
  cursor:pointer;
}

.dropdown-space:hover {
  background-color: #CECCCC;
}

.saleResultBlock {
  background-color:white;
  border:1px solid #CECCCC;
  margin:25px 40px;
  padding:10px;
}


.table-sstmail {
  width:100%;
}

.table-sstmail > tbody > tr > td {
  padding:10px;
  margin:10px;
  
}

.table-sstmail > thead > tr > th {
  text-align:center;
  
}

.greenBorder {
  border:1px solid #78BE20;
  -webkit-transition : border 2000ms ease-out;
  -moz-transition : border 2000ms ease-out;
  -o-transition : border 2000ms ease-out;
  transition : border 2000ms ease-out;
}

.greenBorder.noBorder {
  border: 1px solid #e5e6e7;
  
}

.chosen-container.chosen-container-single {
    width: 100% !important; 
}

.hubdocMenu {
  min-height:200px;
  font-size:16px;
  border-right:1px grey solid;
}

.hubdocMenu ul {
  list-style-type: none;
}

.hubdocMenu ul li {
  margin-bottom:10px;
}

.hubdocMenu ul li:first-child {
  margin-top:10px;
}

.hubdocSelected>span {
  background-color:#CECCCC;
}

.hubdocMenu ul li>span {
  margin-left:-7px;
  margin-right:-7px;
  padding-left:7px;
  padding-right:7px;
}

.hubdocMenu ul li>span:hover {
  background-color:#FEFDFD;
  cursor: pointer;
}

.displayPro {
  font-size:18px;
}

th.dt-center, td.dt-center { text-align: center; }

.degree45 {
    font-weight:bold;
    color:#E53D00;
    display:inline-block;
}

#commissionsAgent {
  font-weight:bold;
  color:#78BE20;
  cursor:pointer;
}

#commissionsAgent:hover {
  color:#2589BD;
}

.search_container {
  margin: 200px auto;
  margin-top:20px;
  margin-bottom:20px;
  width: 500px;
  height: 60px;
}

/* The point of this tutorial is here */
.search_form {
  display: flex;
  flex-direction: row;
}
.search-field {
  width: 100%;
  padding: 10px 35px 10px 15px;
  border: none;
  border-radius: 100px;
  outline: none;
}

.search-button {
  background: transparent;
  border: none;
  outline: none;
  margin-left: -33px;
}

.search-button img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.danstrong {
  font-weight:bold;
}

.danweak { 
  font-weight:none;
}

.profile_container {
  position: relative;
  text-align: center;
  color: white;
}

.profile_top-right {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size:1.8em;
}


/* Centered text */
.profile_centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spinner_image_rotate {
  transform: rotate(180deg);
  transition-property: transform;
  transition-duration: 1s;
}

.spinner_image_unrotate {
  transform: rotate(0deg);
  transition-property: transform;
  transition-duration: 1s;
}

.myToolTip {
  color:black;
}


.white-tooltip + .tooltip.top > .tooltip-arrow {background-color: white;}

.float-left {
  float:left !important;
}

.float-right {
  float:right !important;
}

.rounded-circles {
  border-radius: 50% !important;
}

.pointer {
  cursor: pointer;
}

.d-none {
  display: none !important;
}


.copy-icon {
  transition: transform 0.3s, color 0.3s;
}

.copy-animation {
  color: yellow;
  transform: scale(1.2); /* Make it slightly larger */
  animation: pulse 0.6s ease-in-out; /* Optional pulse effect */
}

/* Keyframes for pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    color: inherit; /* Original color */
  }
  50% {
    transform: scale(1.2);
    color: yellow;
  }
  100% {
    transform: scale(1);
    color: inherit;
  }
}

.user-info-grid {
    display: grid;
    gap: 1.8rem;  /* Slightly reduced gap */
    font-size: 1rem;  /* Reduced base font size */
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
}

.info-row label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    font-size: 1rem;  /* Reduced label font size */
}

.info-row .info-value {
    color: #666;
    font-size: 1rem;  /* Reduced value font size */
}

#userProfileCard .card-body {
    padding: 1.8rem;  /* Slightly reduced padding */
}

#userProfileCard .card-header {
    background-color: #fff;
    border-bottom: 1px solid #e7eaec;
}

#userProfileCard .card-title {
    font-size: 1.2rem;  /* Reduced title font size */
    color: #333;
}


/* Mention dropdown styles */
.mention-dropdown {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10000;
    min-width: 200px;
}

.mention-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.mention-item:hover {
    background-color: #f5f5f5;
}

.mention-item:last-child {
    border-bottom: none;
}

/* Style for @mentions in content */
.anAt {
    color: #0088cc;
    font-weight: 500;
    cursor: pointer;
}

/* Summernote adjustments for comments */
.comment-form .note-editor {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-form .note-editor.note-frame {
    margin-bottom: 0;
}

.comment-form .note-toolbar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}



.autocomplete-suggestions {
    border: 1px solid #ccc;
    background: #fff;
    overflow: auto;
    max-height: 300px;
    font-size: 12px !important;  /* Make font smaller */
}

.autocomplete-suggestion {
    padding: 8px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;  /* Add ellipsis for long text */
    cursor: pointer;
    font-size: 12px !important;  /* Ensure font size is applied */
    line-height: 1.2;  /* Tighter line height */
}

.autocomplete-suggestion:hover {
    background-color: #f5f5f5;
}

.autocomplete-selected {
    background-color: #e9e9e9;
}

/* Make the input box match */
#accountSearch {
    font-size: 13px;
}

#custom_account_number {
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

/* Ensure SweetAlert dialogs stay above all modal layers */
.swal2-container {
    z-index: 200000 !important;
}

/* Also ensure the error modal has proper z-index */
.modal.error-modal,
.modal-backdrop.error-modal-backdrop {
    z-index: 9999 !important;
}

/* If using a custom error modal */
#errorModal {
    z-index: 9999 !important;
}

/* Compact Activity Reply Styles */
.modern-activity-feed .reply-input-wrapper {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.modern-activity-feed .reply-textarea {
    border: 1px solid #d9e2ec !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    min-height: 34px !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-size: 13px !important;
    color: #334155 !important;
}

.modern-activity-feed .reply-textarea:focus {
    border-color: #1ab394 !important;
    box-shadow: 0 0 0 2px rgba(26, 179, 148, 0.15) !important;
}

.modern-activity-feed .single-reply {
    background: transparent !important;
    border-left: none !important;
    padding-left: 0 !important;
    border-radius: 0 !important;
}

.modern-activity-feed .single-reply:hover {
    border-left: none !important;
}


.modern-activity-feed .replies-list {
    margin-bottom: 0.75rem;
}

.modern-activity-feed .replies-section {
    margin-left: 0;
    margin-top: 14px;
}

/* Make the main activity content area more distinct */
.modern-activity-feed .activity-content {
    background: #f9f9f9;
    padding: 8px 12px !important;
    border-radius: 8px;
    margin: 8px 0;
    font-size: 13px;
}

/* Tighten up the overall feed */
.modern-activity-feed .feed-element {
    padding: 12px 0 !important;
}

.modern-activity-feed .media-body {
    font-size: 13px;
}


/* Header notifications dropdown */
.header .notifications.notifications-messages {
    gap: 0.75rem;
}

.notifications .notification-menu .content {
    max-height: 18rem;
    overflow-y: auto;
}

.notifications .notification-menu .notification-item {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: background-color 0.2s ease;
}

.notifications .notification-menu .notification-item + .notification-item {
    margin-top: 0.25rem;
}

.notifications .notification-menu .notification-item a {
    color: inherit;
}

.notifications .notification-menu .notification-item a:hover,
.notifications .notification-menu .notification-item a:focus {
    background-color: rgba(0, 0, 0, 0.03);
    outline: none;
}

.notifications .notification-menu .notification-item-icon {
    font-size: 1.25rem;
    line-height: 1;
    width: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notifications .notification-menu .message-title {
    font-weight: 600;
}

.notifications .notification-menu .message-time {
    font-size: 0.75rem;
}

.header .header-right {
    display: flex;
    align-items: center;
}

.header .header-right .notifications {
    margin: 0 1rem 0 0;
}

.header .header-right .userbox {
    margin-top: 0;
}

.code-notification-menu .code-notification-link .from {
    color: #ACACAC;
    display: block;
    font-size: 0.7rem;
    line-height: 1.1rem;
}

.code-notification-menu .code-notification-link .message {
    color: #000011;
}
/* =============================================================================
   MODERN UI ENHANCEMENTS - Wrapservicer
   ============================================================================= */

/* Modern CSS Variables for Runtime Customization */
:root {
  /* Primary Colors */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;

  /* Secondary Colors */
  --color-secondary: #8b5cf6;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #06b6d4;

  /* Neutrals */
  --color-dark: #1e293b;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   GLOBAL ENHANCEMENTS
   ============================================================================= */

body {
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-500);
}

/* =============================================================================
   CARDS & PANELS - Modern Elevation
   ============================================================================= */

.card,
.panel {
  border: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
  transition: all var(--transition-base);
  background: white;
}

.card:hover,
.panel:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-2px);
}

.card-header,
.panel-heading {
  background: #f8f9fa !important;
  color: #334155 !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  padding: 0.75rem 1rem !important;
  font-weight: 600;
  font-size: 0.875rem;
}

.card-body,
.panel-body {
  padding: 1.5rem !important;
}

.card-footer,
.panel-footer {
  background: var(--color-gray-50) !important;
  border: none !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
  padding: 1rem 1.5rem !important;
}

/* =============================================================================
   BUTTONS - Modern & Vibrant
   ============================================================================= */

.btn {
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  transition: all var(--transition-fast);
  border: none;
  text-transform: none;
  letter-spacing: 0.025em;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
  color: white;
}

.btn-success:hover {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, var(--color-warning) 0%, #d97706 100%);
  color: white;
}

.btn-warning:hover {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, var(--color-danger) 0%, #dc2626 100%);
  color: white;
}

.btn-danger:hover {
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-info {
  background: linear-gradient(135deg, var(--color-info) 0%, #0891b2 100%);
  color: white;
}

.btn-info:hover {
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

/* =============================================================================
   SIDEBAR - Modern & Sleek
   ============================================================================= */

.sidebar-left {
  background: linear-gradient(180deg, var(--color-dark) 0%, #0f172a 100%) !important;
  box-shadow: var(--shadow-xl);
}

.sidebar-left .nav-main > li > a {
  border-radius: var(--radius-md);
  margin: 0.25rem 0.75rem;
  padding: 0.875rem 1rem !important;
  transition: all var(--transition-fast);
}

.sidebar-left .nav-main > li > a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateX(4px);
}

.sidebar-left .nav-main > li.nav-active > a,
.sidebar-left .nav-main > li.nav-expanded > a {
  background: #3b82f6 !important;
  box-shadow: var(--shadow-md);
}

.sidebar-left .nav-children {
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: var(--radius-md);
  margin: 0.25rem 0.75rem 0.5rem 0.75rem;
}

.sidebar-left .nav-children li a {
  padding: 0.625rem 1rem 0.625rem 2.5rem !important;
  transition: all var(--transition-fast);
}

.sidebar-left .nav-children li a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  padding-left: 2.75rem !important;
}

/* =============================================================================
   HEADER - Modern Top Bar
   ============================================================================= */

.header {
  background: white !important;
  box-shadow: var(--shadow-md) !important;
  border: none !important;
}

.header .logo-container {
  background: #3b82f6 !important;
}

/* =============================================================================
   TABLES - Modern Design
   ============================================================================= */

.table {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table thead th {
  background: var(--color-gray-50);
  border-bottom: 2px solid var(--color-gray-200);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--color-gray-700);
  padding: 1rem;
}

.table tbody tr {
  transition: all var(--transition-fast);
}

.table tbody tr:hover {
  background: var(--color-gray-50);
  transform: scale(1.01);
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background: rgba(248, 250, 252, 0.5);
}

/* DataTables Modern Styling */
.dataTables_wrapper .dataTables_filter input {
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  transition: all var(--transition-fast);
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

/* =============================================================================
   FORMS - Modern Input Styling
   ============================================================================= */

.form-control {
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
  transition: all var(--transition-fast);
  font-size: 14px;
}

.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.input-group-text {
  background: var(--color-gray-50);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
}

/* =============================================================================
   BADGES & LABELS - Modern Pill Design
   ============================================================================= */

.badge,
.label {
  border-radius: 9999px !important;
  padding: 0.375rem 0.875rem !important;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.badge-primary,
.label-primary {
  background: #3b82f6 !important;
}

.badge-success,
.label-success {
  background: var(--color-success) !important;
}

.badge-warning,
.label-warning {
  background: var(--color-warning) !important;
}

.badge-danger,
.label-danger {
  background: var(--color-danger) !important;
}

.badge-info,
.label-info {
  background: var(--color-info) !important;
}

/* =============================================================================
   ALERTS - Modern Notification Style
   ============================================================================= */

.alert {
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  border-left: 4px solid;
  box-shadow: var(--shadow-sm);
}

.alert-primary {
  background: rgba(59, 130, 246, 0.1);
  border-left-color: #3b82f6;
  color: #1e40af;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-left-color: var(--color-success);
  color: #065f46;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: var(--color-warning);
  color: #92400e;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-left-color: var(--color-danger);
  color: #991b1b;
}

.alert-info {
  background: rgba(6, 182, 212, 0.1);
  border-left-color: var(--color-info);
  color: #155e75;
}

/* =============================================================================
   MODALS - Modern Dialog Design
   ============================================================================= */

.modal-content {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

.modal-header {
  background: #f8f9fa;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.modal-header .btn-close {
  /* No filter needed for light background */
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  background: var(--color-gray-50);
  border: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  padding: 1rem 1.5rem;
}

/* =============================================================================
   PROGRESS BARS - Modern & Animated
   ============================================================================= */

.progress {
  height: 0.75rem;
  border-radius: 9999px;
  background: var(--color-gray-200);
  overflow: visible;
}

.progress-bar {
  border-radius: 9999px;
  background: #3b82f6;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
  transition: width var(--transition-slow);
}

/* =============================================================================
   PAGINATION - Modern Style
   ============================================================================= */

.pagination .page-link {
  border: 2px solid var(--color-gray-200);
  color: var(--color-gray-700);
  border-radius: var(--radius-md);
  margin: 0 0.25rem;
  transition: all var(--transition-fast);
}

.pagination .page-link:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
  background: #3b82f6;
  border-color: #3b82f6;
  box-shadow: var(--shadow-md);
}

/* =============================================================================
   DROPDOWNS - Modern Menu Style
   ============================================================================= */

.dropdown-menu {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: #3b82f6;
  color: white;
  transform: translateX(4px);
}

/* =============================================================================
   TOOLTIPS & POPOVERS - Modern Style
   ============================================================================= */

.tooltip .tooltip-inner {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.875rem;
  font-size: 0.813rem;
}

.popover {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.popover-header {
  background: #f8f9fa;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-weight: 600;
}

/* =============================================================================
   BREADCRUMBS - Modern Navigation
   ============================================================================= */

.breadcrumb {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--color-gray-400);
}

.breadcrumb-item.active {
  color: #3b82f6;
  font-weight: 600;
}

/* =============================================================================
   TABS - Modern Tab Design
   ============================================================================= */

.nav-tabs {
  border-bottom: 2px solid var(--color-gray-200);
}

.nav-tabs .nav-link {
  border: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 0.875rem 1.5rem;
  color: var(--color-gray-600);
  font-weight: 600;
  transition: all var(--transition-fast);
  margin-bottom: -2px;
}

.nav-tabs .nav-link:hover {
  color: #3b82f6;
  background: var(--color-gray-50);
}

.nav-tabs .nav-link.active {
  color: #3b82f6;
  background: white;
  border-bottom: 2px solid #3b82f6;
}

/* =============================================================================
   UTILITY CLASSES - Modern Helpers
   ============================================================================= */

.shadow-modern {
  box-shadow: var(--shadow-lg) !important;
}

.rounded-modern {
  border-radius: var(--radius-lg) !important;
}

.gradient-primary {
  background: #3b82f6 !important;
  color: white !important;
}

.gradient-success {
  background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%) !important;
  color: white !important;
}

.text-gradient {
  color: #3b82f6;
  font-weight: 700;
}

/* =============================================================================
   ANIMATIONS - Smooth Transitions
   ============================================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp var(--transition-base) ease-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* =============================================================================
   RESPONSIVE ENHANCEMENTS
   ============================================================================= */

@media (max-width: 767px) {
  .card,
  .panel {
    margin-bottom: 1rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* ========================================================================
   FACEBOOK-STYLE ACTIVITY FEED
   Complete modern social media feed with posts, comments, and reactions
   ======================================================================== */

.fb-activity-feed {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fb-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e4e6eb;
}

.fb-feed-header h5 {
  font-size: 20px;
  font-weight: 700;
  color: #050505;
}

.fb-feed-filters select {
  border: none;
  background: #f0f2f5;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #65676b;
  cursor: pointer;
}

/* Post Composer */
.fb-post-composer {
  padding: 12px 16px;
  border-bottom: 1px solid #e4e6eb;
}

.fb-composer-inner {
  background: #fff;
}

.fb-composer-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.fb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #e4e6eb;
  border: 2px solid #f0f2f5;
}

.fb-avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #e4e6eb;
  border: 2px solid #f0f2f5;
}

.fb-composer-input-wrapper {
  flex: 1;
}

.fb-composer-textarea {
  width: 100%;
  border: none;
  background: #f0f2f5;
  border-radius: 20px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  resize: none;
  overflow: hidden;
  transition: background 0.2s;
}

.fb-composer-textarea:focus {
  outline: none;
  background: #e4e6eb;
}

.fb-composer-textarea::placeholder {
  color: #65676b;
}

.fb-composer-tools {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e4e6eb;
}

.fb-tool-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: transparent;
  color: #65676b;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fb-tool-btn:hover {
  background: #f0f2f5;
}

.fb-tool-btn i {
  font-size: 16px;
}

.fb-composer-preview {
  margin-top: 12px;
}

.fb-composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e4e6eb;
}

/* Posts Container */
.fb-posts-container {
  max-height: none;
  overflow-y: visible;
}

.fb-post {
  padding: 12px 16px;
  border-bottom: 1px solid #e4e6eb;
  transition: background 0.2s;
  position: relative;
}

.fb-post:hover {
  background: #f7f8fa;
}

.fb-post-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
}

.fb-post-meta {
  flex: 1;
}

.fb-post-author {
  font-size: 15px;
  font-weight: 600;
  color: #050505;
  line-height: 1.3;
}

.fb-post-time {
  font-size: 13px;
  color: #65676b;
  line-height: 1.3;
}

.edited-badge {
  font-style: italic;
  color: #65676b;
}

.fb-post-menu {
  position: absolute;
  right: 0;
  top: 0;
}

.fb-menu-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 50%;
  color: #65676b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.fb-menu-btn:hover {
  background: #f0f2f5;
}

.fb-post-content {
  font-size: 15px;
  line-height: 1.3333;
  color: #050505;
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.fb-post-content a {
  color: #385898;
  text-decoration: none;
}

.fb-post-content a:hover {
  text-decoration: underline;
}

.fb-post-content .mention {
  color: #385898;
  font-weight: 600;
  cursor: pointer;
}

.fb-post-content .mention:hover {
  text-decoration: underline;
}

/* Media */
.fb-post-media {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.fb-media-image,
.fb-media-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Post Stats */
.fb-post-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  color: #65676b;
}

.fb-reactions-stats {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.fb-reactions-stats:hover {
  text-decoration: underline;
}

.fb-comments-count {
  cursor: pointer;
}

.fb-comments-count:hover {
  text-decoration: underline;
}

/* Post Actions */
.fb-post-actions {
  display: flex;
  border-top: 1px solid #e4e6eb;
  padding-top: 4px;
  gap: 4px;
}

.fb-action-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #65676b;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fb-action-btn:hover {
  background: #f0f2f5;
}

.fb-action-btn i {
  font-size: 18px;
}

/* Reactions Picker */
.fb-reactions-picker {
  position: absolute;
  bottom: 50px;
  left: 20px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 4px;
  display: flex;
  gap: 4px;
  z-index: 100;
  animation: reactionPopIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes reactionPopIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fb-reaction-option {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-reaction-option:hover {
  transform: scale(1.3);
}

/* Comments Section */
.fb-comments-section {
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid #e4e6eb;
}

.fb-comments-list {
  margin-bottom: 12px;
}

.fb-comment {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.fb-comment-content {
  flex: 1;
  min-width: 0;
}

.fb-comment-bubble {
  background: #f0f2f5;
  padding: 8px 12px;
  border-radius: 18px;
  display: inline-block;
  max-width: 100%;
}

.fb-comment-author {
  font-size: 13px;
  font-weight: 600;
  color: #050505;
  margin-bottom: 2px;
}

.fb-comment-text {
  font-size: 15px;
  color: #050505;
  word-wrap: break-word;
}

.fb-comment-actions-small {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
  padding-left: 12px;
}

.fb-comment-actions-small button {
  border: none;
  background: transparent;
  color: #65676b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.fb-comment-actions-small button:hover {
  text-decoration: underline;
}

.fb-comment-time {
  font-size: 12px;
  color: #65676b;
}

.fb-comment-replies {
  margin-left: 40px;
  margin-top: 8px;
}

/* Comment Composer */
.fb-comment-composer {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.fb-comment-input-wrapper {
  flex: 1;
  position: relative;
}

.fb-comment-input {
  width: 100%;
  border: none;
  background: #f0f2f5;
  border-radius: 18px;
  padding: 8px 40px 8px 12px;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  resize: none;
  overflow: hidden;
}

.fb-comment-input:focus {
  outline: none;
  background: #e4e6eb;
}

.fb-comment-actions {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 4px;
}

.fb-comment-tool {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #65676b;
  font-size: 14px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.fb-comment-tool:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Emoji Picker */
.emoji-picker-popup {
  position: fixed;
  width: 320px;
  max-height: 400px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  z-index: 10000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.emoji-picker-header {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid #e4e6eb;
}

.emoji-search {
  flex: 1;
  border: none;
  background: #f0f2f5;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.emoji-search:focus {
  outline: none;
  background: #e4e6eb;
}

.emoji-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #65676b;
  cursor: pointer;
  border-radius: 50%;
}

.emoji-close:hover {
  background: #f0f2f5;
}

.emoji-picker-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 12px;
  overflow-y: auto;
  max-height: 320px;
}

.emoji-option {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.emoji-option:hover {
  background: #f0f2f5;
  transform: scale(1.2);
}

/* GIPHY Picker */
.giphy-picker-popup {
  position: fixed;
  width: 480px;
  max-height: 500px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  z-index: 10000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.giphy-picker-header {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid #e4e6eb;
}

.giphy-search {
  flex: 1;
  border: none;
  background: #f0f2f5;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.giphy-search:focus {
  outline: none;
  background: #e4e6eb;
}

.giphy-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #65676b;
  cursor: pointer;
  border-radius: 50%;
}

.giphy-close:hover {
  background: #f0f2f5;
}

.giphy-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px;
  overflow-y: auto;
  max-height: 420px;
}

.giphy-option {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}

.giphy-option:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Preview Elements */
.photo-preview,
.giphy-preview {
  position: relative;
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.photo-preview img,
.giphy-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.remove-photo,
.remove-giphy {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.remove-photo:hover,
.remove-giphy:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Notifications */
.fb-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.fb-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.fb-notification-success {
  border-left: 4px solid #42b72a;
}

.fb-notification-error {
  border-left: 4px solid #fa3e3e;
}

.fb-notification-info {
  border-left: 4px solid #1877f2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .fb-post-composer {
    padding: 8px;
  }

  .fb-composer-textarea {
    font-size: 16px;
  }

  .fb-tool-btn {
    font-size: 0;
    padding: 8px;
  }

  .fb-tool-btn i {
    font-size: 20px;
  }

  .fb-post {
    padding: 12px 8px;
  }

  .emoji-picker-popup,
  .giphy-picker-popup {
    width: calc(100vw - 40px);
    max-width: 400px;
  }

  .giphy-picker-grid {
    grid-template-columns: 1fr;
  }
}

/* Loading States */
.fb-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.fb-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e4e6eb;
  border-top-color: #1877f2;
  border-radius: 50%;
  animation: fbSpin 0.8s linear infinite;
}

@keyframes fbSpin {
  to { transform: rotate(360deg); }
}

/* Scrollbar Styling */
.fb-posts-container::-webkit-scrollbar,
.emoji-picker-grid::-webkit-scrollbar,
.giphy-picker-grid::-webkit-scrollbar {
  width: 8px;
}

.fb-posts-container::-webkit-scrollbar-track,
.emoji-picker-grid::-webkit-scrollbar-track,
.giphy-picker-grid::-webkit-scrollbar-track {
  background: transparent;
}

.fb-posts-container::-webkit-scrollbar-thumb,
.emoji-picker-grid::-webkit-scrollbar-thumb,
.giphy-picker-grid::-webkit-scrollbar-thumb {
  background: #ccd0d5;
  border-radius: 4px;
}

.fb-posts-container::-webkit-scrollbar-thumb:hover,
.emoji-picker-grid::-webkit-scrollbar-thumb:hover,
.giphy-picker-grid::-webkit-scrollbar-thumb:hover {
  background: #b8bcc2;
}

/* Mention Autocomplete Dropdown */
.mention-dropdown {
  position: fixed;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 10000;
}

.mention-option {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mention-option:hover,
.mention-option.active {
  background-color: #f0f2f5;
}

.mention-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  background: #e4e6eb;
}

.mention-user-info {
  flex: 1;
}

.mention-user-name {
  font-weight: 600;
  color: #050505;
  font-size: 14px;
}

.mention-user-role {
  font-size: 12px;
  color: #65676b;
  text-transform: capitalize;
}

.mention {
  color: #4267B2;
  font-weight: 600;
  cursor: pointer;
}

.mention:hover {
  text-decoration: underline;
}
/* Updated: Wed Nov  5 10:38:35 EST 2025 */
