/* 영신렌트카 상담문의 폼 스타일 */

.ys-contact-wrap {
	max-width: 700px;
	margin: 0 auto;
}

.ys-contact-msg {
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.ys-contact-msg.ys-success {
	background: #e8f5e9;
	border: 1px solid #4caf50;
	color: #2e7d32;
}

.ys-contact-msg.ys-error {
	background: #ffebee;
	border: 1px solid #ef5350;
	color: #c62828;
}

.ys-contact-form {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	padding: 36px 40px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.ys-form-group {
	margin-bottom: 22px;
}

.ys-form-group label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #333;
	margin-bottom: 8px;
}

.ys-required {
	color: #e53935;
	margin-left: 2px;
}

.ys-contact-form input[type="text"],
.ys-contact-form input[type="tel"],
.ys-contact-form input[type="email"],
.ys-contact-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	color: #333;
	background: #fafafa;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	box-sizing: border-box;
	font-family: inherit;
}

.ys-contact-form input[type="text"]:focus,
.ys-contact-form input[type="tel"]:focus,
.ys-contact-form input[type="email"]:focus,
.ys-contact-form textarea:focus {
	outline: none;
	border-color: #1a73e8;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}

.ys-contact-form input.ys-input-error,
.ys-contact-form textarea.ys-input-error {
	border-color: #ef5350;
}

.ys-contact-form textarea {
	resize: vertical;
	min-height: 130px;
}

/* 개인정보 */
.ys-privacy-group {
	background: #f8f9fc;
	border: 1px solid #e3e8f0;
	border-radius: 8px;
	padding: 14px 18px;
}

.ys-privacy-group label {
	margin-bottom: 0;
	font-weight: 400;
}

.ys-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.ys-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	width: 16px;
	height: 16px;
	accent-color: #1a73e8;
	cursor: pointer;
}

.ys-privacy-toggle {
	background: none;
	border: none;
	color: #1a73e8;
	cursor: pointer;
	font-size: 13px;
	padding: 0;
	text-decoration: underline;
}

.ys-privacy-detail {
	margin-top: 12px;
	background: #fff;
	border-radius: 6px;
	padding: 12px 14px;
	font-size: 13px;
	color: #666;
	line-height: 1.7;
	border: 1px solid #e0e0e0;
}

.ys-privacy-detail p {
	margin: 0;
}

/* 제출 버튼 */
.ys-form-submit {
	text-align: center;
	margin-top: 28px;
}

.ys-submit-btn {
	background: #1a73e8;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 15px 48px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
	letter-spacing: 0.5px;
	min-width: 180px;
}

.ys-submit-btn:hover {
	background: #1558b0;
	transform: translateY(-1px);
}

.ys-submit-btn:active {
	transform: translateY(0);
}

.ys-submit-btn:disabled {
	background: #aaa;
	cursor: not-allowed;
	transform: none;
}

/* 모바일 */
@media (max-width: 680px) {
	.ys-contact-form {
		padding: 24px 20px;
		border-radius: 8px;
	}
	.ys-submit-btn {
		width: 100%;
		padding: 14px;
	}
}
