﻿.image-container {
	position: relative;
	display: inline-block;
}

	.image-container img {
		display: block;
		width: 100%;
		height: auto;
	}

.checkbox-wrapper {
	position: absolute;
	display: flex;
	/*align-items: center;*/
	transform: translate(-50%, -50%);
}

.left-label {
	margin-right: 5px; /* Adjust spacing between label and checkbox */
}

.right-label {
	margin-left: 5px; /* Adjust spacing between checkbox and label */
}

.checkbox {
	cursor: pointer;
}

.radio-options {
	position: absolute;
	/*display: flex;*/
	align-items: center;
	transform: translate(50%,50%);
}

.radio-option {
	cursor: pointer;
}

fieldset {
	overflow: hidden
}

.some-class {
	float: left;
	clear: none;
}

label {
	float: left;
	clear: none;
	display: block;
	padding: 0px 8px 0px 5px;
}

input[type=radio],
input.radio {
	float: left;
	clear: none;
	margin: 5px 0 0 0px;
}

/* Body Glass - new */
.p-image-subtitle {
	text-align: center;
	font-size: 14px;
}

.glass-area {
	fill: rgb(94, 184, 187);
}

.car-glass-component {
	width: 100%;
}

.image-container-key {
	flex-direction: column;
	display: flex;
	gap: 10px;
	/* From https://css.glass */
	/* background: rgba(0, 161, 178, 0.5); */
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.hide-key {
	display: none;
}

.show-key {
	position: fixed;
	backdrop-filter: blur(10px);
	width: 100%;
	height: 100%;
}

.Top-bar-car {
	width: 100%;
	justify-content: space-between;
	display: flex;
}

.Top-bar-chips {
}

#key-close-button {
	justify-content: end;
	display: flex;
	margin: 1rem 1rem 0 0;
}

#key-parent {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	margin: 2rem auto;
}

#key-top {
	grid-area: 1 / 1 / 2 / 3;
}

#key-left {
	grid-area: 2 / 1 / 4 / 2;
}

#key-right {
	grid-area: 2 / 2 / 4 / 3;
}

.key-label {
	flex-direction: column;
	display: flex;
}

.key-title {
	font-size: 16px;
}

.key-subtitle {
	font-size: 14px;
	font-style: italic;
	padding-left: 1rem;
}

#car-svg {
	height: 100%;
	width: 400px;
}

.svg_wrap, .car-glass-picker {
	text-align: center;
}

.glass {
	fill: #59BDC6;
	stroke: #3AB1BB;
	stroke-width: 1.5px;
	vector-effect: non-scaling-stroke;
	cursor: pointer;
	transition: filter 120ms ease;
}

	.glass:hover {
		filter: brightness(1.08);
	}

	.glass.is-selected {
		fill: #F5C542;
	}


/* Backdrop: dims the page, not the modal content */
.glass-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.35);
	display: grid;
	place-items: center;
	z-index: 9999;
	padding: 16px;
}

/* Modal container */
.glass-modal {
	width: min(900px, 96vw);
	max-height: min(80vh, 760px);
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 60px rgba(0,0,0,0.25);
	overflow: hidden; /* keeps rounded corners clean */
}

/* Header */
.glass-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(0,0,0,0.08);
}

.glass-modal__title {
	font-weight: 700;
	letter-spacing: 0.2px;
}

.glass-modal__close {
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	padding: 8px;
	border-radius: 10px;
	cursor: pointer;
}

	.glass-modal__close:hover {
		background: rgba(0,0,0,0.06);
	}

/* Scroll area */
.glass-modal__body {
	padding: 16px;
	overflow: auto;
}

/* Optional: better mobile behavior */
@media (max-width: 720px) {
	.glass-modal {
		width: 100%;
		max-height: 85vh;
		border-radius: 16px;
	}
}