/* Estilos dedicados para el Asistente Chatbot Gesvasa */

#gesvasa-chat-btn {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid #154c2b;
	box-shadow: 0 8px 24px rgba(21, 76, 43, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9999;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#gesvasa-chat-btn:hover {
	transform: scale(1.08);
	box-shadow: 0 10px 28px rgba(21, 76, 43, 0.35);
}

#gesvasa-chat-window {
	display: none;
	position: fixed;
	bottom: 98px;
	right: 25px;
	width: 380px;
	max-width: calc(100vw - 40px);
	height: 520px;
	max-height: calc(100vh - 120px);
	background: #ffffff;
	border: 1px solid #d8e5dc;
	border-radius: 18px;
	box-shadow: 0 12px 35px rgba(0,0,0,0.18);
	z-index: 9999;
	flex-direction: column;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.chat-faq-btn {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	text-align: left !important;
	background: #f4f8f5 !important;
	border: 1px solid #d8e5dc !important;
	border-radius: 8px !important;
	padding: 8px 12px !important;
	font-size: 0.83rem !important;
	color: #154c2b !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	margin-bottom: 6px !important;
}

.chat-faq-btn:hover {
	background: #eef7c8 !important;
	border-color: #154c2b !important;
}

.chat-faq-btn-tour {
	background: #eef7c8 !important;
	border-color: #154c2b !important;
	font-weight: 700 !important;
}

/* Estética limpia y premium para el menú superior del cliente */
#topmenu-login-dropdown {
	position: relative !important;
}

#topmenu-login-dropdown .dropdown-menu {
	position: absolute !important;
	top: 100% !important;
	width: 270px !important;
	max-width: calc(100vw - 24px) !important;
	border-radius: 14px !important;
	border: 1px solid #d8e5dc !important;
	box-shadow: 0 12px 35px rgba(0,0,0,0.18) !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	padding: 0 !important;
	z-index: 99999 !important;
}

#topmenu-login-dropdown .user-header {
	background: linear-gradient(135deg, #154c2b 0%, #0d331c 100%) !important;
	padding: 18px 14px !important;
	text-align: center !important;
	color: #ffffff !important;
	border-bottom: 3px solid #B9CF2A !important;
}

#topmenu-login-dropdown .user-header img {
	border: 2px solid #B9CF2A !important;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
	width: 52px !important;
	height: 52px !important;
}

#topmenu-login-dropdown .user-header p {
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	margin-top: 6px !important;
	margin-bottom: 0 !important;
	color: #ffffff !important;
	line-height: 1.3 !important;
	white-space: normal !important;
	word-break: break-word !important;
}

#topmenu-login-dropdown .user-footer {
	background: #f8faf8 !important;
	padding: 10px 14px !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
}

#topmenu-login-dropdown .user-footer a.button-top-menu-dropdown {
	background: #ffffff !important;
	border: 1px solid #d8e5dc !important;
	color: #154c2b !important;
	border-radius: 8px !important;
	padding: 5px 12px !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	box-shadow: 0 2px 5px rgba(0,0,0,0.04) !important;
	transition: all 0.2s ease !important;
}

#topmenu-login-dropdown .user-footer a.button-top-menu-dropdown:hover {
	background: #154c2b !important;
	color: #ffffff !important;
	border-color: #154c2b !important;
}

/* Botón disparador de usuario en la barra superior en formato Píldora Elegante */
.login_block_user {
	display: inline-flex !important;
	align-items: center !important;
}

#topmenu-login-dropdown.user-menu a.login-dropdown-a {
	background: #ffffff !important;
	border: 1px solid #d8e5dc !important;
	border-radius: 30px !important;
	padding: 4px 14px 4px 6px !important;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	text-decoration: none !important;
}

#topmenu-login-dropdown.user-menu a.login-dropdown-a:hover {
	border-color: #154c2b !important;
	box-shadow: 0 4px 12px rgba(21, 76, 43, 0.15) !important;
}

#topmenu-login-dropdown.user-menu a.login-dropdown-a img {
	width: 28px !important;
	height: 28px !important;
	border-radius: 50% !important;
	border: 2px solid #154c2b !important;
}

#topmenu-login-dropdown.user-menu a.login-dropdown-a .atoploginusername {
	color: #154c2b !important;
	font-weight: 700 !important;
	font-size: 0.88rem !important;
}

/* Enlaces rápidos dentro del cuerpo del menú desplegable de usuario */
.gesvasa-user-menu-item {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 9px 12px !important;
	border-radius: 10px !important;
	color: #154c2b !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	font-size: 0.86rem !important;
	background: #f8faf8 !important;
	border: 1px solid #eef3ef !important;
	transition: all 0.2s ease !important;
}

.gesvasa-user-menu-item:hover {
	background: #eef7c8 !important;
	border-color: #154c2b !important;
	transform: translateX(3px);
}

/* Ocultar el botón redundante de desconexión externo en la barra superior (ya disponible en el desplegable) */
.login_block_other a[href*="logout"],
.login_block_other .logout-btn,
div.login_block a[href*="logout"]:not(#topmenu-login-dropdown a) {
	display: none !important;
}


