/****************************/
/*tabulator over-rides Start*/
/****************************/
.tabulator {
	font-size: unset !important;
	background-color: #f6f6f6 !important;
}

.tabulator-col-title {
	text-align: center;
}

.tabulator .tabulator-header {
	/*  background: #45BDEE!important;*/
	background: #2a8ebc !important;
	border-top-left-radius: 1px !important;
	border-top-right-radius: 1px !important;
	color: #f6f6f6 !important;
}

.tabulator .tabulator-header .tabulator-col {
	/*   background: #45BDEE!important;*/
	background: #2a8ebc !important;
}

.tabulator .tabulator-footer {
	color: #f6f6f6 !important;
	/*background: #45BDEE!important;*/
	background: #2a8ebc !important;
}

.tabulator .tabulator-footer .tabulator-calcs-holder {
	background: #45bdee !important;
	color: #2a8ebc !important;
}

.tabulator-row .tabulator-cell .tabulator-data-tree-branch {
	border-left: 2px solid #45bdee !important;
	border-bottom: 2px solid #45bdee !important;
}

.tabulator-row .tabulator-cell .tabulator-data-tree-control {
	border-radius: 6px !important;
	background: #45bdee !important;
}

.tabulator-row.tabulator-row-even {
	background-color: #e8f7fd !important;
}

.tabulator-row.tabulator-group.tabulator-group-level-0.tabulator-group-visible.tabulator-row-odd {
	background-color: #45bdee !important;
}

.tabulator-row.tabulator-group.tabulator-group-level-0.tabulator-group-visible.tabulator-row-even {
	background-color: #45bdee !important;
}

.tabulator-row.tabulator-group span {
	/*   color: #f6f6f6!important;*/
	color: #2a8ebc !important;
}

.tabulator-paginator label {
	color: whitesmoke !important;
	display: unset !important;
	font-weight: normal;
	/*    font-size: 20px!important;*/
}

.tabulator .tabulator-footer .tabulator-page {
	color: #f6f6f6 !important;
	margin: 0 2px !important;
	padding: 2px 5px !important;
	border: 1px solid #45bdee !important;
	border-radius: 6px !important;
	background: #45bdee !important;
}

.tabulator .tabulator-footer .tabulator-paginator {
	text-align: right !important;
}

.tabulator .tabulator-footer .tabulator-page-size {
	border-radius: 6px !important;
	border-color: #92d2f5 !important;
}

.tabulator-row .tabulator-cell {
	height: unset !important;
	vertical-align: center !important;
	border-right: 0 solid #aaa !important;
}

.tabulator-cell div div {
	height: 25px !important;
	margin-top: 4px;
	border-radius: 6px;
}

.tabulator .tabulator-footer .tabulator-page.active {
	background-color: #2a8ebc !important;
}

@media (hover: hover) and (pointer: fine) {
	.tabulator-row.tabulator-selectable:hover {
		background-color: #45bdee !important;
		cursor: pointer;
		color: #f6f6f6 !important;
	}
}

@media (hover: hover) and (pointer: fine) {
	.tabulator-row.tabulator-selected:hover {
		background-color: #45bdee !important;
		cursor: pointer;
		color: #f6f6f6 !important;
	}
}

.tabulator_column_overflow {
	overflow: unset !important;
}

/* .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    //    white-space: normal;
    //    text-overflow: clip;
} */

.tabulator-frozen-rows-holder {
	color: #0f0f0f;
}

.action-buttons .tooltip-container {
	height: unset !important;
	overflow: visible !important;
	margin-top: 0;
}

.action-buttons .tooltip-container .tooltip-text {
	bottom: 25%;
	left: 25px;
	background-color: #b1bc2abd;
	color: #000;
	font-weight: bolder;
	padding: 0;
	border: 1px solid;
	width: 100px;
	pointer-events: none;
}
.callback-info-dialog .action-buttons {
	display: flex;
	gap: 2rem;
	justify-content: center;
	margin-top: 20px;
}
/****************************/
/*tabulator over-rides End*/
/****************************/

/****************************/
/*daterangepicker over-rides End*/
/****************************/
/* .daterangepicker {
      top: 330px!important;
} */

.daterangepicker select.monthselect {
	border-radius: 6px !important;
	border: 1px solid #45bdee !important;
}

.daterangepicker select.yearselect {
	border-radius: 6px !important;
	border: 1px solid #45bdee !important;
}

/****************************/
/*daterangepicker over-rides End*/
/****************************/

.tableHeaderFilterDropDiv {
	border: 1px solid #2a8ebc;
	border-radius: 6px;
	color: #2a8ebc;
	font-weight: bold;
}

.tableHeaderFilterInputDiv {
	color: #2a8ebc;
	font-weight: bold;
}

.tableHeaderFilterContent {
	border: 1px solid #45bdee;
	border-radius: 6px;
	color: #45bdee;
}

/* .CodeMirror-code>div {
       padding-left: 25px!important;
} */

.CodeMirror {
	height: 478px !important;
	/*    width: 565px!important;
    margin-right: 20px!important;*/
}

/****************************/
/*Zebra Dialog*/
/****************************/

.zebra_overide {
	/*  background: #2A8EBC!important;*/
	background-color: rgba(42, 142, 188, 0.3) !important;
	backdrop-filter: blur(10px) !important;
}

/* .zebra_overide .ZebraDialog_Body {
     background: #2A8EBC;
       height: 600px;
} */

/*.zebra_overide .ZebraDialog_Body {
    background: #2A8EBC;
}*/

.select2-container {
	z-index: 100000 !important;
	/* or any value that ensures it appears above other elements */
}

.select2-selection--multiple {
	/* background-color: #45BDEE!important;*/
	border: 1px solid #45bdee !important;
}

.available_report {
	max-width: unset;
}

.ZebraDialog.media-dialog {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.media-dialog span,
.transcript-dialog span {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
}

.media-dialog audio {
	width: 100%;
	border: 4px solid #45bdee;
	border-radius: 50px;
}

.ZebraDialog.transcript-dialog {
	display: flex;
	flex-direction: column;
	max-width: 1000px !important;
	height: 85vh;
	max-height: 85vh;
}
.dialog_info div {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	gap: 1.5rem
}
.dialog_info div label {
	font-weight: bold;
}
.transcript-dialog .ZebraDialog_Body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	margin: 10px 10px 0 10px;
	padding: 20px 20px 10px 20px;
	/* overflow: hidden; */
	min-height: 0;
}
.transcript-dialog .ZebraDialog_Body > div {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	/* overflow: hidden; */
	min-height: 0;
}
.transcript-cards {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	gap: 15px;
	/* overflow: hidden; */
	min-height: 0;
}
.transcript-container {
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: center;
	border: 5px double #45bdee;
	margin-top: 10px;
	padding: 20px;
	border-radius: 50px;
	background-color: #f9f9f9;
	box-shadow: 0 8px 12px #00000080;
	/* overflow: hidden; */
	min-height: 0;
}

.transcript {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 5px;
	padding: 40px;
	overflow-y: auto;
	width: 85%;
	max-height: 80%;
	min-height: 0;
}

.transcript-header {
	display: flex;
	justify-content: space-evenly;
	font-size: 18px;
	font-weight: bold;
	border-bottom: 2px solid #45bdee;
}

.transcript-cards .call-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border: 1px solid #45bdee;
	background-color: #f0f8ff;
	border-radius: 20px;
	width: -webkit-fill-available;
	margin-top: 20px;
	box-shadow: 0 8px 12px #00000080;
}
.call-info .call-info-details {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.call-info .call-info-span-group {
	display: flex;
	flex-direction: column;
}
.call-info .call-info-content {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: nowrap;
	text-wrap-mode: nowrap;
	justify-content: space-between;
	font-family: Roboto, sans-serif, monospace;
	font-size: 1rem;
}
.call-info span {
	margin: 5px 0;
	justify-content: flex-start;
}

.call-info .action-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 3rem;
	font-weight: bolder;
}

.transcript-sender {
	font-weight: bold;
}

.sender-agent {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.sender-human {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.sender-Live {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sender-Live .transcript-text {
	display: flex;
	padding: 10px;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	border: 3px solid #ff0000;
	background-image: repeating-linear-gradient(
		45deg,
		/* Color 1: A vibrant orange-red, starts at 0px and ends at 20px */
			rgba(255, 111, 97, 0.6) 0px,
		rgba(255, 111, 97, 0.6) 20px,
		/* Color 2: A slightly lighter shade, starts at 20px and ends at 40px */
			rgba(255, 164, 160, 0.6) 20px,
		rgba(255, 164, 160, 0.6) 40px
	);
	font-weight: bold;
	border-radius: 10px;
}

.sender-event_task_transition,
.sender-event_tool {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sender-event_task_transition .transcript-text {
	display: flex;
	padding: 10px;
	justify-content: center;
	width: 80%;
	border: 1px solid #09e848;
	background-color: #09e848;
	/* color: #fff; */
	font-weight: bold;
	border-radius: 10px;
}

.sender-event_task_transition .transcript-sender,
.sender-Live .transcript-sender,
.sender-event_tool .transcript-sender {
	display: none;
}

.transcript-text {
	display: flex;
	padding: 10px;
	max-width: 80%;
	border: 1px solid #45bdee;
	background-color: #fff;
	border-radius: 20px;
}

.transcript-inline-button {
	cursor: pointer;
	padding: 10px;
	justify-content: center;
	max-width: 80%;

	font-weight: bold;
}

.transcript-time {
	font-size: 12px;
	color: #888;
}

/* Enhanced Transcript Functionality Styles */
.transcript-dialog .transcript-controls {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.transcript-dialog .search-container {
	display: flex;
	align-items: center;
	gap: 5px;
	position: relative;
}

.transcript-dialog .search-container input {
	padding: 8px 12px;
	border: 2px solid #45bdee;
	border-radius: 20px;
	font-size: 14px;
	min-width: 200px;
	outline: none;
}

.transcript-dialog .search-container input:focus {
	border-color: #357abd;
	box-shadow: 0 0 5px rgba(69, 189, 238, 0.3);
}

.transcript-dialog .search-results {
	position: absolute;
	top: 100%;
	left: 0;
	background: #f0f8ff;
	border: 1px solid #45bdee;
	border-radius: 5px;
	padding: 5px 10px;
	font-size: 12px;
	color: #333;
	white-space: nowrap;
	z-index: 1000;
	display: none;
}

.transcript-dialog .export-container {
	display: flex;
	align-items: center;
	gap: 5px;
}

.transcript-dialog .live-update-container {
	display: flex;
	align-items: center;
	gap: 8px;
}

.transcript-dialog .status-indicator {
	font-size: 12px;
	color: #ccc;
	transition: color 0.3s ease;
}

.transcript-dialog .status-indicator.status-active {
	color: #28a745;
	animation: pulse 2s infinite;
}

.transcript-dialog .status-indicator.status-inactive {
	color: #dc3545;
}

.transcript-dialog .status-indicator.status-flash {
	color: #ffc107;
	animation: flash 0.5s ease-in-out;
}

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

@keyframes flash {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
}

.transcript-dialog .search-highlight {
	background-color: #fff3cd !important;
	border: 2px solid #ffc107 !important;
	border-radius: 5px;
	animation: highlight-flash 1s ease-in-out;
}

@keyframes highlight-flash {
	0% {
		background-color: #fff3cd;
	}
	50% {
		background-color: #ffeaa7;
	}
	100% {
		background-color: #fff3cd;
	}
}

.transcript-dialog .transcript-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
	font-weight: bold;
	border-bottom: 2px solid #45bdee;
	padding-bottom: 10px;
	flex-wrap: wrap;
	gap: 10px;
}

.transcript-dialog .icon-btn {
	background: none;
	border: 2px solid #45bdee;
	color: #45bdee;
	padding: 8px 12px;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
}

.transcript-dialog .icon-btn:hover {
	background-color: #45bdee;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(69, 189, 238, 0.3);
}

.transcript-dialog .icon-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(69, 189, 238, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.transcript-controls {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.search-container input {
		min-width: 150px;
	}

	.transcript-header {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
}
