/* 주민번호 입력: 앞 6자리 / 구분 숫자 1자리 / 가려지는 뒤 6자리 */
.rrn-fields {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	width: calc(100% - 95px);
	vertical-align: middle;
	min-width: 0;
}
.rrn-fields input {
	box-sizing: border-box;
	min-width: 0;
	height: 36px;
	margin: 0;
	padding: 7px 2px;
	font: 16px/22px ui-monospace, SFMono-Regular, Consolas, monospace;
	text-align: center;
	border: 0;
	border-bottom: 1px solid #ddd;
	border-radius: 0;
	background: #f9f9f9;
}
.rrn-fields input[data-rrn-part="front"] { width: 42%; flex: 1 1 42%; }
.rrn-fields input[data-rrn-part="digit"] { width: 22px; flex: 0 0 22px; }
.rrn-dash { flex: 0 0 6px; text-align: center; }
.rrn-secret { position: relative; display: block; width: 42%; flex: 1 1 42%; min-width: 0; }
.rrn-fields .rrn-secret input {
	width: 100%;
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
	text-shadow: none !important;
	caret-color: #222;
}
.rrn-secret input::-ms-reveal, .rrn-secret input::-ms-clear { display: none; }
.rrn-secret input::-webkit-credentials-auto-fill-button { visibility: hidden; display: none !important; }
.rrn-mask {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	color: #222;
	font: 16px/22px ui-monospace, SFMono-Regular, Consolas, monospace;
}
.rrn-help { display: block; margin-top: 7px; color: #666; font-size: 12px; line-height: 1.5; }
.rrn-fields:focus-within { outline: 1px solid #6a829d; outline-offset: 2px; }
.popup form label[for="birth"] { display: block; width: 100%; margin-bottom: 6px; }
.popup .rrn-fields { width: 100%; }
@media (forced-colors: active) {
	.rrn-secret input { forced-color-adjust: none; }
}
