@font-face {
	font-family: GTWalsheimPro;
	src: url('/fonts/GTWalsheimPro-CondensedRegular.ttf') format('truetype');
}

@font-face {
	font-family: GTWalsheimProLigth;
	src: url('/fonts/GTWalsheimPro-CondensedUltraLight.ttf') format('truetype');
}

@font-face {
	font-family: GTWalsheimProBold;
	src: url('/fonts/GTWalsheimPro-CondensedBold.ttf') format('truetype');
}

@font-face {
	font-family: Gotham-Medium;
	src: url('/fonts/Gotham-Medium.ttf') format('truetype');
}

@font-face {
	font-family: Gotham-Book;
	src: url('/fonts/Gotham-Book.ttf') format('truetype');
}

@font-face {
	font-family: GothamBlack;
	src: url('/fonts/Gotham-Black.ttf') format('truetype');
}

@font-face {
	font-family: Gotham-Bold;
	src: url('/fonts/Gotham-Bold.ttf') format('truetype');
}

@font-face {
	font-family: RobotoLigth;
	src: url('/fonts/Roboto-Light.ttf') format('truetype');
}

:root {
	--bgrColor1: #d7e1ec;
	--bgrColor2: #ffffff;
}

body {
	margin: 0;
	padding: 0;
	font-size: small;
	background: url('../img/bg-pattern.png'), linear-gradient(to left, var(--bgrColor1), var(--bgrColor2));
}

input,
select,
button,
span {
	font-size: 0.75rem !important;
}
label {
	font-size: 0.7rem !important;
	font-style: italic;
}

.starter-template {
	padding: 3rem 1.5rem;
	text-align: center;
}

.progress-crm {
	width: 500px;
	position: absolute;
	right: 0;
	top: 1;
	z-index: 100000;
}
#progress {
	width: 500px;
	position: absolute;
	right: 0;
	top: 1;
	z-index: 100000;
}

#divTable {
	overflow-x: auto;
}

.divTableScrool {
	overflow-x: auto;
}

.divImgScrool {
	max-height: 300px;
	max-width: 400px;
	overflow-x: auto;
	overflow-y: scroll;
}

.required:after {
	color: #d00;
	content: '*';
	/*     position: absolute; */
	margin-left: 3px;
	top: 10px;
}

.error {
	color: crimson;
	background-color: #f2dede;
	border-color: #ebccd1;
	padding: 1px 20px 1px 20px;
}

[data-notify='progressbar'] {
	margin-bottom: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 1px;
}

.table-striped tbody tr:nth-child(odd) td {
	background-color: #e0ecf8;
}

.table-striped tbody tr.highlight td {
	background-color: #bdbdbd;
}

.btnxs {
	font-size: 0.9em;
}

.clx-error {
	border-color: red;
}

.tableHeader {
	font-size: 8px;
}
.th-inner {
	padding: 5px !important;
}
.dropdown-item {
	font-size: 11px;
}

.chat-list-col {
	height: 85vh; /* Altura para la lista de chats */
	overflow-y: auto;
}

.chat-window {
	display: flex;
	flex-direction: column;
	height: 75vh; /* Altura fija para la ventana de chat */
}

.chat-messages {
	flex-grow: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding-bottom: 1rem;
}

.chat-date {
	text-align: center;
	margin: 1rem 0;
	color: #888;
	font-size: 0.8rem;
}

.message {
	max-width: 70%;
	padding: 10px 15px;
	border-radius: 20px;
	margin-bottom: 10px;
	position: relative;
}

.message-time {
	font-size: 0.75rem;
	color: #999;
	margin-top: 5px;
	text-align: right;
}

.message.received {
	background-color: #f1f1f1;
	align-self: flex-start;
	border-bottom-left-radius: 5px;
	min-width: 200px;
}

.message.sent {
	background-color: #e2f7cb;
	align-self: flex-end;
	border-bottom-right-radius: 5px;
	min-width: 200px;
	text-align: right;
}

.message.sent .message-time {
	color: #666;
}

.chat-input-bar {
	background-color: #f8f9fa;
}

.blink-animation {
	animation: blink 1s infinite;
}

@keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.main-card {
	border: none;
	border-radius: 1rem;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
	overflow: hidden; /* Para que los bordes de color se vean bien */
}

.rating-btn.active {
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
	font-weight: bold;
}
