body{
	font-family: Segoe UI Regular;
	padding: 0;
	margin: 0;
}

.blink {
  animation: blink-animation 1s infinite;
}

@keyframes blink-animation {
  50% {
    opacity: 0;
  }
}

.switch-container {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
}

.switch-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  padding: 0 6px;
  transition: background-color 0.3s ease-in-out;
  font-size: 12px;
  font-weight: bold;
  color: black;
}

.switch-label .switch-text {
  width: 50%;
  text-align: center;
  z-index: 1;
}

.switch-checkbox:checked + .switch-label {
  background-color: limegreen;
}

.switch-checkbox:checked + .switch-label .off {
  color: white;
  opacity: 0.3;
}

.switch-checkbox:checked + .switch-label .on {
  color: black;
  opacity: 1;
}

.switch-checkbox:not(:checked) + .switch-label .on {
  color: white;
  opacity: 0.3;
}

.switch-checkbox:not(:checked) + .switch-label .off {
  color: black;
  opacity: 1;
}



.content-page {
  overflow: hidden;
  padding: 0 15px 65px 15px;
  min-height: 80vh;
  margin-top: 85px; }

a.action-icon {
    margin-left: 10px;
}

.main-div{
	margin-top: 93px;
	margin-bottom: 0px;
}
.navbar-toggler:focus{
	box-shadow: none;
}
.navbar-expand-lg .navbar-nav .nav-link{
	padding-left: 40px;
	padding-right: 40px;
	font-size: 30px;
	color: #000;
	font-family: Segoe UI Bold;
}
.navbar-expand-lg .navbar-nav .nav-link.active{
	color: #167FC3;
}
.navbar{
	padding-left: 15px;
	padding-right: 15px;
	position: fixed;
	background-color: #fff;
	left: 0;
	right: 0;
	top: 0;
	z-index: 1000;
}
.navbar .container-fluid{
	padding-left: 0;
	padding-right: 0;
}
.setting-link{
	cursor: pointer;
	img{
		width: 35px;
	}
}
.ai-footer{
	border-top: 1px solid #167FC3;
	margin-top: 15px;
	padding:15px 15px 0;

	.footer-center-circle{
		display: flex;
		gap: 10px;

	}

	.footer-aibox{
		display: flex;
		align-items: center;
		gap:15px;

		h4{
			font-family: Segoe UI Bold;
			font-size: 25px;
			margin-bottom: 0;
		}
		span{
			width: 30px;
			height: 30px;
			background-color: #46b824;
			border-radius: 50%;
		}
	}

	.circle-aibox {
		flex: 1 1 0%;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.round-box {
		width: 75px;
		height: 75px;
		border-radius: 50%;
		background-color: #d1e8ff;
		color: #000;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		overflow: hidden;
		box-sizing: border-box;
		text-align: center;
	}

	.round-box span {
		font-family: Segoe UI Bold;
		font-size: clamp(14px, 2vw, 18px);
		line-height: 1.2;
		max-width: 90%;
		word-wrap: break-word;
		white-space: normal;
	}

	.round-box span small {
		display: block;
		font-family: Segoe UI Bold;
		font-size: 12px;
		margin-top: 4px;
	}

	.circle-aibox h5 {
		font-family: Segoe UI Bold;
		font-size: 16px;
	}

	.landscap-aibox{
		flex:1;
		text-align:center;
		display:flex;
		flex-direction:column;
		align-items:center;
		.round-box{
			width: 95px;
			height: 56px;
			text-align: center;
			border-radius: 10px;
			background-color: #ADEDDA33;
			color: #000;
			font-family: Segoe UI Bold;
			font-size: 25px;
			display: flex;
			align-items: center;
			text-align: center;
			justify-content: center;
			border: 1px solid #000;
			position:relative;

			span.blank{
				width: 30px;
				height: 30px;
				border-radius: 50%;
			}

			small{
				font-family: Segoe UI Regular;
				line-height: 0;
				display: block;
				font-size: 16px;

			}
		}
		h5{
			font-family: Segoe UI Bold;
			font-size: 20px;
			margin-bottom: 0;
		}
	}

	.alert-box{
		background-color:#FFFF0033 !important;
		span{
			background-color:#e9ea0c;
		}
	}
	.riskbg{
		background-color:#EDADAD33 !important;
		span{
			background-color:#da1714;
		}
	}
}
.pinkbg{
	background-color:#EDADAD33 !important;
}
.ai-calllist{
	height: calc(100vh - 385px);
	overflow: auto;

}
.ai-calllist::-webkit-scrollbar{
	display: none;
}

.ai-box{
	min-width: 100px;
	height: 56px;
	width: 100%;
	border-radius: 10px;
	border: 1px solid #000;
	padding: 1px 5px;
	position: relative;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items:center;

	.ai-left{
		text-align:center;
	}
	.ai-left .q-label {
		color: #000;
		font-size: 16px;
		font-weight: 600;
	}
	.ai-left .q-count {
		color: #000;
		font-size: 14px;
	}

	.ai-center-icon {
		max-width: 35px;
		margin-left: 3px;
		margin-right: 3px;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-shrink: 0;
	}
	.ai-center-icon .pink-callimg {
		max-width: 28px;
		height: 28px;
		object-fit: contain;
	}
	
	.ai-right{
		text-align:center;
	}
	.ai-right .min-number {
		font-size: 20px;
		font-weight: 600;
		line-height: 1;
		color: #000;
	}
	.ai-right .min-label {
		font-size: 12px;
		line-height: 1;
		color: #000;
	}
}
.ai-box.normal{
	background: #ADEDDA33;
}
.ai-box.yellow{
	background: #FFFF0033;
}
.ai-box.pink{
	background: #EDADAD33;
}

/* Dashboard node grid — fixed width for consistent spacing */
.ai-calllist .ai-box {
	width: 110px;
	min-width: unset;
}

/* Node List Skeleton */
@keyframes skeleton-shimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

/* ============================================================
   Node Loader — full-screen overlay shown while a supporter
   opens a node. Dismisses only when chat + room + answers are
   all ready (or on error, via bailOutToDashboard).
   ============================================================ */
@keyframes node-loader-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes node-loader-card-in {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes node-loader-glow-pulse {
	0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.55; }
	50%      { transform: translateX(-50%) scale(1.08); opacity: 0.85; }
}
@keyframes node-loader-spin {
	to { transform: rotate(360deg); }
}
@keyframes node-loader-spin-reverse {
	to { transform: rotate(-360deg); }
}
@keyframes node-loader-core-pulse {
	0%, 100% { transform: scale(1);   opacity: 1; }
	50%      { transform: scale(0.8); opacity: 0.75; }
}
@keyframes node-loader-step-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(50, 205, 50, 0.45); }
	50%      { box-shadow: 0 0 0 5px rgba(50, 205, 50, 0); }
}

.node-loader-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: radial-gradient(
		120% 120% at 50% 0%,
		rgba(247, 253, 248, 0.82) 0%,
		rgba(230, 246, 234, 0.86) 50%,
		rgba(205, 233, 214, 0.92) 100%
	);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	animation: node-loader-fade-in 0.22s ease-out both;
}

.node-loader-card {
	position: relative;
	background: #ffffff;
	border-radius: 22px;
	padding: 36px 36px 26px;
	width: 100%;
	max-width: 420px;
	box-shadow:
		0 24px 60px -18px rgba(17, 65, 30, 0.25),
		0 8px 24px -12px rgba(17, 65, 30, 0.18);
	text-align: center;
	animation: node-loader-card-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	overflow: hidden;
}

.node-loader-glow {
	position: absolute;
	top: -70px;
	left: 50%;
	transform: translateX(-50%);
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(50, 205, 50, 0.22) 0%,
		rgba(50, 205, 50, 0.0) 70%
	);
	filter: blur(6px);
	animation: node-loader-glow-pulse 2.6s ease-in-out infinite;
	pointer-events: none;
}

/* CSS-only dual-ring spinner (replaces the Lottie status icon) */
.node-loader-spinner {
	position: relative;
	width: 72px;
	height: 72px;
	margin: 4px auto 18px;
}
.node-loader-spinner-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border-style: solid;
	border-color: transparent;
}
.node-loader-spinner-ring--outer {
	border-width: 3px;
	border-top-color: #32CD32;
	border-right-color: #32CD32;
	animation: node-loader-spin 1.1s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.node-loader-spinner-ring--inner {
	inset: 10px;
	border-width: 2.5px;
	border-top-color: #2aa82a;
	border-left-color: #2aa82a;
	opacity: 0.7;
	animation: node-loader-spin-reverse 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.node-loader-spinner-core {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	border-radius: 50%;
	background: #32CD32;
	box-shadow: 0 0 12px rgba(50, 205, 50, 0.55);
	animation: node-loader-core-pulse 1.6s ease-in-out infinite;
}

.node-loader-title {
	font-family: "Segoe UI Bold", "Segoe UI", sans-serif;
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 6px;
	color: #14532d;
	letter-spacing: 0.2px;
}

.node-loader-subtitle {
	font-family: "Segoe UI Regular", "Segoe UI", sans-serif;
	font-size: 13px;
	line-height: 1.5;
	margin: 0 auto 20px;
	color: #5a6b5e;
	max-width: 320px;
}

.node-loader-steps {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.node-loader-step {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 14px;
	border-radius: 12px;
	background: #f5f9f6;
	transition: background 0.3s ease, color 0.3s ease;
}

.node-loader-step-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #d6dfd8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background 0.3s ease, transform 0.3s ease;
}

.node-loader-step-label {
	font-family: "Segoe UI Regular", "Segoe UI", sans-serif;
	font-size: 13px;
	color: #5a6b5e;
	font-weight: 500;
	letter-spacing: 0.1px;
}

.node-loader-step--active {
	background: #ecfbef;
}
.node-loader-step--active .node-loader-step-dot {
	background: #32CD32;
	animation: node-loader-step-pulse 1.6s ease-out infinite;
}
.node-loader-step--active .node-loader-step-label {
	color: #14532d;
	font-weight: 600;
}

.node-loader-step--done {
	background: #e3f7e6;
}
.node-loader-step--done .node-loader-step-dot {
	background: #2aa82a;
}
.node-loader-step--done .node-loader-step-label {
	color: #2f6b34;
}

.node-loader-step-spin {
	width: 10px;
	height: 10px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: node-loader-spin 0.8s linear infinite;
}

.node-loader-progress {
	position: relative;
	height: 5px;
	background: #eaf2ec;
	border-radius: 999px;
	overflow: hidden;
}
.node-loader-progress-bar {
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #32CD32 0%, #2aa82a 100%);
	transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.node-loader-progress-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
	font-family: "Segoe UI Regular", "Segoe UI", sans-serif;
	font-size: 11.5px;
	color: #6b7c6f;
	letter-spacing: 0.3px;
}

@media (max-width: 640px) {
	.node-loader-card {
		padding: 28px 22px 22px;
		border-radius: 18px;
	}
	.node-loader-spinner {
		width: 64px;
		height: 64px;
		margin-bottom: 14px;
	}
	.node-loader-title {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.node-loader-overlay,
	.node-loader-card,
	.node-loader-glow,
	.node-loader-spinner-ring--outer,
	.node-loader-spinner-ring--inner,
	.node-loader-spinner-core,
	.node-loader-step--active .node-loader-step-dot,
	.node-loader-step-spin {
		animation: none !important;
	}
	.node-loader-progress-bar {
		transition: none !important;
	}
}

.ai-box-skeleton {
	width: 110px;
	height: 56px;
	border-radius: 10px;
	border: 1px solid #e8e8e8;
	padding: 8px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f5f5f5;
	position: relative;
	overflow: hidden;
}

.ai-box-skeleton::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
	animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-bar {
	background: #e0e0e0;
	border-radius: 3px;
}

.skeleton-circle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e0e0e0;
}

.ai-center{
	height: calc(100vh - 385px);
	overflow: hidden;
}
.ai-center::-webkit-scrollbar{
	display: none;
}
.ai-center{
	border: 1px solid #000;
	border-radius: 10px;
	padding: 0px 15px 15px;
	display:flex;
	justify-content:space-between;
	text-align:center;

	.avalible-ai,
	.avalible-aicall,
	.avalible-aibreak,
	.avalible-ailunch {
		display: flex;
		flex-direction: column;
		height: 100%;
		flex: 1;
		min-width: 0;
	}

	h4{
		font-family: Segoe UI Bold;
		font-size: 20px;
		background: #fff;
		padding-top: 15px;
		padding-bottom: 10px;
		margin: 0 0 12px 0;
		border-bottom: 1.5px solid #eaeaea;
		flex-shrink: 0;
		text-align: center;
	}

	.agents-list-container {
		flex-grow: 1;
		overflow-y: auto;
		padding-bottom: 15px;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.agents-list-container::-webkit-scrollbar {
		display: none;
	}
	.avaliable-box-ai{
		text-align:center;
		margin-bottom: 12px;
		.call-number {
			background-color:#08FF00;
			width: 80px;
			height: 80px;
			border-radius: 50%;
			margin:auto;
			display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;

			.aspcall{
				background: #ddd;
                display: block;
                border-radius: 6px;
                font-family: Segoe UI Bold;
                font-size: 13px;
                font-weight: 700;
                color: #000;
                padding: 3px 6px;
                line-height: 1.2;
                text-align: center;
			}
			label.totalcall{
				font-family: Segoe UI Bold;
				font-size: 10px;
				color: #000;
				line-height: 1.2;
			}
		}
		p.ainame{
			font-size: 16px;
			font-family: Segoe UI Bold;
			margin-top: 5px;
		}
		.grey{
			background-color: #818181;
		}
		.orange{
			background-color: #ff5c03;
		}
	}
	.avaliable-box-ai {
		position: relative;
	}
	.btn-force-logout {
		position: absolute;
		top: 4px;
		right: 4px;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		border: none;
		background: rgba(220, 53, 69, 0.1);
		color: #dc3545;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		padding: 0;
		transition: background 0.2s;
	}
	.btn-force-logout svg {
		width: 14px;
		height: 14px;
		stroke-width: 2.5;
	}
	.btn-force-logout:hover {
		background: rgba(220, 53, 69, 0.25);
	}

}


.patient-filter {
    display: flex;
    gap: 15px;
    padding: 5px 15px 10px;
    align-items: center;
    border-bottom: 1px solid #167FC3;
}
.patient-filter label{
	font-size: 20px;
	color: #000;
	font-family: Segoe UI Bold;
}
.patient-filter span {
    border: 1px solid #000;
    border-radius: 10px;
    padding: 3px 4px;
    font-family: Segoe UI Bold;
    width: 70px;
    text-align: center;
    font-size: 20px;
}
.patient-filter .enter-id{
	height: 41px;
	width: 184px;
	border-radius: 10px;
	background-color: #000;
	color: #000;
	border: 0;
	font-size: 20px;
	font-family: Segoe UI Bold;
	text-align: center;
}
.patient-filter .enter-id::placeholder{
	color: #167FC350;
}
.p-relative{
	position: relative;
}
.patient-filter .search-patient {
    height: 41px;
    width: 460px;
    padding: 0 15px;
    border-radius: 10px;
    background-color: #ADEDDA37;
    color: #167FC3;
    border: 0;
    font-size: 20px;
    font-family: Segoe UI Bold;
    text-align: left;
}
.patient-filter div span{
	position: absolute;
	right: 10px;
	top: 2px;
}

.patient-filter .search-patient::placeholder{
	color: #167FC350;
}
a.view-snap-btn{
	background: #dce2e082;
	color: #167FC350;
	width: 191px;
	height: 41px;
	border-radius: 10px;
	text-decoration: none;
	text-align: center;
	font-family: Segoe UI Bold;
	line-height: 41px;
	font-size: 20px;
}
a.view-snap-btn.not-disabled{
	background: #ADEDDA37;
	color: #167FC3;
}
.patient-pagination nav ul.pagination li.page-item .page-link{
	border: 1px solid #000;
	border-radius: 10px;
	font-size: 20px;
	font-family: Segoe UI Bold;
	padding: 5px 12px;
	color: #000;
}
.patient-pagination nav ul.pagination li.page-item .page-link.not-disabled {
    margin-left: 2px;
    margin-right: 2px;
    border: 1px solid #167FC3;
    color: #167FC3;
    height: 40px;
    line-height: 26px;
}
.patient-pagination nav ul.pagination li.page-item:first-child .page-link{
	border: none;
	padding: 0;
	padding-right: 7px;
}
.patient-pagination nav ul.pagination li.page-item:last-child .page-link{
	border: none;
	margin-left: 0;
	padding: 0;
	padding-left: 7px;
}
.parent-details-section {
    border: 1px solid #167FC3;
    padding: 15px;
    min-height: 656px;
    max-height: 656px;
    margin-bottom: 25px;
    overflow: auto;
}
.parent-details-section::-webkit-scrollbar{
	display: none;
}
.parent-details-section h3{
	font-size: 20px;
	font-family: Segoe UI Bold;
	color: #167FC3;
	height: 25px;
	line-height: 25px;
}
.parent-details-section h3 a{
		margin-left: 10px;
	}
.clinical-details{
	height: 300px;
}
.patient-bottom{
	padding: 15px;
	border-top: 1px solid #167FC350;
	position: fixed;
	bottom: 0;
	left: 12px;
	right: 12px;
	text-align: center;
	background-color: #fff;
}
.patient-submit-btn{
	border-radius: 100px;
	height: 60px;
	width: 257px;
	background-color: #167FC350;
	color: #fff;
	font-size: 30px;
	font-family: Segoe UI Bold;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	line-height: 60px;
}
.patient-box{
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}
.patient-box p {
    flex-shrink: 0;
    margin-bottom: 0;
    flex: 1.7;
    font-size: 20px;
}
.patient-box div{
	flex: 2;
}
.patient-detail-list .patient-box p{
	flex: 1.3;
}
.patient-detail-list .patient-box div{
	flex: 2;
}
.other-list .patient-box p{
	flex: 1;
}
.other-list .patient-box div{
	flex: 2;
}
.clincal-list .patient-box p{
	flex: 1;
}
.clincal-list .patient-box div{
	flex: 2;
}
.clincal-list .patient-box div label{
	min-width: auto;
}

.patient-box div span{
	font-size: 20px;
}
.patient-box div label{
	padding: 0px 15px;
	border-radius: 50px;
	font-size: 20px;
	min-width: 100px;
	display: inline-block;
      cursor: pointer;
}
.bg-pgreen{
	background-color: rgba(8, 255, 0, 0.2);
}
.bg-pyellow{
	background-color: rgba(255, 255, 0, 0.2) !important;
}
.bg-red{
	background-color: rgba(237, 173, 173, 0.2);
}
.edit-input {
      display: none;
      font-size: inherit;
      padding: 0px 15px;
	  border-radius: 50px;
	  font-size: 20px;
	 min-width: 100px;
}
.save-btn{
	text-decoration: none;
	background-color: #08FF00;
	border-radius: 10px;
	color: #fff;
	font-family:'Segoe UI Regular';
	width: 60px;
	display: none;
	height: 25px;
	text-align: center;
	line-height: 25px;
}
.green-edit{
	display: none;
}
.parent-details-section h3.active{
	color: #08FF00;
}
.parent-details-section h3.active .save-btn{
	display: inline-block;
}
.parent-details-section h3.active a .green-edit{
	display: inline-block;
}
.parent-details-section h3.active a .blue-edit{
	display: none;
}
div#close_Modal .modal-content{
	border-radius: 72px;

}
div#close_Modal .modal-dialog{
	max-width: 603px;
}
.modal.show{
	background: #167fc375;
}
.close-details {
    padding: 30px 20px 50px;
}
.close-details a{
	display: inline-block;
}
.close-details a img{
	width: 30px;
}
.close-details h3 {
    font-size: 30px;
    font-family: 'Segoe UI Bold';
    line-height: 3;
    margin-bottom: 30px;
}
.close-btn-grp{
	display: flex;
	justify-content: space-around;
}
.close-btn-grp a{
	width: 184px;
	height: 41px;
	border: 1px solid #167FC330;
	color: #167FC3;
	font-size: 20px;
	text-align: center;
	text-decoration: none;
	border-radius: 10px;
	line-height: 41px;
	font-family: 'Segoe UI Bold';
	text-transform: uppercase;
}
.close-btn-grp a.yes-btn{
	background-color: #ADEDDA50;
}
.blue-border{
	border-top: 1px solid #167FC3;
	opacity: 1;
}

.patient-table tbody{
	border: 1px solid #167FC3;
	height: 100%;
}

.patient-table thead th{
	color: #167FC3;
}
.patient-table tr td,.patient-table thead th{
	border-bottom: 0;
}

.wrap-modal-slider {
  padding: 0 30px;
  opacity: 0;
  transition: all 0.3s;
  width: 100%;
  margin: auto;
  position: relative;
}
.slick-slide img {
    margin: auto;
}

.wrap-modal-slider.open {
  opacity: 1;
}

.slick-prev:before, .slick-next:before {
  color: red;
}

.slider-close{
	position: absolute;
	right: 100px;
	top: 20px;
	z-index: 1;
}
.slider-close img{
	max-width: 40px;
}
.slick-prev{
	width: 60px;
	height: 60px;
}
.slick-next{
	width: 60px;
	height: 60px;
}
.slick-prev:before, .slick-next:before{
	background: url(../images/prev.png);
	background-position: center;
	background-size: 100%;
	color: transparent;
	font-size: 50px;
	opacity: 1;
}
.slick-next:before{
	background: url(../images/next.png);
	background-position: center;
	background-size: 100%;
	color: transparent;
	font-size: 50px;
	opacity: 1;
}
.parent-details-section .border-right{
	border-right: 1px solid #167FC3;
}

.spend-btn{
	img{
		max-width: 77px;
	}
}
.barcontainer{
  background-color: #fff;
  border: 1px solid #707070;
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
  position: relative;
  transform: translateY(-50%);
  top: 47%;
  margin-left: 20px;
  width: 46px;
  height: calc(100% - 100px);
/*  //border darken(#98AFC7, 40%) 3px solid*/
}

.bar{
  background-color: #81ff7d;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80%;
/*  //border-top: 6px solid #FFF;*/
  box-sizing: border-box;
  animation: grow 1.5s ease-out forwards;
  transform-origin: bottom;
}
@keyframes grow{
  from{
    transform: scaleY(0);
  }
}

.chat-box{
	background-color: #effbf8;
	border: 1px solid #000;
	border-radius: 20px;
	height: calc(100vh - 450px);
	overflow: auto;
	display: flex;
	position: relative;
}
.chat-box::-webkit-scrollbar{
	display: none;
}
.chat-progress{
	position:relative;
	h4{
		font-size: 25px;
		font-family: 'Segoe UI Bold';
		width: 46px;
		text-align: center;
		margin-left: 20px;
		margin-left: 20px;
        margin-top: 55px;
        line-height: 0.8;

		small{
			font-family: 'Segoe UI Regular';
			font-size: 16px;
		}
	}
}
.chat-box-details::-webkit-scrollbar{
	display: none;
}
.chat-box-details {
	flex: 1;
	padding-left: 50px;
	padding-right: 50px;
	padding-top: 10px;
	height: calc(100% - 20px);
	overflow: auto;

	.chat-left {
		display: flex;
		gap: 8px;
		justify-content: flex-start;
		align-items: flex-start;
		margin-bottom: 20px;

		.chat-img {
			img {
				width: 49px;
				height: 49px;
				border-radius: 50%;
			}
		}

		.chat-details {
			flex: 1;
			max-width: 70%;

			div {
				border: 1px solid #0D767C;
				background: #fff;
				border-radius: 11px;
				padding: 10px;

				p {
					font-size: 14px;
					color: #0F130F;
					margin-bottom: 5px;
					overflow-wrap: break-word;
					white-space: pre-wrap;
				}
			}

			span {
				font-size: 10px;
				color: #0F130F;
				display: flex;
				align-items: center;
				gap: 2px;

				.dots {
					width: 3px;
					height: 3px;
					background-color: #0F130F;
					border-radius: 50%;
					display: inline-block;
					margin: 0 2px;
				}
			}
		}
	}

	.chat-right {
		display: flex;
		justify-content: flex-end;
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 20px;

		.chat-img {
			order: 2;
			img {
				width: 49px;
				height: 49px;
				border-radius: 50%;
			}
		}

		.chat-details {
			max-width: 70%;

			div {
				border: 1px solid #0D767C;
				background: #6FBA9D40;
				border-radius: 11px;
				padding: 10px;
				text-align: left;

				p {
					font-size: 14px;
					color: #0F130F;
					margin-bottom: 5px;
					overflow-wrap: break-word;
					white-space: pre-wrap;
				}
			}

			span {
				font-size: 10px;
				color: #0F130F;
				display: flex;
				align-items: center;
				gap: 2px;
				justify-content: flex-end;

				.dots {
					width: 3px;
					height: 3px;
					background-color: #0F130F;
					border-radius: 50%;
					display: inline-block;
					margin: 0 2px;
				}
			}
		}
	}
}
.chat-status{
	position: absolute;
	right: 5px;
	bottom:5px;

	span{
		width: 20px;
		height: 20px;
		border-radius: 50%;
		background-color: #46b824;
		display: inline-block;
	}
}
.questionanswer-box{
	height: calc(100vh - 450px);
    overflow: auto;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 15px 30px 15px 10%;
}
.questionanswer-box::-webkit-scrollbar{
	display: none;
}

.answer-box{
	display: flex;
	align-items: center;
	gap:5px;

	img{
		width: 30px;
		height: 30px;
		flex-shrink: 0;
	}

	p{
		display: inline-block;
		margin-bottom: 0;
		background-color: #167fc3;
		color: #fff;
		padding: 3px 10px;
		border-radius: 25px;
		min-width: 120px;
	}
}

.lex-instruction-tooltip-wrapper{
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}
.lex-instruction-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #007bff;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	font-style: italic;
	cursor: pointer;
	flex-shrink: 0;
}
.lex-instruction-tooltip{
	visibility: hidden;
	opacity: 0;
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background-color: #333;
	color: #fff;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 12px;
	line-height: 1.5;
	white-space: normal;
	width: 280px;
	z-index: 99999;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	transition: opacity 0.2s, visibility 0.2s;
}
.lex-instruction-tooltip::after{
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #333;
}
.lex-instruction-tooltip-wrapper:hover .lex-instruction-tooltip{
	visibility: visible;
	opacity: 1;
}

.lex-question-dimmed {
	opacity: 0.4;
	pointer-events: none;
	user-select: none;
}
.lex-question-dimmed td {
	position: relative;
}
.lex-question-dimmed .lex-dimmed-label {
	font-size: 10px;
	color: #999;
	font-style: italic;
	margin-left: 8px;
}

.questionanswer-box{
	padding-top:0;
	table{
		thead{
			position:sticky;
			top:0;
			background-color:#fff;
			z-index:1;
			th{
				color: #167fc3;
				padding: 10px;
			}
		}
		tbody{
			tr{
				td{
					padding: 5px 10px;
				}
			}
		}
	}
}
.patient-btngrp {
    padding-left: 35px;
    display:flex;
    gap:0px 10px;

    a{
    	text-decoration: none;
    	color: #000;
    	font-family: 'Segoe UI Bold';
    	background-color: #08FF004D;
    	font-size: 24px;
    	padding: 5px 15px;
    	border-radius: 10px;
    	border: 1px solid #000;
    }
}
.bg-cream{
	background-color: #EDADAD33 !important;
}
.bg-parot{
   background-color: #08FF004D !important;
}

/*-------------------------*/

.interface-progress{
	.barcontainer{
		height: 95%;
		top: 52%;
		border-radius: 0;
	}
}
.chat-bot-img{
	padding:15px;
	img{
		max-width: 100%;
	}
}
.call-end{
	margin-bottom: 20px;
	h4{
		color: #000;
    	font-family: 'Segoe UI Bold';
    	font-size: 16px;
    	text-align: center;
	}
}
.callinterface-box.chat-box{
	height: calc(100vh - 215px);
}

.chat-bottom{
	display: flex;
	gap:20px;
	padding:15px 0px 5px;

	.r-progress{
		flex-shrink: 0;
		width:120px;
		text-align:center;
		span{
			width: 50px;
            height: 50px;
            text-align: center;
            border-radius: 50%;
            background-color: #ADEDDA33;
            color: #000;
            font-family: Segoe UI Bold;
            font-size: 15px;
            display: flex;
            margin:auto;
;
            align-items: center;
            text-align: center;
            justify-content: center;
            border: 1px solid #000;
            position: relative;
		}
		label{
			font-family: Segoe UI Bold;
            font-size: 14px;
		}
	}

	.chat-input{
		flex:1;
		position:relative;
		textarea.form-control{
			width: 100%;
			resize: none;
			background-color: #6FBA9D40;
			color: #0000006B;
			border: 1px solid #000;
			padding-right: 50px;
		}
		.chat-icon{
			position: absolute;
			top: 30px;
			right: 10px;

			img{
				max-width: 30px;
			}
		}
	}
}
.questionanswer-box.interfaceanswerbox {
    position: relative;
    height: calc(100vh - 215px);
    padding-left: 5%;
}
.interface-table{
	height: calc(100% - 1px);
    overflow: auto;
    position: relative;
    width: 100%;
}
.interface-table::-webkit-scrollbar{
	display: none;
}

.interface-table .form-group.forcheck {
  display: block;
  margin-bottom: 5px;
}

.interface-table .form-group.forcheck input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.interface-table .form-group.forcheck label {
  position: relative;
  cursor: pointer;
}

.interface-table .form-group.forcheck label:before {
  content:'';
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 50%;
}

.interface-table .form-group.forcheck input:checked + label:after {
  content: '';
  display: block;
  position: absolute;
  top: 7px;
  left: 16.1px;
  width: 8px;
  height: 14px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bg-pblue{
	background: #167fc3;
}
.bg-lblue{
	background-color: #f6fafd;
}
.interface-table p,.interface-table span{
	margin-bottom: 0;
	padding: 3px 0px;
}
.interface-table label{
	padding: 3px 10px;
    border-radius: 25px;
}

.interface-table table tr td{
	padding: 0px 5px !important;
	vertical-align: top;
}
.answer-box label {
    padding: 3px 10px;
    border-radius: 25px;
    min-width: 60px;
}
/*.interface-table table thead {
    position: fixed;
    top: 40px;
    z-index: 1;
    max-width: 60%;
}*/
.empty-chatbox{
	display: flex;
	align-items: center;
	justify-content: center;

	h3{
		font-family: Segoe UI Bold;
            font-size: 20px;
	}
}
.airiskbg{
	background: #EDADAD33;
}
.bg-red{
	background: #da1714 !important;
}
.bg-yellow{
	background-color: #e9ea0c !important;
}
.examinkbg{
	background: #FFFF0033 !important;
}

.bar div {
    height: 61px;
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-size:14px;
    text-align:center;

    img{
    	padding: 5px 5px 0;
        width: 40px;
        height: 40px;
        text-align: center;
        border-radius: 50%;
        border: 1px solid #000;
        margin: auto;
        background: #81ff7d;
    }
    h5{
    	font-family: Segoe UI Bold;
        font-size: 14px;
        text-align: center;
        margin-bottom: 0;
    }
    p{
    	margin-bottom: 0;
    	text-align: center;
    	font-family: Segoe UI Bold;
        font-size: 14px;
    }
}
.leavecallbox {
    flex: 1;
    display: flex;
    gap:10px;
    padding-left:20px;
    padding-right:30px;

    a.leavecall{
    	background-color: #08FF00;
    	color: #fff;
    	font-family: Segoe UI Bold;
        font-size: 20px;
        text-decoration: none;
        padding: 0px 25px;
        line-height: 50px;
        height: 50px;
        border-radius: 10px;
        border: 1px solid #000;
        text-align: center;
        flex-shrink: 0;
    }
    .form-group{
    	width: 100%;
    	position:relative;

    	.form-control{
    		background: #FFFF0054;
    		height: 50px;
    		resize: none;
    		border: 1px solid #000;
    		border-radius: 10px;
    		font-size: 14px;
    		padding-right: 44px;
    	}
    }
    .form-icon {
        position: absolute;
        border: 0;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;

        img{
        	width: 28px;
        	height: 28px;
        	object-fit: contain;
        }
    }
}
.bar.live-chat-icon:before {
    content: '';
    position: absolute;
    background: url(../images/live-chat.png);
    width: 42px;
    height: 42px;
    top: 0px;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}
.bar.controlai:before{
	content: '';
    position: absolute;
    background: url(../images/talkmusic.png);
    width: 42px;
    height: 42px;
    top: 0px;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

/* ───────────── Modern Chat Progress (Production) ─────────────
 * Replaces the legacy .barcontainer / .bar layout. Keeps the same
 * vertical-column footprint but uses a polished card + gradient fill.
 */
.chat-progress-modern {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 8px;
    width: 120px;
    min-width: 120px;
    flex: 0 0 auto;
    align-self: stretch;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04),
                0 1px 3px rgba(16, 24, 40, 0.06);
    box-sizing: border-box;
    margin: 10px 0 10px 10px;
    overflow: hidden;
}
.chat-progress-modern::-webkit-scrollbar {
    width: 4px;
}
.chat-progress-modern::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}
.chat-progress-modern > .cpm-percent,
.chat-progress-modern > .cpm-track {
    align-self: center;
}
.chat-progress-modern .cpm-percent {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    font-family: 'Segoe UI Bold', 'Segoe UI', system-ui, sans-serif;
    color: #111827;
    line-height: 1.15;
    flex-shrink: 0;
}
.chat-progress-modern .cpm-percent .cpm-num {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.chat-progress-modern .cpm-percent .cpm-sign {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}
.chat-progress-modern .cpm-track {
    position: relative;
    width: 26px;
    min-height: 50px;
    flex: 1 1 auto;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.06);
}
.chat-progress-modern .cpm-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 999px;
    transition: height 600ms cubic-bezier(0.22, 1, 0.36, 1);
    background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5) inset;
}
.chat-progress-modern.status-yellow .cpm-fill {
    background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
}
.chat-progress-modern.status-red .cpm-fill {
    background: linear-gradient(180deg, #fda4af 0%, #e11d48 100%);
}
.chat-progress-modern .cpm-ticks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.chat-progress-modern .cpm-ticks span {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 1px;
    background: rgba(17, 24, 39, 0.08);
}
.chat-progress-modern .cpm-ticks span:nth-child(1) { top: 25%; }
.chat-progress-modern .cpm-ticks span:nth-child(2) { top: 50%; }
.chat-progress-modern .cpm-ticks span:nth-child(3) { top: 75%; }

/* ── Active Supporter Card (inside compact progress card) ── */
.chat-progress-modern .cpm-active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    min-height: 0;
    flex-shrink: 0;
}
.chat-progress-modern .cpm-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #6b7280;
    text-transform: uppercase;
}
.chat-progress-modern .cpm-section-title > span:first-child {
    flex: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chat-progress-modern .cpm-left-label {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0;
    text-transform: none;
}
.chat-progress-modern.cpm-inactive .cpm-active-card {
    background: #f9fafb;
    border-color: #e5e7eb;
    opacity: 0.9;
}
.chat-progress-modern.cpm-inactive .cpm-active-card .cpm-avatar img {
    box-shadow: 0 0 0 1px #e5e7eb,
                0 2px 4px rgba(16, 24, 40, 0.08);
}
.chat-progress-modern.cpm-inactive .cpm-active-card .cpm-avatar .cpm-dot {
    background: #9ca3af;
    box-shadow: none;
}
.chat-progress-modern .cpm-active-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 7px 6px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    flex-shrink: 0;
}
.chat-progress-modern .cpm-empty {
    padding: 14px 8px;
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    line-height: 1.4;
}
.chat-progress-modern .cpm-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.chat-progress-modern .cpm-avatar.cpm-avatar-lg {
    width: 42px;
    height: 42px;
}
.chat-progress-modern .cpm-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #e5e7eb,
                0 2px 4px rgba(16, 24, 40, 0.08);
    background: #f3f4f6;
}
.chat-progress-modern .cpm-active-card .cpm-avatar img {
    box-shadow: 0 0 0 2px #10b981,
                0 2px 6px rgba(16, 185, 129, 0.28);
}
.chat-progress-modern .cpm-avatar .cpm-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9ca3af;
    border: 2px solid #ffffff;
}
.chat-progress-modern .cpm-active-card .cpm-avatar .cpm-dot {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.chat-progress-modern .cpm-pname {
    display: block;
    font-family: 'Segoe UI Bold', 'Segoe UI', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}
.chat-progress-modern .cpm-role {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    line-height: 1.4;
    white-space: nowrap;
}
.chat-progress-modern .cpm-role.role-1 {
    color: #1d4ed8;
    background: #dbeafe;
}
.chat-progress-modern .cpm-role.role-2 {
    color: #7c3aed;
    background: #ede9fe;
}
.chat-progress-modern .cpm-role.role-3 {
    color: #b45309;
    background: #fef3c7;
}
.chat-progress-modern .cpm-role.role-unknown {
    color: #6b7280;
    background: #f3f4f6;
}
.chat-progress-modern .cpm-ptime {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    line-height: 1.4;
}
.chat-progress-modern .cpm-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 6px 8px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.chat-progress-modern .cpm-view-all:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}
.chat-progress-modern .cpm-view-all:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.chat-progress-modern .cpm-view-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    font-size: 10px;
    font-weight: 700;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
}

/* ── Participants Modal ── */
.cpm-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: cpmFade 150ms ease-out;
}
@keyframes cpmFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cpm-modal-card {
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 48px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.18),
                0 0 0 1px rgba(16, 24, 40, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: cpmRise 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cpmRise {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.cpm-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f3f4f6;
}
.cpm-modal-title {
    margin: 0;
    font-family: 'Segoe UI Bold', 'Segoe UI', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}
.cpm-modal-subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}
.cpm-modal-close {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}
.cpm-modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}
.cpm-modal-body {
    padding: 16px 24px 8px;
    overflow-y: auto;
    flex: 1;
}
.cpm-modal-empty {
    margin: 8px 0;
}
.cpm-modal-section {
    padding: 12px 2px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.cpm-modal-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cpm-modal-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    transition: background-color 150ms ease;
}
.cpm-modal-row.active {
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.cpm-modal-row.past {
    opacity: 0.82;
}
.cpm-modal-row .cpm-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.cpm-modal-row .cpm-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #e5e7eb,
                0 2px 4px rgba(16, 24, 40, 0.08);
    background: #f3f4f6;
}
.cpm-modal-row.active .cpm-avatar img {
    box-shadow: 0 0 0 2px #10b981,
                0 2px 6px rgba(16, 185, 129, 0.25);
}
.cpm-modal-row .cpm-avatar .cpm-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9ca3af;
    border: 2px solid #ffffff;
}
.cpm-modal-row.active .cpm-avatar .cpm-dot {
    background: #10b981;
}
.cpm-modal-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cpm-modal-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.cpm-modal-name {
    font-family: 'Segoe UI Bold', 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cpm-modal-topline .cpm-role {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    line-height: 1.4;
    white-space: nowrap;
}
.cpm-modal-topline .cpm-role.role-1 { color: #1d4ed8; background: #dbeafe; }
.cpm-modal-topline .cpm-role.role-2 { color: #7c3aed; background: #ede9fe; }
.cpm-modal-topline .cpm-role.role-3 { color: #b45309; background: #fef3c7; }
.cpm-modal-topline .cpm-role.role-unknown { color: #6b7280; background: #f3f4f6; }
.cpm-modal-email {
    font-size: 12px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cpm-modal-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.cpm-modal-time {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Segoe UI Bold', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.2;
}
.cpm-modal-time-label {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cpm-modal-time-value {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}
.cpm-modal-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.2;
}
.cpm-modal-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.cpm-modal-status.on { color: #047857; background: #d1fae5; }
.cpm-modal-status.off { color: #6b7280; background: #f3f4f6; }
.cpm-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid #f3f4f6;
}
.cpm-modal-btn {
    padding: 8px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: #111827;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 150ms ease;
}
.cpm-modal-btn:hover { background: #1f2937; }

.chat-progress-modern .cpm-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-top: 10px;
    padding-bottom: 0;
    border-top: 1px dashed #e5e7eb;
    width: 100%;
    line-height: 1.15;
    flex-shrink: 0;
}
.chat-progress-modern .cpm-total .cpm-total-num {
    font-family: 'Segoe UI Bold', 'Segoe UI', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}
.chat-progress-modern .cpm-total .cpm-total-label {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.interface-table{
	table{
		thead{
			th{
				background-color: #fff;
			}
		}
	}
}
.risk-alert{
	width: 70px;
}
.mice-icon img{
	width: 50px;
}

.mobile-popup-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.mobile-popup-box {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 320px;
  border-radius: 14px;
  text-align: center;
}

.scanner-popup-overlay {
  position: fixed;
  inset: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.scanner-popup {
  width: 90%;
  max-width: 420px;
  max-height: 58%;
  background: #fff;
  border-radius: 14px;
  overflow-y: auto;
  padding: 5px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.scanner-popup::-webkit-scrollbar {
  width: 6px;
}
.scanner-popup::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
