body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* 섹션 스타일 */
.sections {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.sections h1 {
    font-size: 1.8rem;
    text-align: center;
    color: #003580;
    margin-bottom: 20px;
}

/* 폼 스타일 */
.tax-calc-container {
    max-width: 800px;
    margin: auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.tax-calc-form-group {
    margin-bottom: 20px;
}

.tax-calc-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.tax-calc-form-group input,
.tax-calc-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.tax-calc-btn {
    width: 100%;
    padding: 10px;
    background-color: #004A8F;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}

.tax-calc-btn:hover {
    background-color: #003A6F;
}

/* 결과 박스 스타일 */
.description-content {
    padding-left: 7px;
    font-size: 14px;
    white-space: pre-line;
    margin-bottom: 20px;
    line-height: 1.6;
}


.description_row {
    display: flex; /* Flexbox를 사용하여 한 줄에 배치 */
    flex-wrap: nowrap; /* 줄바꿈 방지 */
    align-items: flex-start; /* 내용 위쪽 정렬 */
}

.description-content_left {
    padding-left: 7px;
    font-size: 14px;
    white-space: pre-line;
    margin-bottom: 20px;
    line-height: 1.6;
    min-width: 100px;
    flex: 0 0 auto;
    width: 16.66666667%;
}

.description-content_right {
    padding-left: 7px;
    font-size: 14px;
    white-space: pre-line;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: right;
    min-width: 200px;
    max-width: 200px;
}

.resultbox {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-container {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px; /* 테이블 외곽 둥글게 */
    overflow: hidden; /* 둥근 모서리가 유지되도록 설정 */
}

.result-header {
    display: flex;
    font-weight: bold;
    background-color: #f1f1f1;
    text-align: left;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.result-item {
    flex: 1;
    padding: 10px;
}

.result-item.title {
    text-align: left; /* 항목은 왼쪽 정렬 */
    font-weight: bold;
}

.result-item.content {
    text-align: right; /* 근로자, 사업자는 오른쪽 정렬 */
}

.result-row {
    display: flex;
    border-bottom: 1px solid #eee; /* 행 사이 구분선 */
}

.result-row:last-child {
    border-bottom: none; /* 마지막 행은 구분선 제거 */
}

.total-row {
    background-color: #e9ecef; /* 합계 강조 */
    font-weight: bold;
    border-top: 2px solid #ddd; /* 합계 상단 굵은 선 */
}
