/**
 * Doctor profile sidebar — specialty FAQ (compact) + consultation CTA.
 *
 * Depends on doctor-faq.css for the base accordion styles; this file only
 * adds the compact sidebar variant, the premium consultation button, and the
 * standalone CTA card. Brand identity: navy #0A305E + cyan #34C3DB.
 *
 * @package aldoctorz-theme
 */

/* -------------------------------------------------------------------------
 * Sidebar FAQ — compact variant
 * ---------------------------------------------------------------------- */
.doctor-side-faq-wrap {
	margin-bottom: 1rem;
}

.doctor-side-faq-wrap .doctor-faq--sidebar {
	background: transparent;
	border-radius: 0;
}

.doctor-side-faq-wrap .doctor-faq__panel {
	border: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
	animation: none;
}

.doctor-side-faq-wrap .doctor-faq__header {
	margin-bottom: 0.85rem;
}

.doctor-side-faq-wrap .doctor-faq__title-icon {
	font-size: 22px;
}

.doctor-side-faq-wrap .doctor-faq__title-text {
	font-size: 1.02rem;
}

.doctor-side-faq-wrap .doctor-faq__list {
	gap: 0.5rem;
}

.doctor-side-faq-wrap .doctor-faq__trigger {
	padding: 0.75rem 0.85rem;
}

.doctor-side-faq-wrap .doctor-faq__question-text {
	font-size: 0.86rem;
}

.doctor-side-faq-wrap .doctor-faq__answer {
	padding: 0 0.85rem 0.85rem;
	font-size: 0.82rem;
}

/* -------------------------------------------------------------------------
 * Premium consultation CTA button — theme identity (navy + cyan)
 * ---------------------------------------------------------------------- */
.doctor-side-faq__consult {
	margin-top: 1.1rem;
	padding-top: 1.1rem;
	border-top: 1px solid #e6ecf0;
}

.doctor-side-faq__consult-hint {
	margin: 0 0 0.7rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #64748b;
	text-align: center;
}

.doctor-side-faq__consult-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.9rem 1.1rem;
	border-radius: 16px;
	background: linear-gradient(135deg, #0a305e 0%, #144a86 55%, #34c3db 130%);
	color: #fff;
	font-size: 0.94rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-decoration: none;
	box-shadow:
		0 12px 26px rgba(10, 48, 94, 0.3),
		0 2px 6px rgba(52, 195, 219, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/* Soft top sheen */
.doctor-side-faq__consult-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

/* Sweeping shine on hover */
.doctor-side-faq__consult-btn::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40%;
	inset-inline-start: -60%;
	background: linear-gradient(120deg,
			transparent 0%,
			rgba(255, 255, 255, 0.35) 50%,
			transparent 100%);
	transform: skewX(-18deg);
	pointer-events: none;
	z-index: 0;
	transition: inset-inline-start 0.6s ease;
}

.doctor-side-faq__consult-btn:hover,
.doctor-side-faq__consult-btn:focus-visible {
	transform: translateY(-2px);
	box-shadow:
		0 18px 36px rgba(10, 48, 94, 0.38),
		0 4px 10px rgba(52, 195, 219, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.26);
	color: #fff;
}

.doctor-side-faq__consult-btn:hover::after,
.doctor-side-faq__consult-btn:focus-visible::after {
	inset-inline-start: 120%;
}

.doctor-side-faq__consult-btn:focus-visible {
	outline: 2px solid #34c3db;
	outline-offset: 2px;
}

.doctor-side-faq__consult-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: rgba(52, 195, 219, 0.28);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	font-size: 0.82rem;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.doctor-side-faq__consult-btn-text {
	position: relative;
	z-index: 1;
}

.doctor-side-faq__consult-btn-arrow {
	display: inline-flex;
	align-items: center;
	position: relative;
	z-index: 1;
	font-size: 0.8rem;
	opacity: 0.95;
	transition: transform 0.25s ease;
}

/* Arrow nudges toward reading direction on hover */
.doctor-side-faq__consult-btn:hover .doctor-side-faq__consult-btn-arrow {
	transform: translateX(-4px);
}

[dir="ltr"] .doctor-side-faq__consult-btn:hover .doctor-side-faq__consult-btn-arrow {
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {

	.doctor-side-faq__consult-btn,
	.doctor-side-faq__consult-btn::after,
	.doctor-side-faq__consult-btn-arrow {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
 * Sidebar consultation CTA card — compact, premium, full width
 * ---------------------------------------------------------------------- */
.doctor-side-cta-wrap {
	margin-bottom: 1.25rem;
}

.doctor-side-cta {
	position: relative;
	overflow: hidden;
	width: 100%;
	border-radius: 18px;
	padding: 1.25rem 1.2rem 1.3rem;
	background: linear-gradient(135deg, #0a305e 0%, #144a86 55%, #34c3db 130%);
	color: #fff;
	box-shadow: 0 12px 30px rgba(10, 48, 94, 0.24);
}

.doctor-side-cta::after {
	content: "";
	position: absolute;
	inset-inline-end: -40px;
	top: -40px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

.doctor-side-cta__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 0.72rem;
	font-weight: 700;
	margin-bottom: 0.7rem;
}

.doctor-side-cta__title {
	margin: 0 0 0.4rem;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.4;
	color: #fff;
}

.doctor-side-cta__desc {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
}

.doctor-side-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.15rem;
	border-radius: 999px;
	background: #fff;
	color: #0a305e;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.doctor-side-cta__btn:hover,
.doctor-side-cta__btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
	color: #0a305e;
	background: #f4f9ff;
}

.doctor-side-cta__btn i {
	font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
	.doctor-side-cta__btn {
		transition: none;
	}
}

@media (max-width: 991px) {
	.doctor-side-cta {
		padding: 1.1rem 1rem 1.15rem;
	}
}