/**
 * Idea Exchange tour styles
 * Framework styles copied from gsportal/css/framework/tour.css
 * Plus Idea Exchange header "Start App Tour" button
 */

/* Start App Tour button (header) */
.ix-tour-btn {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #0b3a6e;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.ix-tour-btn:hover,
.ix-tour-btn:focus-visible {
	background: #0a2f59;
	color: #fff;
	transform: translateY(-1px);
}

.ix-tour-btn i {
	font-size: 1rem;
}

/* Tour highlight animation */
.tour-highlight {
	animation: tourPulse 1.5s ease-in-out infinite;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5) !important;
	border-radius: 4px;
	position: relative;
	z-index: 10000 !important;
}

@keyframes tourPulse {
	0% { box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); }
	50% { box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.2); }
	100% { box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); }
}

/* Tour tooltip base styles */
.tour-tooltip {
	background: #fff;
	border: 2px solid #007bff;
	border-radius: 6px;
	padding: 12px 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	max-width: 280px;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
}

.tour-message {
	margin-bottom: 8px;
}

.tour-buttons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

/* Arrow pointing up (tooltip below element) */
.tour-tooltip.tooltip-bottom::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #007bff;
}

.tour-tooltip.tooltip-bottom::after {
	content: "";
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #fff;
}

/* Arrow pointing down (tooltip above element) */
.tour-tooltip.tooltip-top::before {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #007bff;
}

.tour-tooltip.tooltip-top::after {
	content: "";
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #fff;
}

/* Tour button styles */
.tour-next {
	font-size: 12px;
	padding: 4px 12px;
	border: none;
	background: #007bff;
	color: white;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.tour-next:hover {
	background: #0056b3;
}

.tour-skip {
	font-size: 12px;
	padding: 4px 12px;
	border: 1px solid #6c757d;
	background: transparent;
	color: #6c757d;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tour-skip:hover {
	background: #6c757d;
	color: white;
}

/* Responsive adjustments */
@media (min-width: 768px) {
	.tour-tooltip {
		max-width: 320px;
		font-size: 15px;
	}
}
