/* OffWorldly Member Chat — My Account workspace */
.ow-member-chat-workspace {
	color: #f8fbff;
	font-family: "Inter", sans-serif;
	max-width: 1180px;
	width: 100%;
}

.ow-member-chat-workspace[hidden] {
	display: none !important;
}

.ow-member-chat-hero {
	align-items: flex-end;
	background:
		radial-gradient(circle at 86% 18%, rgba(64, 214, 255, .16), transparent 34%),
		linear-gradient(135deg, #111b31 0%, #0d1629 58%, #09111f 100%);
	border: 1px solid #20385c;
	border-radius: 18px 18px 0 0;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	overflow: hidden;
	padding: 30px 32px 27px;
	position: relative;
}

.ow-member-chat-hero::after {
	border: 1px solid rgba(64, 214, 255, .16);
	border-radius: 50%;
	content: "";
	height: 150px;
	position: absolute;
	right: 70px;
	top: -92px;
	transform: rotate(-16deg);
	width: 360px;
}

.ow-member-chat-kicker {
	color: #40d6ff;
	display: block;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .16em;
	margin-bottom: 8px;
	position: relative;
	text-transform: uppercase;
	z-index: 1;
}

.ow-member-chat-hero h2 {
	color: #fff;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.04;
	margin: 0 0 9px;
	position: relative;
	z-index: 1;
}

.ow-member-chat-hero p {
	color: #aab8cc;
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
	max-width: 680px;
	position: relative;
	z-index: 1;
}

.ow-member-find-button {
	align-items: center;
	background: #3b82f6;
	border: 1px solid #63a0ff;
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(15, 84, 190, .3);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 800;
	gap: 9px;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	position: relative;
	transition: background .2s ease, transform .2s ease;
	z-index: 2;
}

.ow-member-find-button:hover,
.ow-member-find-button:focus-visible {
	background: #2563eb;
	transform: translateY(-2px);
}

.ow-member-find-button svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 20px;
}

.ow-member-chat-note {
	align-items: center;
	background: #0d1728;
	border-left: 1px solid #20385c;
	border-right: 1px solid #20385c;
	color: #8fa1ba;
	display: flex;
	font-size: 13px;
	gap: 10px;
	padding: 11px 32px;
}

.ow-member-chat-note svg {
	fill: none;
	height: 18px;
	stroke: #40d6ff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 18px;
}

.ow-member-chat-frame {
	background: #080f1d;
	border: 1px solid #20385c;
	border-radius: 0 0 18px 18px;
	min-height: 680px;
	overflow: hidden;
}

.ow-member-chat-frame iframe {
	background: #0b1120;
	border: 0;
	display: block;
	height: 680px;
	width: 100%;
}

.ow-member-chat-review {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 520px;
	padding: 48px 28px;
	text-align: center;
}

.ow-member-chat-review strong {
	color: #fff;
	font-family: "Space Grotesk", sans-serif;
	font-size: 26px;
}

.ow-member-chat-review p {
	color: #9aa9bd;
	line-height: 1.7;
	max-width: 620px;
}

/* Standalone chat page when embedded in the dashboard. */
body.ow-chat-embed {
	background: #0b1120 !important;
	margin: 0 !important;
	min-height: 100vh;
	overflow: hidden !important;
}

body.ow-chat-embed #wpadminbar,
body.ow-chat-embed > header,
body.ow-chat-embed > footer,
body.ow-chat-embed .elementor-location-header,
body.ow-chat-embed .elementor-location-footer,
body.ow-chat-embed .ekit-template-content-header,
body.ow-chat-embed .ekit-template-content-footer {
	display: none !important;
}

body.ow-chat-embed .site-main,
body.ow-chat-embed .page-content,
body.ow-chat-embed .elementor,
body.ow-chat-embed .e-con,
body.ow-chat-embed .e-con-inner,
body.ow-chat-embed .elementor-widget,
body.ow-chat-embed .elementor-widget-container {
	box-sizing: border-box;
	margin: 0 !important;
	max-width: none !important;
	min-height: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

body.ow-chat-embed #ow-chat-app {
	border: 0 !important;
	border-radius: 0 !important;
	height: 680px !important;
	max-height: 680px !important;
	min-height: 680px !important;
	width: 100% !important;
}

.ow-member-chat-nav-icon {
	align-items: center;
	display: inline-flex;
	justify-content: center;
}

.ow-member-chat-nav-icon svg {
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 18px;
}

@media (max-width: 820px) {
	.ow-member-chat-hero {
		align-items: stretch;
		flex-direction: column;
		padding: 24px 20px 22px;
	}

	.ow-member-find-button {
		width: 100%;
	}

	.ow-member-chat-note {
		align-items: flex-start;
		padding: 11px 20px;
	}

	.ow-member-chat-frame,
	.ow-member-chat-frame iframe {
		height: 72vh;
		min-height: 580px;
	}

	body.ow-chat-embed #ow-chat-app {
		height: 72vh !important;
		max-height: 72vh !important;
		min-height: 580px !important;
	}
}

@media (max-width: 520px) {
	.ow-member-chat-hero h2 {
		font-size: 31px;
	}

	.ow-member-chat-kicker {
		font-size: 11px;
	}

	.ow-member-chat-frame,
	.ow-member-chat-frame iframe {
		min-height: 540px;
	}

	body.ow-chat-embed #ow-chat-app {
		min-height: 540px !important;
	}
}
