/*--------------------------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////////////////////////
// New Patterns
////////////////////////////////////////////////////////////////////////////////////////////////////
------------------------------------------------------------------------------------------------- */

.form-embed {
    width: 100%;
    margin: 0 auto;
}

.form-embed iframe {
    width: 100%;
    border: 0;
    overflow: hidden;
}




/*--------------------------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////////////////////////
// NS Global Overrides
////////////////////////////////////////////////////////////////////////////////////////////////////
------------------------------------------------------------------------------------------------- */

/* Header
----------------------------------------
////////////////////////////////////// */
.header.header--overlay {
	position: absolute;
	top: 0;
	left: 0;
	background: none;
}


/* Eyebrow
----------------------------------------
////////////////////////////////////// */
.ns-eyebrow {
    color: var(--purple);
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}


/* Border Radius
----------------------------------------
////////////////////////////////////// */
.ns-container--border-radius-md,
.ns-container__border-radius-md {
    border-radius:12px
}




/*--------------------------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////////////////////////
// Observability - App
////////////////////////////////////////////////////////////////////////////////////////////////////
------------------------------------------------------------------------------------------------- */

.observability-app {
	position: relative;
	overflow: hidden;
    background: linear-gradient(180deg, #FFF 6.07%, var(--grey) 48.67%);
}

.observability-app .rd-button::after,
.observability-app .rd-button:hover::after,
.observability-app .rd-button:focus::after {
	content: none;
}
.observability-app .rd-button--primary:hover,
.observability-app .rd-button--primary:focus {
	color: var(--black);
}
.observability-app .ns-flex__row {
    position: relative;
    z-index: 1;
}


/* Observability - Header
----------------------------------------
////////////////////////////////////// */
.observability-app__header {
	pointer-events: none;
}

.observability-app__header a,
.observability-app__header button {
	pointer-events: auto;
}


/* Observability - Canvas
----------------------------------------
////////////////////////////////////// */
.observability-app__canvas {
    display: block;
    position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    z-index: 0;
}


/* Observability - Section
----------------------------------------
////////////////////////////////////// */

.observability-app__section {
    position: relative;
    z-index: 2;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.observability-app__section .heading {
	line-height: 1.25;
}

.observability-app__left {
	margin: 0 0 60px;
	opacity: 1;
	z-index: 0;
	pointer-events: auto;
	transition: all 1s ease;
}

.observability-app__center {
	position: relative;
	z-index: 2;
}

.observability-app__right {
	justify-content: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	z-index: 0;
}
@media screen and (min-width: 1280px) {
	.observability-app__left,
	.observability-app__right {
		margin-top: 60px;
		height: auto;
	}
}
@media screen and (max-width: 1279.98px) and (min-width: 768px) {
	.observability-app__center {
		padding-right: 30px;
	}
}



/* Observability - Hotspot Graphic
----------------------------------------
////////////////////////////////////// */
.hotspot-graphic {
    position: relative;
	rotate: 0deg;
	transition: all 1s ease;
}
@media screen and (min-width: 1280px) {
	.hotspot-graphic {
		padding-left: 30px;
		padding-right: 30px;
	}
}

.hotspot {
	position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    margin: auto;
	width: 9%;
    height: 9%;
	max-width: 48px;
    max-height: 48px;
	rotate: 0deg;
	scale: 1;
	opacity: 1;
	pointer-events: auto;
	transition: all 1s ease;
}

.hotspot-button {
    display: flex;
	align-items: center;
	flex-wrap: nowrap;
	position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
	background: none;
	border: 0;
	border-radius: 1000px;
	z-index: 0;
	transition: all 0.3s ease;
}

.hotspot-label::before,
.hotspot-button::before,
.hotspot-button::after {
	content: '';
	position: absolute;
	top: 0;
    left: 0;
    margin: auto;
	scale: 1;
	opacity: 1;
	display: inline-flex;
	border-radius: inherit;
	transition: all 0.3s ease;
}

.hotspot-button::before {
	background: url('/shared/test-drive/images/icon-youtube.svg') var(--green) no-repeat center;
	background-size: 0px auto;
	scale: 0.72;
	z-index: 1;
	width: auto;
	height: 100%;
	aspect-ratio: 1;
}

.hotspot-button::after {
	content: '×';
	justify-content: center;
	align-items: center;
	z-index: 1;
	width: auto;
	scale: 0;
	height: 100%;
	aspect-ratio: 1;
	font-size: 26px;
	font-weight: 700;
}

.hotspot-label {
	white-space: nowrap;
	display: inline-flex;
	height: 100%;
	align-items: center;
	padding: 0 40% 0 120%;
	position: relative;
	z-index: 0;
	border-radius: inherit;
	color: transparent;
	font-size: 0;
	font-weight: 600;
}
.hotspot-label::before {
	background: white;
	width: auto;
	height: 100%;
	aspect-ratio: 1;
	z-index: -1;
}

.hotspot.hotspot-hover,
.hotspot.hotspot-active {
	z-index: 1; 
}
.hotspot-hover .hotspot-button::before,
.hotspot-active .hotspot-button::after {
	scale: 1;
}
.hotspot-hover:not(.hotspot-active) .hotspot-button::before {
	background-size: 20px auto;
}
.hotspot-hover .hotspot-button .hotspot-label,
.hotspot-active .hotspot-button .hotspot-label {
	color: inherit;
	font-size: clamp(11px, 1.2vw, 18px);
	transition: all 0.3s ease;
}
.hotspot-hover .hotspot-button .hotspot-label::before,
.hotspot-active .hotspot-button .hotspot-label::before {
	width: 100%;
	background: rgba(255,255,255,0.94);
}
@media screen and (max-width: 767.98px) {
	.hotspot-hover:not(.hotspot-active) .hotspot-button::before {
		background-size: 14px auto;
	}
	.hotspot-label {
		padding-left: 105%;
	}
}


/* Observability - Bubble
----------------------------------------
////////////////////////////////////// */
.bubble {
	position: absolute;
	top: auto; 
	left: auto;
	right: 80%;
	bottom: 120%;
	margin: auto;
	z-index: 2;
	font-size: clamp(13px, 1.1vw, 16px);
	background: linear-gradient(223deg, #8DC900 1.59%, #85BD00 38.35%, #75A700 44.61%, #567A01 52.27%, #73A300 52.87%, #72A200 56.86%, #4E6E00 59.67%, #6C9900 62.77%, #628C00 80.51%, #324700 89.27%);
	border-radius: 12px;
	width: 18vw;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	transform: translate3d(0,0,0);
	transform-origin: bottom right;
	scale: 0;
	opacity: 0;
	pointer-events: none;
	transition: all 0.6s ease;
	width: 12vw;
	min-width: 280px;
	padding-right: 6px;
}
.loading .bubble {
	display: none;
}
.bubble::before {
	content: '';
	position: absolute;
	top: -6px;
	left: -6px;
	width: 100%;
	height: 100%;
	background: var(--green);
	z-index: 0;
	border-radius: inherit;
}
.bubble::after {
	content: '';
	position: absolute;
	top: calc(100% - 7px);
	right: 12%;
	width: 0;
	height: 0;
	z-index: 1;
	border-radius: 0 0 8px 0;
	border-style: solid;
	border-width: 40px 0 0 40px;
	border-color: var(--green) transparent transparent transparent;
}
.bubble__inner {
	padding:  1.2vw 1.8vw 1.8vw;
}
.bubble * {
	position: relative;
	z-index: 1;
}
.bubble__heading {
	font-size: clamp(18px, 1.5vw, 22px);
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}
.bubble__text {
	margin: 1em 0;
}
.bubble__button {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 10px;
	flex-wrap: nowrap;
    white-space: nowrap;
}
.bubble__button img {
	width: 18%;
}
.bubble__button:hover,
.bubble__button:focus {
	border-color: var(--white);
}
@media screen and (max-width: 1449.98px) {
	.bubble {
		width: 18vw;
    }

	.bubble__inner {
		padding: 1.8vw 2vw;
	}
}
@media screen and (max-width: 1279.98px) {
	.bubble {
		top: 170%; 
		left: 0;
		right: auto;
		bottom: auto;
		padding: 0 0 6px;
		transform: translate3d(-42%,0,0);
		transform-origin: top left;
	}

	.bubble::before {
		left: 0;
	}

	.bubble::after {
		top: auto;
		right: 5%;
		bottom: calc(100% - 10px);
		left: 0;
		margin: auto;
		border-width: 0 30px 30px 30px;
  		border-color: transparent transparent var(--green) transparent;
	}

	.bubble__inner {
		padding: 2vw 3vw 3vw;
	}
}
@media screen and (max-width: 767.98px) {
	.bubble {
		width: 50vw;
    }

	.bubble__inner {
		padding: 3vw 4vw 4vw;
	}
}

.hotspot--isactive .hotspot-active .bubble {
	scale: 1;
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0.6s;
}
@media screen and (min-width: 1280px) {
	.hotspot--isactive .observability-app__left {
		opacity: 0;
		pointer-events: none;
	}
}
@media screen and (max-width: 1279.98px) {
	.hotspot--isactive .hotspot:not(.hotspot-active) {
		scale: 0;
		opacity: 0;
		pointer-events: none;
	}
}



/* Observability - Hotspot Navigation
----------------------------------------
////////////////////////////////////// */
#observability-app__nav {
	position: relative;
	padding-left: 40px;
	counter-reset: item;
	list-style: none;
}
#observability-app__nav::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 40px;
	width: 1px;
	background: var(--black);
}
#observability-app__nav li {
	position: relative;
	counter-increment: item;
	margin: 50px 0;
	line-height: 10px;
	color: var(--grey-a80);
}
#observability-app__nav li::before {
	content: "0" counter(item);
	position: absolute;
	top: 0;
	right: 100%;
	bottom: 0;
	left: auto;
	margin: auto;
	padding: 0;
	padding-right: 20px;
	font: inherit;
	color: inherit;
	transition: all 0.3s ease;
}
#observability-app__nav button {
	position: relative;
	margin: -25px 0;
	padding: 25px 20px;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	font: inherit;
	transition: all 0.3s ease;
}
#observability-app__nav button::before,
#observability-app__nav button::after {
	content: '';
	position: absolute;
	top: 0;
    bottom: 0;
	right: 0;
    left: -100%;
    margin: auto;
	width: 20px;
	height: 20px;
	scale: 1;
	border-radius: 100%;
	border: 1px solid;
	background: white;
	transition: all 0.3s ease;
}
#observability-app__nav button::after {
	background: var(--green);
	scale: 0;
	border: 0;
	font: inherit;
}
#observability-app__nav .hotspot-hover button {
	text-decoration: underline;
}
#observability-app__nav .hotspot-hover button::after {
	scale: 0.3;
}
#observability-app__nav .hotspot-active {
	font-weight: 700;
	color: var(--black);
}
#observability-app__nav .hotspot-active button {
	text-decoration: none;
}
#observability-app__nav .hotspot-active button::before {
	border-color: white;
}
#observability-app__nav .hotspot-active button::after {
	scale: 0.6;
}


/* Observability - Modal
----------------------------------------
////////////////////////////////////// */
.observability-app .form__modal {
    backdrop-filter: blur(10px);
	padding: 0 30px;
}
.observability-app .form__modal__close {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	float: none;
	margin: auto 0 auto auto;
	font-size: 30px;
  	font-weight: 700;
}
.observability-app .form__modal .rd-button {
	float: none;	
}
.observability-app .form__modal p {
	font-size: 14px;
}
.observability-app .form__modal .form-embed {
    margin-top: 20px;
    margin-left: -8px;
    margin-right: -8px;
}
.observability-app .form__modal > div {
	width: 100%;
    backdrop-filter: none;
}
.form__modal > div.container--large {
	max-width: 1200px;
}

@media screen and (min-width: 768px) {
    .form__modal > div.container--small {
        max-width: 576px;
    }
}
@media screen and (max-width: 767.98px) {
    .form__modal > div {
        max-width: 90%;
		min-height: 100%;
		border-radius: 0;
		margin: 30px auto;
		padding: 30px;
    }
}




/*--------------------------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////////////////////////
// ADA
////////////////////////////////////////////////////////////////////////////////////////////////////
------------------------------------------------------------------------------------------------- */
.observability-app *:focus-visible {
	outline: 3px solid var(--blue-light) !important;
	outline-offset: 4px !important;
	transition: none !important;
}
.observability-app *:focus:not(:focus-visible) {
	outline: none !important;
}