/* Brina Feedback — footer addition (below the existing columns) + website feedback dialog. */

/* ---------- Footer addition: inherits the footer's navy background ---------- */
.brina-fb-footer {
	box-sizing: border-box;
	width: 100%;
	padding: 0 32px;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.brina-fb-invite {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-top: 36px;
	text-align: center;
}

.brina-fb-invite__title {
	margin: 0;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.brina-fb-invite__action {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 6px 4px;
	border: 0;
	background: transparent;
	color: #9db8ff;
	font: 500 14px/1.4 Inter, system-ui, sans-serif;
	text-decoration: underline;
	text-decoration-color: rgba(157, 184, 255, 0.45);
	text-underline-offset: 3px;
	cursor: pointer;
}

.brina-fb-invite__action:hover {
	color: #c7d6ff;
	text-decoration-color: currentColor;
}

.brina-fb-invite__action:focus-visible,
.brina-fb-legal a:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
	border-radius: 3px;
}

.brina-fb-sep {
	height: 0;
	margin: 22px 0 14px;
	border: 0;
	border-top: 1px solid rgba(203, 213, 225, 0.16);
}

.brina-fb-legal ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.brina-fb-legal li {
	margin: 0;
}

.brina-fb-legal a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: #9db8ff;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
}

.brina-fb-legal a:hover {
	color: #c7d6ff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 478px) {
	.brina-fb-footer {
		padding: 0 20px;
	}
	.brina-fb-legal a {
		min-height: 44px;
	}
}

/* ---------- Dialog ---------- */
.brina-fb-dialog {
	box-sizing: border-box;
	width: min(520px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	margin: auto;
	padding: 0;
	border: 1px solid #e3e8ef;
	border-radius: 16px;
	background: #ffffff;
	color: #172033;
	box-shadow: 0 24px 60px rgba(15, 39, 71, 0.28);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	overflow: auto;
}

.brina-fb-dialog::backdrop {
	background: rgba(7, 26, 43, 0.55);
}

.brina-fb-dialog *,
.brina-fb-dialog *::before,
.brina-fb-dialog *::after {
	box-sizing: border-box;
}

.brina-fb-dialog__inner {
	position: relative;
	padding: 26px 26px 22px;
}

.brina-fb-close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #3b4556;
	cursor: pointer;
}

.brina-fb-close:hover {
	background: #f1f4f9;
}

.brina-fb-dialog button:focus-visible,
.brina-fb-dialog a:focus-visible,
.brina-fb-dialog textarea:focus-visible {
	outline: 3px solid #5b4cf0;
	outline-offset: 2px;
}

.brina-fb-view[hidden] {
	display: none;
}

.brina-fb-eyebrow {
	margin: 0 0 4px;
	color: #5b4cf0;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.brina-fb-title {
	margin: 0 0 16px;
	padding-right: 40px;
	color: #0f2747;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
}

.brina-fb-title:focus {
	outline: none;
}

.brina-fb-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.brina-fb-rating {
	margin: 0;
	padding: 0;
	border: 0;
}

.brina-fb-rating legend {
	margin: 0 0 8px;
	padding: 0;
	color: #172033;
	font-size: 15px;
	font-weight: 600;
}

.brina-fb-req {
	color: #b42318;
}

.brina-fb-stars {
	display: flex;
	gap: 4px;
}

.brina-fb-star__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.brina-fb-star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	color: #c3cad8;
	cursor: pointer;
}

.brina-fb-star svg {
	fill: currentColor;
	stroke: #9aa5b8;
	stroke-width: 1;
}

.brina-fb-star.is-on {
	color: #f5a623;
}

.brina-fb-star.is-on svg {
	stroke: #c27a00;
}

.brina-fb-star__input:focus-visible + .brina-fb-star {
	outline: 3px solid #5b4cf0;
	outline-offset: 1px;
}

.brina-fb-rating__label {
	min-height: 20px;
	margin: 4px 0 0;
	color: #3b4556;
	font-size: 14px;
	font-weight: 600;
}

.brina-fb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.brina-fb-field label {
	color: #172033;
	font-size: 15px;
	font-weight: 600;
}

.brina-fb-opt {
	color: #5f6b7e;
	font-weight: 500;
}

.brina-fb-field textarea {
	width: 100%;
	min-height: 110px;
	padding: 11px 13px;
	border: 1px solid #c9d1df;
	border-radius: 10px;
	color: #172033;
	font: 16px/1.45 Inter, system-ui, sans-serif;
	resize: vertical;
}

.brina-fb-field textarea:focus {
	border-color: #24398f;
}

.brina-fb-count {
	margin: 0;
	color: #5f6b7e;
	font-size: 13px;
	text-align: right;
}

.brina-fb-privacy {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f4f6fb;
	color: #3b4556;
	font-size: 13.5px;
	line-height: 1.5;
}

.brina-fb-privacy a,
.brina-fb-thanks a {
	color: #24398f;
	font-weight: 600;
}

.brina-fb-error {
	margin: 6px 0 0;
	color: #b42318;
	font-size: 13.5px;
	font-weight: 600;
}

.brina-fb-error::before {
	content: "! ";
}

.brina-fb-error[hidden],
.brina-fb-alert[hidden] {
	display: none;
}

.brina-fb-alert {
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #f4c7c3;
	border-left: 4px solid #b42318;
	border-radius: 10px;
	background: #fef3f2;
	color: #7a271a;
	font-size: 14px;
	font-weight: 600;
}

.brina-fb-trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.brina-fb-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 4px;
}

.brina-fb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	font: 600 15px/1.2 Inter, system-ui, sans-serif;
	cursor: pointer;
}

.brina-fb-btn--primary {
	background: #24398f;
	color: #ffffff;
}

.brina-fb-btn--primary:hover {
	background: #1c2d73;
}

.brina-fb-btn--primary[disabled] {
	opacity: 0.75;
	cursor: progress;
}

.brina-fb-btn--ghost {
	border-color: #c9d1df;
	background: #ffffff;
	color: #24398f;
}

.brina-fb-thanks p {
	margin: 0 0 8px;
	color: #3b4556;
	font-size: 15px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 478px) {
	.brina-fb-dialog__inner {
		padding: 22px 18px 18px;
	}
	.brina-fb-actions {
		flex-direction: column-reverse;
	}
	.brina-fb-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.brina-fb-dialog * {
		transition: none !important;
	}
}
