/* 기본 초기화 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", Dotum, sans-serif;
    line-height: 1.6;
}

a {
    color: #1a0dab;
    text-decoration: none;
}

/* 헤더 레이아웃 */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 20px 0;
    text-align: center;
}

.site-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #222222;
    letter-spacing: -0.5px;
}

/* 본문 컨테이너 */
.container {
    max-width: 760px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 카드 공통 스타일 */
.calculator-card, .result-card, .guide-card {
    background: #ffffff;
    border: 1px solid #e1e4e6;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
}

.main-title {
    font-size: 22px;
    font-weight: bold;
    color: #111111;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.main-subtitle {
    font-size: 14px;
    color: #666666;
    margin-bottom: 25px;
}

/* 폼 요소 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #444444;
    margin-bottom: 8px;
}

.form-select {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.form-select:focus {
    border-color: #1a0dab;
}

/* 계산 결과 하이라이트 영역 */
.result-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222222;
}

.highlight-box {
    background-color: #f8f9fa;
    border: 1px solid #e1e4e6;
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
}

.highlight-badge {
    display: inline-block;
    background-color: #e8f0fe;
    color: #1a73e8;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.highlight-price {
    font-size: 32px;
    font-weight: 800;
    color: #1a0dab;
    margin-bottom: 5px;
}

.highlight-desc {
    font-size: 13px;
    color: #555555;
}

/* 데이터 테이블 스타일 */
.tax-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.tax-table th, .tax-table td {
    padding: 14px;
    font-size: 14px;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
}

.tax-table th {
    color: #666666;
    font-weight: normal;
    width: 45%;
}

.tax-table td {
    color: #222222;
    text-align: right;
    font-weight: 500;
}

.tax-table .total-row th, .tax-table .total-row td {
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    border-bottom: 2px solid #222222;
}

.discount-text {
    color: #d93025 !important;
}

/* 분할납부 2단 그리드 */
.split-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.split-card {
    background: #ffffff;
    border: 1px solid #e1e4e6;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.split-title {
    display: block;
    font-size: 12px;
    color: #666666;
    margin-bottom: 5px;
}

.split-price {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
}

/* 안내 문구 카드 */
.guide-card {
    text-align: center;
    color: #666666;
    font-size: 14px;
}

/* 반응형 모바일 최적화 */
@media (max-width: 600px) {
    .split-info-grid {
        grid-template-columns: 1fr;
    }
}

