/* 애드센스 수익 계산기 */
.adsense-calc-tool { width: 100%; max-width: 1000px; }
.adsense-calc-tool .tool-title-icon { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 32px; font-weight: 900; letter-spacing: 0; }
.adsense-calc-tool .title-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius:14px; background: #eafaf1; font-size: 24px; }
.adsense-calc-tool .tool-desc { max-width: none; font-size: 16px; }
.adsense-calc-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); gap: 22px; margin-top: 28px; }
.adsense-disclaimer { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid #03a94f; background: #f8fafc; color: #64748b; font-size: 13px; font-weight: 400; line-height: 1.65; text-align: left; }
.adsense-input-card, .adsense-result-card { border: 1px solid #e6ebf2; border-radius:14px; background: #fff; }
.adsense-input-card { padding: 26px; }
.adsense-field-desc { margin: 0 0 14px; color: #475569; font-size: 15px; font-weight: 500; line-height: 1.6; text-align: left; }
.adsense-select-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.adsense-select-grid label { display: flex; flex-direction: column; gap: 8px; color: #334155; font-size: 14px; font-weight: 900; }
.adsense-select-grid select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #dbe4ef; border-radius:14px; background: #fff; color: #111827; font-size: 15px; outline: none; }
.adsense-select-grid select:focus { border-color: #03c75a; box-shadow: 0 0 0 4px rgba(3,199,90,0.12); }
.adsense-traffic-control { margin-top: 34px; }
.adsense-traffic-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.adsense-traffic-head strong { color: #111827; font-size: 22px; font-weight: 900; }
.adsense-traffic-head span { color: #03c75a; font-size: 20px; font-weight: 900; }
.adsense-pageview-input { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 168px; height: 42px; padding: 0 12px; border: 1px solid #cfe7db; border-radius:14px; background: #f7fffb; color: #03c75a; font-size: 20px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(3,199,90,0.03); }
.adsense-pageview-input input { width: 120px; flex-shrink: 0; border: 0; background: transparent; color: #03c75a; font: inherit; font-weight: 900; text-align: right; outline: none; }
.adsense-pageview-input:focus-within { border-color: #03c75a; box-shadow: 0 0 0 4px rgba(3,199,90,0.12); }
.adsense-traffic-control input[type="range"] { width: 100%; height: 22px; accent-color: #03c75a; cursor: pointer; appearance: none; -webkit-appearance: none; background: transparent; }
.adsense-traffic-control input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius:14px; background: #dbe4ef; }
.adsense-traffic-control input[type="range"]::-moz-range-track { height: 6px; border-radius:14px; background: #dbe4ef; }
.adsense-traffic-control input[type="range"]::-webkit-slider-thumb { width: 10px; height: 22px; margin-top: -8px; border: 0; border-radius:14px; background: #03c75a; cursor: pointer; appearance: none; -webkit-appearance: none; }
.adsense-traffic-control input[type="range"]::-moz-range-thumb { width: 10px; height: 22px; border: 0; border-radius:14px; background: #03c75a; cursor: pointer; }
.adsense-range-labels { display: flex; justify-content: space-between; margin-top: 10px; color: #64748b; font-size: 14px; font-weight: 800; line-height: 1.45; }
.adsense-range-labels span:last-child { text-align: right; }
.adsense-result-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 32px 24px; background: #dbeafe; text-align: center; }
.adsense-result-card > span { color: #111827; font-size: 22px; font-weight: 900; }
.adsense-result-card strong { display: flex; align-items: center; justify-content: center; width: min(360px, 100%); height: 68px; margin-top: 14px; padding: 0 34px; border-radius:14px; background: #fff; color: #3b82f6; font-weight: 900; line-height: 1; text-align: center; }
.revenue-number { display: inline-flex; align-items: center; font-size: 34px; line-height: 1; }
.revenue-unit { display: inline-flex; align-items: center; margin-left: 7px; font-size: 18px; font-weight: 800; line-height: 1; opacity: 0.88; }
.adsense-result-card p { margin: 24px 0 0; color: #334155; font-size: 13px; font-weight: 400; line-height: 1.2; }
.adsense-result-card .adsense-exchange-line { margin: 3px 0 0; color: #334155; font-size: 13px; font-weight: 400; line-height: 1.2; }
.adsense-official-link a, .adsense-result-card .adsense-exchange-line a { color: #111827; font-weight: 600; text-decoration: none; }
.adsense-official-link a:hover, .adsense-result-card .adsense-exchange-line a:hover { color: #03a94f; }
@media (max-width: 900px) {
    .adsense-calc-tool { width: 100%; }
    .adsense-calc-tool .tool-title-icon { gap: 8px; font-size: 24px; }
    .adsense-calc-tool .title-icon { width: 36px; height: 36px; border-radius:14px; font-size: 20px; }
    .adsense-calc-tool .tool-desc { font-size: 15px; }
    .adsense-calc-panel, .adsense-select-grid { grid-template-columns: 1fr; }
    .adsense-input-card { padding: 20px; }
    .adsense-result-card { min-height: 240px; }
    .adsense-result-card strong { padding: 0 26px; }
    .revenue-number { font-size: 30px; }
    .revenue-unit { display: inline-flex; align-items: center; margin-left: 7px; font-size: 18px; font-weight: 800; line-height: 1; opacity: 0.88; }
    .adsense-traffic-head { flex-direction: column; gap: 6px; }
    .adsense-pageview-input { align-self: flex-end; }
    .adsense-traffic-head strong { font-size: 19px; }
}
