/* ===== 청우 제보/문의 폼 ===== */
.cwr {
	margin: 0 auto;
	color: #333;
	font-size: 15px;
	box-sizing: border-box;
}

.cwr * {
	box-sizing: border-box;
}

.cwr-alert,
.cwr-msg {
	padding: 14px 18px;
	border-radius: 6px;
	margin: 0 0 24px;
	font-size: 14px;
	white-space: pre-line;
}

.cwr-ok {
	background: #eaf6ec;
	color: #2e7d32;
	border: 1px solid #cbe6cf;
}

.cwr-err {
	background: #fdecea;
	color: #c62828;
	border: 1px solid #f5c6c2;
}

.cwr-section {
	margin: 0 0 24px;
	color: #d21f28;
	font-size: 20px;
	font-weight: 800;
}

/* 행 */
.cwr-row {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 10px 0;
}

.cwr-row-top {
	align-items: flex-start;
}

.cwr-label {
	flex: 0 0 120px;
	font-weight: 700;
	color: #222;
	padding-top: 2px;
}

.cwr-req {
	color: #d21f28;
	margin-left: 2px;
}

.cwr-field {
	flex: 1 1 auto;
	min-width: 0;
}

.cwr input[type=text],
.cwr input[type=email],
.cwr input[type=password],
.cwr textarea,
.cwr-select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #333;
	background: #fff;
	font-family: inherit;
}

.cwr input::placeholder,
.cwr textarea::placeholder {
	color: #aaa;
}

.cwr textarea {
	resize: vertical;
	min-height: 180px;
	line-height: 1.6;
}

.cwr-select {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

/* 성명 + 익명 */
.cwr-name {
	display: flex;
	align-items: center;
	gap: 18px;
}

.cwr-name input {
	flex: 1 1 auto;
}

.cwr-anon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 7px;
	font-weight: 400;
	color: #555;
	white-space: nowrap;
	cursor: pointer;
}

.cwr-anon input {
	width: 16px;
	height: 16px;
	accent-color: #d21f28;
}

/* 전화 3분할 */
.cwr-tel {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cwr-tel input {
	width: 120px !important;
	text-align: center;
}

.cwr-tel span {
	color: #999;
}

/* 첨부파일 */
.cwr-files {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cwr-files input[type=file] {
	font-size: 13px;
	color: #555;
}

/* 캡차 */
.cwr-captcha {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cwr-captcha-img {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cwr-captcha-img img {
	width: 150px;
	height: 50px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #f0f0f0;
	display: block;
}

.cwr-captcha-refresh {
	border: 1px solid #ddd !important;
	background: #fafafa !important;
	box-shadow: none !important;
	width: 36px;
	height: 36px;
	border-radius: 4px;
	cursor: pointer;
	color: #666;
	font-size: 16px;
}

.cwr-captcha-refresh:hover {
	background: #f0f0f0 !important;
}

.cwr-captcha input {
	width: 200px;
}

.cwr-captcha-math {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-right: 8px;
}

.cwr-hint {
	margin: 0;
	color: #999;
	font-size: 13px;
}

/* 개인정보 동의 */
.cwr-privacy {
	margin: 60px 0 0;
	border-top: 1px solid #eee;
	padding-top: 50px;
}

.cwr-privacy-title {
	margin: 0 0 20px;
	text-align: center;
	color: #d21f28;
	font-size: 22px;
	font-weight: 800;
}

.cwr-privacy-lead {
	margin: 0 0 40px;
	text-align: center;
	color: #555;
	font-size: 14px;
	line-height: 1.7;
}

.cwr-privacy-sub {
	margin: 34px 0 12px;
	font-size: 14px;
	color: #333;
	font-weight: 600;
}

.cwr-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.cwr-table th,
.cwr-table td {
	border: 1px solid #e2e2e2;
	padding: 14px 10px;
	text-align: center;
	color: #444;
}

.cwr-table thead th {
	background: #f6f6f6;
	font-weight: 700;
	color: #333;
}

.cwr-table td {
	background-color: #fff !important;
}

.cwr-agree {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	font-size: 15px;
	color: #333;
	cursor: pointer;
}

.cwr-agree input {
	width: 18px;
	height: 18px;
	accent-color: #d21f28;
}

/* 제출 */
.cwr-submit {
	text-align: center;
	margin-top: 44px;
}

.cwr-submit button {
	border: 1px solid #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    min-width: 180px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    transition: background .15s;
    border-radius: 0px;
}

.cwr-submit button:hover {
	background: #f5f5f5 !important;
	color: #000;
}

/* 반응형 */
@media (max-width:640px) {
	.cwr-row {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.cwr-label {
		flex: none;
	}

	.cwr-tel input {
		width: 100% !important;
	}

	.cwr-name {
		flex-wrap: wrap;
	}

	.cwr-captcha input {
		width: 100%;
	}

	.cwr-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}