/* 사이트 공통 디자인 톤(Astra 기본값)에 맞춘 회색조 텍스트 계층 + 기본 시스템
   폰트 스택, border-radius 6px. 다른 계산기 플러그인과 톤을 맞춘다. */

.atc-widget {
	max-width: 560px;
	padding: 20px;
	background: #fff;
	border: 1px solid #e1e1e1;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Malgun Gothic", sans-serif;
	color-scheme: light;
	color: #3a3a3a;
}

.atc-field {
	margin-bottom: 16px;
}

.atc-field-wide {
	margin-bottom: 18px;
}

.atc-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #3a3a3a;
}

.atc-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.atc-radio-group label {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: #3a3a3a;
	cursor: pointer;
}

.atc-radio-note {
	font-size: 12px;
	color: #999999;
	font-weight: 400;
}

.atc-input {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	font-family: inherit;
	color: #3a3a3a;
	border: 1px solid #cccccc;
	border-radius: 6px;
	box-sizing: border-box;
}

.atc-input:focus {
	outline: none;
	border-color: #0274be;
}

.atc-amount-korean {
	margin: 6px 0 0;
	font-size: 12px;
	color: #767676;
	min-height: 16px;
}

/* author 스타일이 [hidden]의 user agent 기본값(display:none)을 이겨버리는 것을
   막기 위해 명시적으로 되살린다(이 코드베이스에서 반복되는 패턴). */
.atc-toggle-group[hidden] {
	display: none;
}

.atc-result {
	margin: 18px 0;
	padding: 14px 16px;
	background: #f7f7f7;
	border: 1px solid #e1e1e1;
	border-radius: 6px;
}

.atc-result-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
}

.atc-result-row + .atc-result-row {
	border-top: 1px solid #f0f0f0;
}

.atc-result-label {
	font-size: 13px;
	color: #767676;
}

.atc-result-value {
	font-size: 14px;
	font-weight: 600;
	color: #3a3a3a;
	text-align: right;
	white-space: nowrap;
}

.atc-result-main .atc-result-label {
	font-weight: 600;
	color: #3a3a3a;
}

.atc-result-total {
	font-size: 18px;
	font-weight: 700;
	color: #0274be;
}

.atc-cost-box {
	margin: 0 0 16px;
	padding: 14px 16px;
	background: rgba(2, 116, 190, 0.06);
	border: 1px solid rgba(2, 116, 190, 0.25);
	border-left: 3px solid #0274be;
	border-radius: 6px;
}

.atc-cost-title {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	color: #055a94;
}

.atc-cost-list {
	margin: 0;
	padding-left: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.atc-cost-list li {
	font-size: 12px;
	color: #545454;
	line-height: 1.6;
}

.atc-cost-list strong {
	color: #3a3a3a;
}

.atc-disclaimer {
	margin: 0;
	font-size: 11px;
	color: #999999;
	line-height: 1.6;
}

.atc-disclaimer a {
	color: #767676;
}

@media (max-width: 480px) {
	.atc-result-row {
		flex-direction: column;
		gap: 2px;
	}

	.atc-result-value {
		text-align: left;
	}
}
