
/* 반응형 타이틀 */
@media all and (min-width:320px) {
	.title {
		font-size: 35px;
	}
}

@media all and (min-width:1024px) {
	.title {
		font-size: 65px;
	}
}

/* 메인 배너 스타일 */
.main-visual {
	width: 100%;
	position: relative;
}

.slide-inner {
	position: relative;
	width: 100%;
}

.slide-inner a {
	display: block;
	position: relative; /* absolute에서 relative로 변경 */
	width: 100%;
	height: 100%;
	z-index: 2;
}

.responsive-img {
	width: 100%;
	height: auto;
	display: block;
}

/* 팝업 기본 스타일 */
.popup-car {
	height: auto;
	margin: 0 auto;
	background: white;
	padding: 30px;
	transform: translate(-50%, -50%);
	border-radius: 30px;
}

.input-group {
	padding: 0;
	width: 100%;
}

/* 차량 이미지 컨테이너 */
.car-image-container {
	display: flex;
	width: 100%;
}

.car-image {
	width: 100%;
	max-height: 360px;
	margin-bottom: 10px;
	object-fit: cover;
	height: 100%;
}

/* 차량 정보 필드 공통 스타일 */
.car-info-field {
	display: flex;
	width: 100%;
}

.field-label {
	width: 30%;
	line-height: 38px;
	font-weight:bold;
}

.field-value {
	display: block;
	margin-left: 0;
	width: 100%;
}

.field-input {
	height: 40px !important;
	padding: 8px !important;
	border-radius: 4px !important;
	background-color: #f9f9f9;
	margin-bottom: 8px;
	width: 100%;
}

.field-input:focus {
	outline: none;
	border-color: #007bff;
}

/* 버튼 컨테이너 */
.button-container {
	margin-top: 20px;
	text-align: center;
	display: block;
}

.btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.btn.gray {
	background-color: #6c757d;
	color: white;
}

.btn.gray:hover {
	background-color: #5a6268;
}

.close-button {
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 12px;
	cursor: pointer;
	color: #666;
}

.close-button:hover {
	color: #000;
}

/* 반응형 대응 */
@media ( max-width : 768px) {
	.car-info-field {
		flex-direction: column;
	}
	.field-label, .field-value {
		width: 100%;
	}
	.field-label {
		margin-bottom: 5px;
		font-weight: bold;
	}
	.carlist-item .carlist-cont img {
		margin-right: 5px;
		width: 4rem;
	}
	.info-carlist .carlist-item .carlist-cont {
		width: 100%;
		height: auto;
		text-align: center;
	}
	.carlist-item .carlist-cont {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.popup-car {
		width: 100%;
		max-width: 95%;
		height: 90%;
		overflow-y: auto;
		scrollbar-width: none;
	}
	.popup-car::-webkit-scrollbar {
		width: 6px;
	}
	.popup-car::-webkit-scrollbar-track {
		background: transparent;
	}
	.popup-car::-webkit-scrollbar-thumb {
		background: #ddd;
		border-radius: 3px;
	}
	.popup-car::-webkit-scrollbar-thumb:hover {
		background: #bbb;
	}
}