/* Feature Requests — public suggestion + upvoting board */

.fr-submit-card {
	border: 1px solid #f0ece4;
	border-radius: 1rem;
	box-shadow: 0 2px 10px rgba(25, 30, 58, 0.05);
	position: sticky;
	top: 1.5rem;
}

.fr-form-error {
	background: #fdecea;
	color: #b3261e;
	border-radius: 0.5rem;
	padding: 0.6rem 0.9rem;
	font-size: 0.85rem;
	margin-bottom: 1rem;
}

.fr-form-success {
	text-align: center;
	color: #191e3a;
	font-weight: 600;
	padding: 1.5rem 0;
}

/* Honeypot — visually hidden but present in the DOM (not display:none),
   so bots that only skip display:none fields still get caught. */
.fr-honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.fr-list-col {
	margin-top: 2rem;
}

@media (min-width: 992px) {
	.fr-list-col {
		margin-top: 0;
	}
}

.fr-sort-toggle {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.fr-sort-link {
	border: 1px solid #e5e0d8;
	background: #fff;
	color: #191e3a;
	border-radius: 999px;
	padding: 0.4rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.fr-sort-link:hover {
	border-color: #ed8134;
}

.fr-sort-link.is-active {
	background: #ed8134;
	border-color: #ed8134;
	color: #fff;
}

.fr-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fr-card {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	background: #fff;
	border: 1px solid #f0ece4;
	border-radius: 1rem;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1rem;
	box-shadow: 0 2px 10px rgba(25, 30, 58, 0.05);
}

.fr-vote-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	border: 1px solid #e5e0d8;
	border-radius: 0.75rem;
	background: #fff;
	color: #191e3a;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fr-vote-arrow {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 7px solid currentColor;
}

/* Scoped away from .is-voted explicitly (rather than relying on source
   order) since :hover already outweighs a single class on specificity —
   without this, hovering a voted (navy-filled) button would apply this
   navy text color on top of its own navy background and disappear. */
.fr-vote-btn:hover:not(:disabled):not(.is-voted) {
	border-color: #191e3a;
	color: #191e3a;
}

.fr-vote-btn.is-voted {
	background: #191e3a;
	border-color: #191e3a;
	color: #fff;
	/* Still clickable — clicking again removes the vote — so it keeps the pointer cursor. */
	cursor: pointer;
}

.fr-vote-btn.is-voted:hover:not(:disabled) {
	background: #2a3155;
	border-color: #2a3155;
	color: #fff;
}

.fr-vote-btn:disabled {
	opacity: 1;
}

.fr-card-heading {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 0.4rem;
}

.fr-category-badge {
	background: #f0ece4;
	color: #4a4740;
	font-weight: 600;
}

.fr-status-open {
	background: #8a8578;
	color: #fff;
}

.fr-status-planned {
	background: #747ed1;
	color: #fff;
}

.fr-status-in-progress {
	background: #3f78e0;
	color: #fff;
}

.fr-status-done {
	background: #45c4a0;
	color: #fff;
}

.fr-status-closed {
	background: #e2626b;
	color: #fff;
}

.fr-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #191e3a;
	margin-bottom: 0;
	text-align: left;
}

.fr-card-description {
	color: #4a4740;
	line-height: 1.6;
	margin-bottom: 0;
	text-align: left;
}

.fr-empty {
	text-align: center;
	color: #8a8578;
	padding: 2rem 0;
	list-style: none;
}

.fr-status-divider {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8a8578;
	margin: 1.75rem 0 0.75rem;
}

.fr-status-divider:first-child {
	margin-top: 0;
}

@media (max-width: 575px) {
	.fr-submit-card {
		position: static;
	}

	.fr-card {
		padding: 0.85rem 1rem;
		gap: 0.85rem;
	}

	.fr-vote-btn {
		width: 44px;
		height: 44px;
		font-size: 12px;
	}

	.fr-vote-arrow {
		border-left-width: 4px;
		border-right-width: 4px;
		border-bottom-width: 6px;
	}

	.fr-card-title {
		font-size: 15px;
	}

	.fr-card-description {
		font-size: 14px;
	}
}
