/*
   Contenedor del botón circular del bot.
   Queda fijo abajo a la derecha.
*/
#div1 {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999999;
}

/*
   Wrapper relativo del bot.
   Sirve para posicionar correctamente el texto flotante "¿Te ayudo?"
*/
#widgetBot {
	position: relative;
}

/*
   Botón circular del bot.
   Tiene la imagen del bot como fondo.
*/
#botonBot {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	border: 3px solid #06708a;
	background: #b8dde3 url('https://telemercado.com.ar/bots/bot-ospe.png') no-repeat center;
	background-size: 70px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/*
   Globo de texto que aparece al pasar el mouse por el bot.
*/
.fraseBot {
	position: absolute;
	right: 100px;
	bottom: 25px;
	background: #fff;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: bold;
	color: #06708a;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	opacity: 0;
	transition: 0.3s;
	white-space: nowrap;
}

/* Estado visible del globo */
.fraseBot.active {
	opacity: 1;
}

/*
   Cuando está abierto el chat humano:
   - ocultamos el botón del bot
   - ocultamos el df-messenger principal
*/
body.human-chat-open #div1,
body.human-chat-open df-messenger {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/*
   Contenedor del chat humano (iframe).
   Está fijo abajo a la derecha.
   Tiene overflow hidden para recortar partes internas del widget embebido.
*/
#cntNeoChat {
	position: fixed;
	right: 16px;
	bottom: 8px;
	width: 360px;
	height: 430px;
	display: none;
	z-index: 1000001;
	background: transparent;
	overflow: hidden;
	border-radius: 6px;
}

/*
   Iframe del chat humano.
   Se hace más alto que el contenedor para recortar visualmente la parte de abajo.
*/
#iframeWebChat {
	display: block;
	width: 100%;
	height: 620px;
	border: none;
	background: transparent;
}

/*
   Botón minimizar del chat humano.
   Es invisible como botón, y la rayita se dibuja con ::before.
*/
#minimizarNeoChat {
	position: absolute;
	top: 10px;
	right: 50px;
	z-index: 1000002;
	width: 16px;
	height: 16px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
	margin: 0;
	outline: none;
	box-shadow: none;
}

/*
   Rayita blanca del botón minimizar.
*/
#minimizarNeoChat::before {
	content: '';
	position: absolute;
	top: 7px;
	left: 0;
	width: 16px;
	height: 2px;
	background: #ffffff;
	border-radius: 2px;
}

/* Efecto hover suave */
#minimizarNeoChat:hover {
	opacity: 0.85;
}

/*
   Barra minimizada del chat humano.
   Aparece cuando se minimiza el chat.
*/
#chatMinBar {
	position: fixed;
	right: 16px;
	bottom: 0;
	width: 180px;
	height: 36px;
	display: none;
	align-items: center;
	justify-content: space-between;
	padding: 0 14px;
	box-sizing: border-box;
	background: #14aebb;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	border-radius: 6px 6px 0 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
	z-index: 1000001;
	cursor: pointer;
	user-select: none;
}

/* Flecha de la barra minimizada */
#chatMinBar .flecha {
	font-size: 20px;
	line-height: 1;
	margin-top: -2px;
}
