.anchor-active {
    cursor: pointer;
    
}

.bootstrap-tagsinput .badge {
    white-space: pre;
    margin-bottom: 0.5%;
    background-color: #3B82F6;
}

.alertWordsCss {
    height: 65px !important; 
    scrollbar-width: auto !important;
    cursor: default !important;
}

.alertWordsCss:active {
    cursor: default !important; /* mouse click and hold */
}

.bootstrap-tagsinput {
    width: 100%;
    height: 35px; /* Set a desired fixed height */
    overflow-y: auto; /* Enable vertical scrolling when content exceeds the max-height */
    overflow-x: auto; /* Prevent horizontal scrolling if desired */
    scrollbar-width: none;
}

/* to prevent the default addition of right padding in Bootstrap's modal class */
body.modal-open {
    padding-right: 0 !important;
    overflow-y: auto !important;
  }
  
.calendar-icon {
    cursor: pointer;
}

.table-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* added to adjust the filter drop down on digital page only */
#dropDown {
    position: relative !important;
}

.dropdown-menu {
    left: auto !important;
    right: 0 !important;
    width: max-content;
    font-size: 13px;
}

.chart{
    height: 400px;
    /* width: 100%; */
}

.summary-column {
    max-width: 300px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* summary css */
#summary-card {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}


.paragraphdisable {
    border: none
}


.summary-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.summary-scrollbar::-webkit-scrollbar-track {
    width: 5px;
    background: #f5f5f5;
}

.summary-scrollbar::-webkit-scrollbar-thumb {
    width: 1em;
    background-color: #b0aeae;
    border-radius: 1rem;
}

.summaryrow {
    height: 41vh;
    overflow-y: auto;
}

.conversation-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.conversation-scrollbar::-webkit-scrollbar-track {
    width: 5px;
    background: #f5f5f5;
}

.conversation-scrollbar::-webkit-scrollbar-thumb {
    width: 1em;
    background-color: #b0aeae;
    border-radius: 1rem;
}

.conversationrow {
    height: 41vh;
    overflow-y: auto;
}
 
 
.legend-dot {
  display: inline-block;
  width: 10px;        
  height: 10px;
  border-radius: 50%;
  margin-right: 0.25rem;
}

.legend-dot--high   { background-color: #dc3545; } /* red*/
.legend-dot--medium { background-color: #fd7e14; } /* orange*/
.legend-dot--low    { background-color: #ffc107; } /* yellow*/

.card-bg{
    background-color: #f6f6f6;
}

 .btn-check:checked + .btn { 
    background-color: #3B82F6; /* Bootstrap primary */
    color: white;
 }

.btn-check:not(:checked) + .btn:hover {
  background-color: rgb(215, 215, 215);
  color: black;
}

.modal-body-text{
    font-size: 0.9rem;
    letter-spacing: 0.03em; 
}

.btn-blue{
    background-color: #3B82F6 !important;
    color: white!important;
}

.btn-text-blue {
  color: #3B82F6;
}

.btn-blue:hover{
    background-color: #5794f8;
    color:white;
}

.bg-blue{
    background-color: #3B82F6!important;
}

.range-group .btn-check:not(:checked) + .btn:hover {
  background-color: #e4eeff;
  color: black;
}

.btn-outline-blue {
  border: 1px solid #3B82F6 !important;
  color: black !important;
  background-color: transparent;
}

.btn-outline-blue:hover {
  /* background-color: #5794f8 !important; */
  background-color: #eaf1ff !important;
  color: black !important;
}

.btn-outline-red {
  border: 1px solid #f63b3b !important;
  color: black !important;
  background-color: transparent;
}

.btn-outline-red:hover {
  background-color: #ffeaea !important;
  color: black !important;
}

.contact-info-box, .info-box, .status-box {
  background-color: white;
  padding: 0;
}

.main-section {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-direction: column;
  height: 60px;
}

.conversation-section {
  margin-bottom: 10px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-item {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
}

.info-item:last-child {
  margin-bottom: 0;
}

.detail-title {
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.detail-value {
  font-size: 0.95rem;
  color: #333;
  font-weight: normal;
}

.btn-close {
  margin-left: 0.5rem;
  font-size: 16px;
}

/* Layout adjustments */
.left-box {
  width: auto;
  margin-right: 2rem;
}

.right-box {
  width: auto;
  text-align: right;
}

/* Box Container Styles */
.contact-info-box, 
.info-box, 
.status-box {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0; 
  border-radius: 8px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.50rem;    
  padding-bottom: 0.50rem;                
}

.info-box {
  background-color: #f8f9fa; 
}

.status-box {
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

/* Contact Details Container */
.contact-details-container {
  color: #374151;
  width: 100%;
  padding-bottom: 10px;
  padding-top: 10px;
  background-color: white;
}

/* Modal Header */
.modal-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 0px !important;
  padding : 2px !important;
}

/* Contact Header Section */
.contact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
}

/* Status Badge */
.status-badge {
  padding: 3px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.status-ended {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.status-started {
  background-color: #b4eda0;
  color: #166534;
  border: 1px solid #85e0a5;
}

.status-hold {
  background-color: #ffedd1;
  color: #f19100;
  border: 1px solid #f19100;
}

/* Details Section */
.details-section {
  margin-bottom: 10px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.last-row {
  padding: 2px 0;
  border-bottom: 1px solid #f9fafb;
  border-bottom: none;
}

.detail-label {
  font-size: 14px;
  font-weight: 500;
  color: #505969;
}

/* Action Button */
.action-button-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.btn-primary {
  background-color: #3b82f6;
  border-color: #3b82f6;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #2563eb;
}

/* message conversation Section  */

.message-container {
  margin: 10px 0;
  padding: 12px;
  border-radius: 8px;
  max-width: 80%;
}

.agent-message {
  background-color: #e3f2fd;
  margin-left: auto;
  border: 1px solid #bbdefb;
}

.customer-message {
  background-color: #f5f5f5;
  margin-right: auto;
  border: 1px solid #e0e0e0;
}

.message-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  font-weight: 600;
}

.message-icon {
  margin-right: 8px;
  font-size: 14px;
}

.agent-message .message-icon {
  color: #1976d2;
}

.customer-message .message-icon {
  color: #616161;
}

.message-content {
  margin-bottom: 5px;
  line-height: 1.4;
}

/* Modal Footer */
.modal-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 12px !important;
  border-top: none !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.modal-body {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* Footer Buttons */
.footer-btn {
  padding: 5px 30px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.card-body {
  box-shadow: none !important;
}

/* Primary Button */
.primary-btn {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.primary-btn:hover {
  background-color: #2563eb;
  border-color: #2563eb;
}

/* Secondary Buttons */
.secondary-btn {
  background-color: #f9fafb !important;
  color: #374151 !important;
  border-color: #d1d5db !important;
}

.secondary-btn:hover {
  background-color: #f3f4f6 ;
  border-color: #9ca3af !important;
}

.numInputWrapper.numInputWrapper span {
   display: none !important;
} 

.numInputWrapper.numInputWrapper:hover {
   background: transparent !important;
} 

/* Disabled State for All Buttons */
.footer-btn:disabled,
.footer-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Specific Disabled Styles for Primary Button */
.primary-btn:disabled {
  background-color: #93c5fd;
  border-color: #93c5fd;
}

/* Specific Disabled Styles for Secondary Button */
.secondary-btn:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
}

.no-conversation-message {
  width: 100%;
  height: 80px;
  color: #464f5e;
  font-size: 18px;
  background-color: #fef2f2;
  border-radius: 6px;
  border: 1px dashed #fca5a5;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.message-wrapper {
  max-width: 70%;
}

.message-wrapp {
 display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
}

.sender-label {
  font-size: 14px;
  padding: 4px;
  margin-bottom: 4px;
  color: black;
  border-radius: 12px;
}

.sender-icon {
  color: rgb(153 195 255 / 91%);
  margin-left: 5px;
}

.message-bubble {
  padding: 5px 15px;
  border-radius: 16px;
  font-size: 14px;
  width: 100%;
}

.agent-bubble {
  background-color: #3b82f6;
  color: white;
}

.client-bubble {
  background-color: #f9fafb;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.message-time {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.conversation-content {
 background-color: #f9fafb;
 border-radius: 8px;
 overflow-y: auto;
 border: 1px solid #e5e7eb; 
}

.summary-content {
  background-color: #f9fafb; 
  border-radius: 8px; 
  border: 1px solid #e5e7eb; 
  height : 84px; 
  overflow-y: auto;
}

.summary-title {
  font-size: 16px;
  font-weight: 600; 
  color: #374151;
}

.summary-text {
  color: #6b7280; 
  font-size: 14px; 
  line-height: 1.5;
}

.conversation-title {
  font-size: 16px; 
  font-weight: 600; 
  color: #374151;
}

.red-dot{
    display:inline-block;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#e54d20;
    margin-right:8px; 
    vertical-align:middle;
}

.orange-dot{
    display:inline-block;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#f19100;
    margin-right:8px; 
    vertical-align:middle;
}

.yellow-dot{
    display:inline-block;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#ddb100;
    margin-right:8px; 
    vertical-align:middle;
}
/* High Alert (Red) */
.highlight-high {
  background-color: #e54d20;
  font-weight: bold;
  padding: 2px 0px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Medium Alert (Orange) */
.highlight-medium {
  background-color: #f19100;
  font-weight: bold;
  padding: 2px 0px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Low Alert (Yellow) */
.highlight-low {
  background-color: #ddb100;
  font-weight: bold;
  padding: 2px 0px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  margin: 4px 0 0 4px;
}

.dot-red {
  background-color: #e54d20;
}

.dot-orange {
  background-color: #f19100;
}

.dot-yellow {
  background-color: #ddb100;
}

.color-high {
  color: #e54d20;
}
.color-medium {
  color: #f19100;
}
.color-low {
  color: #ddb100;
}

.header-css {
  font-size: 18px;
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-live   { color: #22c55e; }
.status-live   .dot { background: #22c55e; }

.status-hold-table   { color: #f19100; }
.status-hold-table   .dot { background: #f19100; }

.status-ended-table  { color: #ef4444; }
.status-ended-table  .dot { background: #ef4444; }

.status-unknown{ color: #94a3b8; }
.status-unknown .dot{ background: #94a3b8; }

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  cursor: pointer;
  text-align: center;
}

.new-message-badge {
  background-color: white;
  color: black;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.scroll-down-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.scroll-down-icon i {
  color: black;
  font-size: 1.2rem;
}

.profanity-pill{
  display:flex;
  padding:2px 10px;
  font-weight:600;
  font-size:.75rem;
  border-radius:5px;      
  white-space:nowrap;       
}

.color-high-profanity   { color:#e54d20; background:rgba(229,77,32,0.15);  border-left: 5px solid #e54d20;}
.color-medium-profanity { color:#f19100; background:rgba(241,145,0,0.2);  border-left: 5px solid #f19100;}
.color-low-profanity    { color:#ddb100; background:rgba(221,177,0,0.2); border-left: 5px solid #ddb100;}

.dot-profanity {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  margin-top: 3px;
  margin-bottom: 0;
  margin-right: 5px; 
}

.gradient-high {
  background: radial-gradient(circle at 90% 20%, #ffa4a4, #c82333);
}

.gradient-medium {
  background: radial-gradient(circle at 90% 20%, #ffd293, #f19100);
}

.gradient-low {
  background: radial-gradient(circle at 90% 20%, #fff176, #ddb100);
}

.contact-id-heading {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
}

.dim-search{
  background-color: #f0f0f0 !important;
  opacity: 0.6;
  pointer-events: none;   /* actually prevents interaction   */
  cursor: not-allowed;  
  transition: opacity 0.2s;
}

.date-modal{
  width: 470px;
  height: 480px
}

.toastify {
  box-shadow: none !important;
}

.check-box{
  margin-top:5px !important;
}

#agent-toast {
  background: linear-gradient(135deg, rgba(36, 99, 201, 1) 0%, rgb(0, 136, 204) 50%, rgba(68, 115, 217, 1) 100%);
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(8px);
  margin-bottom: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
  animation: slideInRight 0.3s ease-out;
  max-width: 380px;
  color: #fff;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
  40%, 43% { transform: translate3d(0, -8px, 0); }
  70% { transform: translate3d(0, -4px, 0); }
  90% { transform: translate3d(0, -2px, 0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

#agent-toast .toast-content { padding: 16px; }

#agent-toast .toast-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#agent-toast .toast-icon {
  position: relative;
  flex-shrink: 0;
}

#agent-toast .icon-bg {
  background: rgba(255,255,255,0.2);
  padding: 8px;
  border-radius: 50%;
  color: white;
  animation: pulse 2s infinite;
}

#agent-toast .icon-bg.bounce { animation: bounce 1s infinite; }

#agent-toast .toast-info { flex: 1; min-width: 0; }

#agent-toast .toast-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

#agent-toast .toast-title h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

#agent-toast .toast-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#agent-toast .detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}

#agent-toast .warning-text {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  margin-top: 4px;
}

#agent-toast .close-toast {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s;
  flex-shrink: 0;
}

#agent-toast .close-toast:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

#toast-container {
  position: fixed;
  top: 70px;
  bottom: 10px;
  right: 0px;
  width: calc(100% - 20px);
  max-width: 380px;
  overflow-y: auto;
  z-index: 9999;
  padding: 10px;
  box-sizing: border-box;
}

.agent-selection-field{
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  height:25px;
  padding: 10px 2px;
  font-size:14px;
  cursor: pointer;
  text-overflow: ellipsis;
}

.agent-selection-field:focus {
  outline: none;
  box-shadow: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.agent-dropdown-menu .dropdown-item:hover,
.agent-dropdown-menu .dropdown-item:focus {
    background-color: #3b82f6 !important;
    color: #fff !important;
}

.agent-dropdown-menu .dropdown-item.disabled,
.agent-dropdown-menu .dropdown-item:disabled,
.agent-dropdown-menu .dropdown-item.active.disabled {
    background-color: #d9dbe0 !important;
    color: #000000 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.dropdown-item.active {
  background-color: #3B82F6 !important;
  color: #fff !important;
  pointer-events: none !important;
}

.blue-top-border{
  border-top-color: #3B82F6 !important;;
}

.new-blue-background{
  background-color: #3B82F6 !important;;
}

.dropdown-caret{
  position:absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events:none;
  font-size:0.9rem;
  color:#374151;
}

.dropdown-toggle.show + .dropdown-caret{
  transform:translateY(-50%) rotate(-180deg);
}

.toast-name {
  display:inline-block;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#agentDropdown{
  text-overflow: ellipsis;
}

.header-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.my-dropdown {
  position: relative;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  display: inline-block;
}

.my-dropdown-toggle {
  background:#ffffff;
  padding: 5px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111111;
  transition: background 0.2s ease;
  white-space: nowrap;
  width: auto; /* stays compact */
}

.my-dropdown-toggle i {
  font-size: 12px;
  margin-left: 8px;
}

/* Menu style */
.my-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 120px;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease, min-width 0.25s ease;
  max-height: 150px;
  overflow: auto;
}

.my-dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  min-width: 220px;
}

.my-dropdown-menu li {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.my-dropdown-menu li:hover {
  background: #0088cc;
  color: white;
}

.cluster-nav-link.is-disabled {
  pointer-events: not-allowed;   /* no more clicks */
  opacity: .6;
  cursor: default;
}

.close-btn-font{
  font-weight: 500;
}

.c-pill {
  align-items: center;
  font-weight: 600;
  font-size: 11px;
  display: inline-block;
  height: 100%;
  white-space: nowrap;
  width: auto;
  margin-top: 3px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: 0px 12px 0px 20px;
  text-overflow: ellipsis;
  line-height: 1.25rem;
  color: #292727;
  word-break: break-word;
}

.c-pill:before {
  border-radius: 50%;
  content: '';
  height: 10px;
  left: 6px;
  margin-top: -5px;
  position: absolute;
  top: 50%;
  width: 10px;
}

.status-hold-table {
  background: #b4eda0;
}

.status-hold-table:before {
  background: #6BC167;
}

.status-ended-table {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.status-ended-table:before {
  background: #dc2626;
}

.status-unknown {
  background: #cad4e2;
  border: 1px solid #b9bfc9;
}

.status-unknown:before {
  background: #6d798a;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #b4eda0;
  color: #166534;
  border: 1px solid #85e0a5;
  font-weight: 600;
  font-size: 11px;
  border-radius: 4px;
}

.status-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #166534;
  animation: ripple 1.5s infinite ease-out;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 101, 52, 0.7);
  }
  80% {
    box-shadow: 0 0 0 6px rgba(22, 101, 52, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 101, 52, 0);
  }
}


.row-check {
  accent-color: #3B82F6!important;
}

.row-check-all {
  accent-color: #3B82F6!important;
}


tr.row-selected td:first-child { position: relative; }
tr.row-selected td:first-child::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1.5px;
  background: #3B82F6;
  pointer-events: none'
}


.logout-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: inherit;
}

.logout-link.active,
.logout-link:hover,
.logout-link:focus,
.logout-link:active {
  background-color: #3B82F6 !important;
  color: #fff !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active {
  background-color: #3B82F6 !important;
  color: #fff !important;
}

#appIdDropdownMenu {
  max-height: 200px;   /* adjust height as you need */
  overflow-y: auto;    /* enable vertical scroll */
  overflow-x: hidden;  /* hide horizontal scroll */
}

.logout-link svg path {
  fill: currentColor; 
}

.copyright-icon{
  color: #3B82F6;
  font-weight:700;
  font-size: 16px;
}

.toggle-password:focus-visible {
  outline: none;
  border-color: #3bf;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(0, 136, 204, 0.3);
  border-radius: 4px;
}

@media only screen and (max-width: 767px) {
 .my-dropdown-menu {
  left: 0 !important;
 }
}

.pill_icon {
  cursor: pointer;
}

.agent-drop-down-input{
  padding-right: 1.5rem !important;
  padding-left: 0.5rem !important;
}

.agent-drop-down-list{
  padding-right: 0.5rem !important;
  padding-left: 0.5rem !important;
}

/* for alert words tags */
#tagInputsHigh .tagify,
#tagInputsMedium .tagify,
#tagInputsLow .tagify {
  height: 80px;
  overflow-y: auto;
  overflow-x: hidden;

  /* hide scrollbar but keep scroll */
  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none;/* IE/Edge */
}

/* for search drop down tags */
/* put in your stylesheet */
.tagify--lock-height {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;     /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
}
.tagify--lock-height::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.tagify__tag--editable .tagify__tag-text[contenteditable="true"] {
  display: inline-block;
  width: auto !important;
  line-height: 1.2;
  background-color: white;
    flex: 1 1 auto;       /* take available space, but not overlap the ✕ */
  min-width: 0;
}

/* change background color for pill while not touching the editable pill */
.tagify__tag:not(.tagify__tag--editable) {
  background-color: #e0e0e0;
}

.tagify {
  font-size: 13px;
}

.tagify__tag > div{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.tagify__tag-text{
  overflow-wrap: anywhere;
  white-space: normal;
  min-width: 0;
}

.dropdown-menu .tagify__tag{
  margin-inline: 5px !important;
}

.forget-password-text {
  font-size: 12px !important;
}

#btnSubmit {
  width: 95%;
}

.body-sign .card-sign .custom-card-body {
  padding: 14px 33px 15px !important;
}

.alternative {
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.alternative h3 {
    background: #4285f4;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
}

/* container polish */
.tr-theme-modal .modal-content {
  border-radius:12px;
  overflow:hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
}

/* purple header */
.tr-theme-modal .variant-header-look {
  background: #3B82F6;
  color:#fff;
  padding:16px 20px !important;
  border-bottom:none;
}
.tr-theme-modal .variant-header-look .modal-title {
  color:#fff; font-weight:600; font-size:18px; margin:0;
}

/* body + inputs */
.tr-theme-modal .modal-body { padding:24px; }
.tr-theme-modal label { display:block; font-size:14px; font-weight:500; color:#374151; margin-bottom:8px; }
.tr-theme-modal .form-control {
  border:1px solid #d1d5db; border-radius:8px; padding:12px 16px; font-size:14px; color:#374151; background:#fff; box-shadow:none;
}
.tr-theme-modal .form-control::placeholder { color:#9ca3af; }
.tr-theme-modal .form-control:focus {
  border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,0.1);
}

/* section header */
.tr-theme-modal .d-flex.align-items-center.justify-content-between { margin:12px 0; }
.tr-theme-modal h6.mb-0 { font-size:16px; font-weight:500; color:#374151; }

/* buttons */
.tr-theme-modal .btn-blue {
  font-size:14px; font-weight:500; box-shadow:0 1px 3px rgba(0,0,0,.1); border-radius: 6px;
}

.tr-theme-modal .secondary-btn {
  background:#fff; color:#6b7280; border:1px solid #d1d5db; border-radius:8px; padding:10px 20px;
}
.tr-theme-modal .secondary-btn:hover { background:#f9fafb; border-color:#9ca3af; }

.tr-theme-modal .modal-footer {
  padding:20px 24px 24px; border-top:1px solid #f3f4f6;
}

.tr-theme-modal .btn-blue:hover{
    background-color: #296fe1!important;
    color:white!important;
}

/* quick-replies rows */
.tr-theme-modal #quickRepliesInputs > .quick-reply-item,
.tr-theme-modal #quickRepliesInputs > div {
  display:flex; align-items:center; gap:12px; padding:12px 16px;
  background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; margin-bottom:12px; transition:all .2s;
}
.tr-theme-modal #quickRepliesInputs > div:hover { background:#f1f5f9; border-color:#cbd5e1; }

.tr-theme-modal #quickRepliesInputs .drag-handle { color: #9ca3af; font-size: 16px; cursor: grab; }
.tr-theme-modal #quickRepliesInputs .drag-handle:active { cursor: grabbing; }
.tr-theme-modal #quickRepliesInputs input[type="text"],
.tr-theme-modal #quickRepliesInputs textarea {
  flex:1; border:none; background:transparent; font-size:14px; color:#374151; padding:8px 12px; border-radius:6px;
}
.tr-theme-modal #quickRepliesInputs input[type="text"]:focus,
.tr-theme-modal #quickRepliesInputs textarea:focus:not(.is-invalid) {
  outline:none; background:#fff; box-shadow:0 0 0 2px rgba(59,130,246,.2);
}

/* red ring when invalid (focused or not) */
.tr-theme-modal #quickRepliesInputs input[type="text"].is-invalid,
.tr-theme-modal #quickRepliesInputs input[type="text"].is-invalid:focus,
.tr-theme-modal #quickRepliesInputs textarea.is-invalid,
.tr-theme-modal #quickRepliesInputs textarea.is-invalid:focus {
  box-shadow: 0 0 0 2px rgba(220,53,69,.45);
  background: #fff; /* optional for contrast */
}


.tr-theme-modal #quickRepliesInputs .remove-btn {
  background:none; border:none; color:#ef4444; font-size:18px; cursor:pointer; padding:4px; border-radius:4px; transition:all .2s; opacity:.7;
}
.tr-theme-modal #quickRepliesInputs .remove-btn:hover { background:#fef2f2; opacity:1; }

.btn-cross-red {
  background-color: #e54d20 !important;
  color: white!important;
  font-size:15px!important;
  border:none;
  border-top-left-radius: 8px!important;
  border-bottom-left-radius: 8px!important;
  border-top-right-radius: 8px!important;
  border-bottom-right-radius: 8px!important;
}

.btn-cross-red:hover {
  background-color: #d02424 !important;
  color: white!important;
  font-size:15px!important;
  border-top-left-radius: 8px!important;
  border-bottom-left-radius: 8px!important;
  border-radius: 8px;
}

.add-icon{
  font-size:24px;
}

.compact-translation { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 12px; 
  padding: 8px 12px; 
  background: #f8fafc;
  border-radius: 6px; 
  border-left: 3px solid #3b82f6; 
}

.compact-lang { 
  font-weight: 600; 
  color: #374151; 
  min-width: 60px; 
  font-size: 12px; 
  text-transform: uppercase; 
}

.compact-text-input {
    flex: 1;
    color: #6b7280;
}

/* TEMPLATE REPLIES TABLE*/
.alternative {
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.alternative h3 {
    background: #4285f4;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
}

.alt3-container {
    padding: 25px;
    position: relative;
}

.alt3-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #4285f4;
}

.alt3-title {
    display: flex;
    justify-content: space-between;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #4285f4;
}

.alt3-title-quick-replies {
    display: flex;
    justify-content: space-between;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}


.alt3-item {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
    cursor: move;
    justify-content: space-between;
}

.alt3-item:hover {
    padding-left: 10px;
    border-left: 4px solid #4285f4;
}

.alt3-name {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  flex: 1 1 0;
  min-width: 0; /* 👈 this is the key for flex text overflow */
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.alt3-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #4285f4;
    cursor: pointer;
}

.alt3-drag-handle {
  color: #999;
  cursor: move;
  font-size: 18px;       /* increase icon size */
  line-height: 1;        /* tighten spacing */
  padding: 8px 10px;     /* enlarge clickable area */
  user-select: none;     /* prevent accidental text selection */
}

.alt3-drag-handle:hover {
    color: #4285f4;
}

.alt3-edit {
    color: #4285f4;
    border: none;
    background: rgba(66, 133, 244, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.alt3-edit:hover {
    background: #4285f4;
    color: white;
}

/* EMPTY TABLE*/

.alternative-no-templates {
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
.alt4-container-no-templates {
    padding: 36px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.alt4-container-no-templates::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #4285f4, #5b9bd5);
    border-radius: 50%;
    opacity: 0.1;
    animation: move1 8s infinite ease-in-out;
}
.alt4-container-no-templates::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #5b9bd5, #4285f4);
    border-radius: 50%;
    opacity: 0.1;
    animation: move2 6s infinite ease-in-out;
}
@keyframes move1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}
@keyframes move2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -30px); }
}
.alt4-icon-stack-no-templates {
    position: relative;
    margin-bottom: 25px;
}
.alt4-main-icon-no-templates {
    width: 90px;
    height: 90px;
    background: #4285f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 40px;
    color: white;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}
.alt4-floating-icon-no-templates {
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid #4285f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4285f4;
    font-size: 14px;
    animation: float-around 4s infinite ease-in-out;
}
.alt4-floating-icon-no-templates:nth-child(2) {
    top: 10px;
    right: 10px;
    animation-delay: 0s;
}
.alt4-floating-icon-no-templates:nth-child(3) {
    bottom: 10px;
    left: 10px;
    animation-delay: 2s;
}
@keyframes float-around {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5px, -5px) rotate(10deg); }
}
.alt4-title-no-templates {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.alt4-subtitle-no-templates {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.alt4-button-no-templates {
    background: #4285f4;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.alt4-button-no-templates:hover {
    background: #3367d6;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(66, 133, 244, 0.4);
}

/* INNER TABLE*/
.alt3-item-inner {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
    cursor: move;
}

.alt3-item-inner:hover {
    padding-left: 10px;
    border-left: 4px solid #4285f4;
}

.alt3-name-inner {
  font-size: 16px; /* you can adjust separately if needed */
  color: #333;
  font-weight: 500;
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.alt3-edit-inner {
    color: #4285f4;
    border: none;
    background: rgba(66, 133, 244, 0.1);
    padding: 5px 13px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}

.alt3-edit-inner:hover {
    background: #4285f4;
    color: white;
}

.app-dropdown{
  max-height:200px;
  overflow-y: scroll;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active{
  background-color: #3B82F6 !important;
  color: #fff !important;
  cursor: pointer;
}

.dropdown-item.active {
  background-color: #3B82F6 !important;
  color: #fff !important;
  pointer-events: none !important;
}

.loading-overlay-template-replies{
  position: absolute !important;
  inset: 0 !important;
  z-index: 60 !important;
  display: grid !important;
  place-items: center !important;
  pointer-events: auto !important;
  background: rgba(255,255,255,0.50);
}

.forgetPasswordContent {
  display:inline; 
  width:auto;
}

.alt3-handle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 4px 0px;
  border-radius: 6px;
}

.alt3-child {
  display: flex;
  align-items: center;
  flex: 1;
}

.alt3-checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

/* DOWNLOAD PAGE DOWNLOAD PAGE DOWNLOAD PAGE DOWNLOAD PAGE */

.page-header-download {
    background: white;
    padding: 16px 24px;
    margin: 20px;
    margin-bottom: 0;
    border-bottom: 3px solid #4285f4;
    border-radius: 8px 8px 0 0;
}

.page-title-download {
    font-size: 22px;
    font-weight: 400;
    color: #333;
}

.alt3-content {
    margin: 0 20px 20px 20px;
    background: white;
    border-radius: 0 0 8px 8px;
    padding: 32px;
}

.inline-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inline-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding-top: 10px;
}

.required {
  color: #ef4444;
}

.form-input, .form-select {
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s;
    background: white;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.form-input:disabled, .form-select:disabled {
    background: #f5f5f5;
    cursor: not-allowed !important;
}

.form-help {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.multiselect {
    position: relative;
}

.multiselect-display {
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.multiselect-display:hover {
    border-color: #4285f4;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.alt1-dropdown {
  position: relative;
  width: 100%;
  max-width: 360px;
  font-family: inherit;
}

.alt1-dropdown.disabled {
  opacity: 0.6!important;
  pointer-events: none!important;
  cursor: not-allowed!important;
}

.alt1-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border: 1px solid #d1d5db;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.alt1-trigger:hover {
  border-color: #3b82f6;
}

.alt1-trigger.open {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.alt1-selected-text {
  flex: 1;
  font-size: 14px;
  color: #111827;
}

.alt1-count-badge {
  display: inline-block;
  background-color: #3b82f6;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 12px;
  margin-right: 6px;
}

.alt1-arrow {
  font-size: 12px;
  color: #6b7280;
  margin-left: 8px;
}

.alt1-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  max-height: 250px;
  overflow-y: hidden;
}

.alt1-menu.open {
  display: block;
}

.alt1-select-all {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #f3f4f6;
  background-color: #f9fafb;
}

.alt1-checkbox {
  margin-right: 8px;
  cursor: pointer;
}

.alt1-options {
  max-height: 180px;
  overflow-y: auto;
}

.summary-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 14px;
    color: #666;
}

.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.action-section {
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-secondary-outline {
    background: white !important;
    color: #666 !important;
    border: 2px solid #e0e0e0 !important;
}

.btn-secondary-outline:disabled {
    background: #ccc !important;
    border:none !important;
}

.btn-secondary-outline:hover {
    border-color: #4285f4 !important;
    background-color: #eaf1ff !important;
    color: black !important;
    cursor: pointer!important;
}

.btn-primary-export-download {
    background: #4285f4 !important;
    color: white !important;
}

.btn-primary-export-download:hover:not(:disabled) {
    background: #3367d6 !important;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3) !important;
}

.btn-primary-export-download:disabled {
    background: #ccc !important;
    border: none !important;
    color: #666 !important;
    cursor: not-allowed !important;
}

.alt1-option {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  transition: background-color 0.2s;
}

.alt1-option:hover {
  background-color: #f3f4f6;
}

.alt1-option-text {
  font-size: 14px;
  color: #111827;
}

.search-header {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.search-bar {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
}

.search-bar:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.25);
}