.kv-customer {
	color: #111111;
	margin: 0 auto;
	max-width: 1120px;
}

.kv-customer h2,
.kv-customer h3 {
	letter-spacing: 0;
}

.kv-customer-auth,
.kv-customer-panel,
.kv-customer-card,
.kv-customer-terms {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 24px;
}

.kv-customer-auth {
	max-width: 560px;
}

.kv-customer-kicker {
	color: #d71920;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.kv-customer-dashboard__head {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.kv-customer-dashboard__head h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.05;
	margin: 0;
}

.kv-customer-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 16px;
}

.kv-customer-dashboard__top {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	margin-bottom: 16px;
}

.kv-customer-card {
	min-height: 190px;
}

.kv-customer-card--compact {
	min-height: auto;
}

.kv-customer-panel {
	overflow: auto;
}

.kv-customer-card--strong {
	background: #090909;
	border-color: #090909;
	color: #ffffff;
}

.kv-customer-card h3,
.kv-customer-panel h3 {
	font-size: 1.1rem;
	margin: 0 0 12px;
}

.kv-customer-card p,
.kv-customer-panel p,
.kv-customer-terms p,
.kv-customer-terms li {
	color: inherit;
	line-height: 1.55;
}

.kv-customer-balance {
	color: #d71920;
	font-size: clamp(2.4rem, 5vw, 4rem);
	font-weight: 900;
	line-height: 1;
	margin: 0 0 10px;
}

.kv-customer-balance--small {
	font-size: clamp(2rem, 4vw, 3rem);
}

.kv-customer-split {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.kv-customer-split--wide {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 16px 0;
}

.kv-customer-actions div,
.kv-section-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

.kv-section-head {
	margin-bottom: 16px;
}

.kv-section-head h3 {
	margin: 0;
}

.kv-customer-form {
	display: grid;
	gap: 14px;
}

.kv-customer-form label {
	display: grid;
	gap: 6px;
}

.kv-customer-form span {
	font-weight: 800;
}

.kv-customer-form input,
.kv-customer-form textarea,
.kv-customer-form select {
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 6px;
	color: #111111;
	font: inherit;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.kv-customer-check {
	align-items: flex-start;
	display: flex !important;
	gap: 10px !important;
}

.kv-customer-check input {
	margin-top: 4px;
	min-height: auto;
	width: auto;
}

.kv-customer-form button,
.kv-customer-button {
	align-items: center;
	background: #d71920;
	border: 0;
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 900;
	justify-content: center;
	min-height: 46px;
	padding: 12px 16px;
	text-decoration: none;
	width: fit-content;
}

.kv-customer-button--small {
	border-radius: 6px;
	font-size: 0.92rem;
	min-height: 38px;
	padding: 8px 12px;
}

.kv-customer-button--dark {
	background: #111111;
}

.kv-customer-button--dark:hover,
.kv-customer-button--dark:focus {
	background: #000000;
}

.kv-customer-form button:hover,
.kv-customer-form button:focus,
.kv-customer-button:hover,
.kv-customer-button:focus {
	background: #a80f15;
	color: #ffffff;
	outline: none;
}

.kv-customer-message {
	border-radius: 8px;
	font-weight: 800;
	margin: 0 0 14px;
	padding: 12px 14px;
}

.kv-customer-message.is-error {
	background: #ffe9e9;
	color: #8f1010;
}

.kv-customer-message.is-success {
	background: #e7f7ed;
	color: #166534;
}

.kv-customer-table {
	border-collapse: collapse;
	width: 100%;
}

.kv-customer-table th,
.kv-customer-table td {
	border-bottom: 1px solid #eeeeee;
	padding: 10px 8px;
	text-align: left;
	vertical-align: top;
}

.kv-vehicle-section {
	margin-top: 16px;
}

.kv-customer-empty {
	background: #f6f6f6;
	border: 1px dashed #cccccc;
	border-radius: 8px;
	display: grid;
	gap: 12px;
	padding: 20px;
}

.kv-customer-empty p {
	margin: 0;
}

.kv-status-pill {
	background: #111111;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 900;
	padding: 5px 9px;
	white-space: nowrap;
}

.kv-vehicle-card-list {
	display: none;
	gap: 14px;
}

.kv-vehicle-card {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	display: grid;
	gap: 14px;
	padding: 18px;
}

.kv-vehicle-reg {
	color: #d71920;
	font-size: 1.25rem;
	font-weight: 900;
	margin: 0 0 4px;
}

.kv-vehicle-card h4 {
	font-size: 1.05rem;
	margin: 0;
}

.kv-vehicle-card dl {
	display: grid;
	gap: 8px;
	margin: 0;
}

.kv-vehicle-card dl div {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.kv-vehicle-card dt {
	color: #666666;
	font-weight: 800;
}

.kv-vehicle-card dd {
	margin: 0;
	text-align: right;
}

.kv-vehicle-actions {
	display: grid;
	gap: 10px;
}

.kv-vehicle-actions details,
.kv-vehicle-detail-list details {
	background: #f7f7f7;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px;
}

.kv-vehicle-actions summary,
.kv-vehicle-detail-list summary {
	cursor: pointer;
	font-weight: 900;
}

.kv-vehicle-detail-list {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.kv-vehicle-services h4 {
	font-size: 1rem;
	margin: 14px 0 8px;
}

.kv-vehicle-services ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.kv-vehicle-services li {
	background: #ffffff;
	border-left: 4px solid #d71920;
	padding: 10px 12px;
}

.kv-vehicle-services p {
	margin: 6px 0 0;
}

.kv-customer-badge {
	background: #111111;
	border-left: 5px solid #d71920;
	border-radius: 8px;
	color: #ffffff;
	display: inline-flex;
	gap: 8px;
	padding: 10px 12px;
}

.kv-customer-terms ul {
	display: grid;
	gap: 8px;
	margin: 18px 0 0;
	padding-left: 22px;
}

@media (max-width: 900px) {
	.kv-customer-grid,
	.kv-customer-split,
	.kv-customer-dashboard__top,
	.kv-customer-split--wide {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.kv-customer-auth,
	.kv-customer-panel,
	.kv-customer-card,
	.kv-customer-terms {
		border-radius: 0;
		margin-left: -18px;
		margin-right: -18px;
		padding: 18px;
	}

	.kv-customer-dashboard__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.kv-vehicle-table-wrap,
	.kv-vehicle-detail-list {
		display: none;
	}

	.kv-vehicle-card-list {
		display: grid;
	}
}
