/* rVnb module — dark theme, green-teal palette */
folk-vnb-view {
	display: block;
	min-height: 400px;
	padding: 20px;
}

folk-vehicle-card {
	display: block;
}

folk-rental-request {
	display: block;
}

/* ── Vehicle Cards Grid ── */
.vnb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.25rem;
}

.vnb-card {
	background: var(--rs-surface, #1e293b);
	border: 1px solid var(--rs-border, #334155);
	border-radius: 0.75rem;
	overflow: hidden;
	transition: border-color 0.15s, box-shadow 0.15s;
	cursor: pointer;
}
.vnb-card:hover {
	border-color: rgba(16, 185, 129, 0.4);
	box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.vnb-card__cover {
	width: 100%;
	height: 180px;
	background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(20,184,166,0.1));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	position: relative;
}

.vnb-card__body {
	padding: 1rem 1.25rem;
}

.vnb-card__title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--rs-text, #e2e8f0);
	margin: 0 0 0.25rem;
	line-height: 1.3;
}

.vnb-card__specs {
	font-size: 0.78rem;
	color: var(--rs-text-muted, #94a3b8);
	margin-bottom: 0.5rem;
}

.vnb-card__owner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.82rem;
	color: var(--rs-text-muted, #94a3b8);
	margin-bottom: 0.75rem;
}

.vnb-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.vnb-card__location {
	font-size: 0.8rem;
	color: var(--rs-text-muted, #94a3b8);
}

/* ── Economy Badges ── */
.vnb-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.72rem;
	font-weight: 500;
	padding: 0.2rem 0.5rem;
	border-radius: 9999px;
	white-space: nowrap;
}

.vnb-badge--gift {
	background: rgba(52, 211, 153, 0.12);
	color: #34d399;
	border: 1px solid rgba(52, 211, 153, 0.2);
}

.vnb-badge--exchange {
	background: rgba(96, 165, 250, 0.12);
	color: #60a5fa;
	border: 1px solid rgba(96, 165, 250, 0.2);
}

.vnb-badge--sliding_scale {
	background: rgba(245, 158, 11, 0.12);
	color: #f59e0b;
	border: 1px solid rgba(245, 158, 11, 0.2);
}

.vnb-badge--suggested {
	background: rgba(167, 139, 250, 0.12);
	color: #a78bfa;
	border: 1px solid rgba(167, 139, 250, 0.2);
}

.vnb-badge--fixed {
	background: rgba(148, 163, 184, 0.12);
	color: #94a3b8;
	border: 1px solid rgba(148, 163, 184, 0.2);
}

.vnb-badge--type {
	background: rgba(16, 185, 129, 0.08);
	color: #34d399;
	border: 1px solid rgba(16, 185, 129, 0.15);
}

.vnb-badge--mileage {
	background: rgba(6, 182, 212, 0.08);
	color: #22d3ee;
	border: 1px solid rgba(6, 182, 212, 0.15);
}

/* ── Search Bar ── */
.vnb-search {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
	align-items: center;
}

.vnb-search__input {
	flex: 1;
	min-width: 200px;
	padding: 0.6rem 1rem;
	border-radius: 0.5rem;
	border: 1px solid var(--rs-border, #334155);
	background: var(--rs-surface, #1e293b);
	color: var(--rs-text, #e2e8f0);
	font-size: 0.9rem;
}
.vnb-search__input:focus {
	outline: none;
	border-color: #10b981;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

.vnb-search__select {
	padding: 0.6rem 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid var(--rs-border, #334155);
	background: var(--rs-surface, #1e293b);
	color: var(--rs-text, #e2e8f0);
	font-size: 0.82rem;
}

/* ── Rental Status ── */
.vnb-status {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.6rem;
	border-radius: 0.375rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.vnb-status--pending { background: rgba(245,158,11,0.15); color: #f59e0b; }
.vnb-status--accepted { background: rgba(52,211,153,0.15); color: #34d399; }
.vnb-status--declined { background: rgba(239,68,68,0.15); color: #ef4444; }
.vnb-status--cancelled { background: rgba(148,163,184,0.15); color: #94a3b8; }
.vnb-status--completed { background: rgba(96,165,250,0.15); color: #60a5fa; }
.vnb-status--endorsed { background: rgba(167,139,250,0.15); color: #a78bfa; }
