/* RA AI Cyber Concierge - Light Mode Glassmorphic Cybersecurity UI */
:root {
	--ra-navy: #1c325e;
	--ra-orange: #ea5104;
	--ra-surface: #ffffff;
	--ra-card: #f8fafc;
	--ra-text: #1e293b;
	--ra-radius: 16px;
	--ra-width: 410px;
}

.ra-aicc-wrap {
	position: fixed;
	bottom: 22px;
	right: 22px;
	z-index: 99999;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--ra-text);
}

.ra-aicc-wrap.pos-left {
	right: auto;
	left: 22px;
}

.ra-aicc-inline-host .ra-aicc-wrap {
	position: relative;
	bottom: auto;
	right: auto;
	left: auto;
	z-index: 10;
}

.ra-aicc-launcher {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, var(--ra-navy) 0%, #132344 100%);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	padding: 12px 18px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 12px 30px rgba(28, 50, 94, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ra-aicc-launcher:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(28, 50, 94, 0.36);
}

.ra-aicc-pulse {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ra-orange);
	box-shadow: 0 0 0 4px rgba(234, 81, 4, 0.28);
}

.ra-aicc-window {
	width: var(--ra-width);
	max-width: calc(100vw - 28px);
	height: 610px;
	max-height: calc(100vh - 96px);
	background: var(--ra-surface);
	border: 1px solid rgba(28, 50, 94, 0.14);
	border-radius: var(--ra-radius);
	box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin-bottom: 12px;
}

.ra-aicc-window.glass {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px);
}

.ra-aicc-header {
	background: linear-gradient(135deg, var(--ra-navy) 0%, #132344 100%);
	color: #ffffff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ra-aicc-title-box h4 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ra-aicc-title-box p {
	margin: 2px 0 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.78);
}

.ra-aicc-region-pill {
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(234, 81, 4, 0.22);
	border: 1px solid rgba(234, 81, 4, 0.55);
	color: #ffd7c2;
}

.ra-aicc-close {
	background: rgba(255, 255, 255, 0.14);
	border: 0;
	color: #ffffff;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

/* Sticky Step Navigation Bar (Previous & Again Top) */
.ra-aicc-nav-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 14px;
	background: var(--ra-card);
	border-bottom: 1px solid #e2e8f0;
}

.ra-aicc-nav-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: var(--ra-navy);
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.ra-aicc-nav-btn:hover:not(:disabled) {
	border-color: var(--ra-orange);
	color: var(--ra-orange);
	background: #fff7ed;
}

.ra-aicc-nav-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ra-aicc-nav-btn.top-btn {
	background: rgba(28, 50, 94, 0.06);
	border-color: rgba(28, 50, 94, 0.2);
}

.ra-aicc-body {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	scroll-behavior: smooth;
}

.ra-aicc-bubble {
	padding: 11px 13px;
	border-radius: 12px;
	font-size: 12.5px;
	line-height: 1.55;
	max-width: 94%;
}

.ra-aicc-bubble.bot {
	background: var(--ra-card);
	border: 1px solid #e2e8f0;
	color: var(--ra-text);
	align-self: flex-start;
}

.ra-aicc-bubble.user {
	background: var(--ra-navy);
	color: #ffffff;
	align-self: flex-end;
}

/* Lead Gate Card */
.ra-aicc-lead-card {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 13px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.ra-aicc-lead-card label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: var(--ra-navy);
	margin-bottom: 4px;
}

.ra-aicc-lead-card input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-family: inherit;
	font-size: 12.5px;
	margin-bottom: 9px;
	box-sizing: border-box;
}

.ra-aicc-lead-card input:focus {
	outline: none;
	border-color: var(--ra-orange);
	box-shadow: 0 0 0 3px rgba(234, 81, 4, 0.12);
}

.ra-aicc-primary-btn {
	width: 100%;
	background: linear-gradient(135deg, var(--ra-orange) 0%, #cf4602 100%);
	color: #ffffff;
	border: 0;
	border-radius: 9px;
	padding: 9px 14px;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.ra-aicc-primary-btn:hover {
	opacity: 0.94;
	color: #ffffff;
}

/* Interactive Domain & Sub-Service Tabs */
.ra-aicc-tabs-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.ra-aicc-tab-card {
	text-align: left;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 11px;
	padding: 10px 12px;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.16s ease;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ra-aicc-tab-card:hover {
	border-color: var(--ra-orange);
	background: #fff7ed;
	transform: translateY(-1px);
}

.ra-aicc-tab-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ra-aicc-tab-title {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ra-navy);
}

.ra-aicc-tab-badge {
	font-size: 10px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(28, 50, 94, 0.08);
	color: var(--ra-navy);
}

.ra-aicc-tab-desc {
	font-size: 11.5px;
	color: #475569;
	line-height: 1.4;
}

/* Service Detail & Contact CTA Card */
.ra-aicc-detail-card {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-top: 3px solid var(--ra-orange);
	border-radius: 12px;
	padding: 13px;
}

.ra-aicc-detail-card h5 {
	margin: 0 0 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ra-navy);
}

.ra-aicc-detail-card p {
	margin: 0 0 9px;
	font-size: 12px;
	line-height: 1.5;
	color: #334155;
}

.ra-aicc-detail-card ul {
	margin: 0 0 12px;
	padding-left: 18px;
	font-size: 11.5px;
	color: #1e293b;
}

.ra-aicc-detail-card li {
	margin-bottom: 4px;
}

.ra-aicc-cta-box {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 10px;
	padding: 10px;
	margin-top: 8px;
}

.ra-aicc-cta-box p {
	margin: 0 0 8px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--ra-navy);
}

/* Bottom AI Question Input */
.ra-aicc-footer {
	border-top: 1px solid #e2e8f0;
	padding: 10px 12px;
	background: #ffffff;
}

.ra-aicc-input-row {
	display: flex;
	gap: 7px;
	align-items: center;
}

.ra-aicc-input-row input {
	flex: 1;
	padding: 9px 11px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	font-family: inherit;
	font-size: 12.5px;
}

.ra-aicc-input-row input:focus {
	outline: none;
	border-color: var(--ra-navy);
}

.ra-aicc-send-btn {
	background: var(--ra-navy);
	color: #ffffff;
	border: 0;
	border-radius: 9px;
	padding: 9px 13px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.ra-aicc-send-btn:hover {
	background: var(--ra-orange);
}

.ra-aicc-powered {
	margin-top: 5px;
	font-size: 10px;
	color: #64748b;
	display: flex;
	justify-content: space-between;
}
