/* Bright Addons: PDF Viewer */
.e-con > .elementor-widget-bafe-pdf-viewer,
.e-con-inner > .elementor-widget-bafe-pdf-viewer {
	width: var(--container-widget-width, 100%);
	--flex-grow: var(--container-widget-flex-grow);
}

.bafe-pdf {
	box-sizing: border-box;
	width: 100%;
	min-width: min(100%, 260px);
	border: 1px solid #e4e1f2;
	border-radius: 14px;
	background: #ffffff;
	overflow: hidden;
}

.bafe-pdf .bafe-pdf__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding: 12px 16px;
	border-bottom: 1px solid #e4e1f2;
	background: #f7f6fd;
}

.bafe-pdf .bafe-pdf__icon {
	display: inline-flex;
	flex: none;
	color: #5b4bff;
}

.bafe-pdf .bafe-pdf__name {
	display: flex;
	flex: 1 1 160px;
	flex-direction: column;
	min-width: 0;
}

.bafe-pdf .bafe-pdf__title {
	overflow: hidden;
	color: #1d1b36;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bafe-pdf .bafe-pdf__meta {
	color: #6b6886;
	font-size: 12px;
	line-height: 1.4;
}

.bafe-pdf .bafe-pdf__actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bafe-pdf > .bafe-pdf__actions {
	display: flex;
	padding: 12px 16px;
	border-top: 1px solid #e4e1f2;
}

.bafe-pdf .bafe-pdf__actions .bafe-pdf__btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid #5b4bff;
	border-radius: 999px;
	background: transparent;
	color: #5b4bff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bafe-pdf .bafe-pdf__actions .bafe-pdf__btn--download {
	background: #5b4bff;
	color: #ffffff;
}

.bafe-pdf .bafe-pdf__frame {
	position: relative;
	height: 680px;
	background: #ecebf3;
}

.bafe-pdf .bafe-pdf__iframe {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
}

.bafe-pdf .bafe-pdf__fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 100%;
	padding: 24px;
	box-sizing: border-box;
	text-align: center;
}

.bafe-pdf.is-fallback .bafe-pdf__bar .bafe-pdf__actions,
.bafe-pdf.is-fallback > .bafe-pdf__actions {
	display: none;
}

.bafe-pdf.is-fallback .bafe-pdf__frame {
	height: auto !important;
	min-height: 180px;
}

.bafe-pdf .bafe-pdf__fallback-text {
	max-width: 420px;
	margin: 0;
	color: #3d3a5c;
	font-size: 15px;
	line-height: 1.5;
}

.bafe-pdf__note {
	margin: 0;
	padding: 16px;
	color: #5c5a78;
	font-size: 14px;
	text-align: center;
}

.bafe-pdf [hidden] {
	display: none !important;
}
