.sections h1 {
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
    color: #003580;
    margin-bottom: 20px;
}

.title_search {
    font-size: 1.5rem;
    color: #003580;
}

.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-container_main {
    box-shadow:none
}

.tax-calc-header, .tax-calc-section {
    margin-bottom: 20px;
}

.tax-calc-header div, .tax-calc-row {
    display: flex;
    justify-content: left;
    margin-bottom: 10px;
    padding: 5px 10px;
}

.tax-calc-header div span, .tax-calc-row span {
    font-weight: bold;
    color: #333;
}

.tax-calc-section-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 5px;
}


.tax-calc-row.alt {
    background: #e9ecef;
}

.tax-calc-footer {
    text-align: right;
    margin-top: 20px;
}

.tax-calc-footer span {
    font-size: 1.2em;
    font-weight: bold;
    color: #007bff;
}

.tax-calc-form-group {
    margin-bottom: 15px;
}

.tax-calc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.tax-calc-form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.tax-calc-btn {
    padding: 10px 15px;
    background: #004A8F;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.business-search-btn {
    font-size: 10px;
    padding: 5px 10px;
    background: #4d5257;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.messages {
    margin: 10px 0;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.alert-warning {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#search-results ul {
    list-style-type: none; /* 리스트 점 제거 */
    padding: 0;
    margin: 0;
}

/* 검색 결과 박스 스타일 */
.search-result-item {
    background-color: #e8f4fc; /* 옅은 파란색 */
    padding: 10px; /* 내부 여백 */
    margin-bottom: 10px; /* 박스 간 간격 */
    border-radius: 8px; /* 둥근 모서리 */
    text-align: left; /* 왼쪽 정렬 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 가벼운 그림자 */
    font-size: 12px; /* 글씨 크기 */
    color: #4a4a4a; /* 글씨 색상 */
}

/* 버튼 왼쪽 정렬 */
.select-code {
    display: inline-block; /* 블록처럼 왼쪽 정렬 */
    text-align: left; /* 텍스트 자체도 왼쪽 정렬 */
    text-decoration: none; /* 밑줄 제거 */
    color: #007bff; /* 파란색 */
    font-size: 12px; /* 버튼 텍스트 크기 */
    padding: 0; /* 여백 제거 */
    background: none; /* 버튼 배경 제거 */
    border: none; /* 버튼 테두리 제거 */
    cursor: pointer; /* 포인터 커서 */
}

.select-code:hover {
    text-decoration: underline; /* 호버 시 밑줄 */
}

.search-result-item strong {
    display: block;
    font-weight: bold; /* 항목 제목 굵게 */
    margin-bottom: 5px; /* 제목과 설명 간 간격 */
}

.search-result-item p {
    margin: 0; /* 설명의 여백 제거 */
    font-size: 10px; /* 설명 글씨 크기 */
    color: #6c757d; /* 설명 글씨 색상 */
}

/* 텍스트 정렬 및 배치 */
.tax-calc-row {
    display: flex; /* Flexbox 사용 */
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: flex-start; /* 왼쪽 정렬 */
    padding: 5px 10px; /* 내부 여백 */
    background: #f1f3f5; /* 배경색 */
    border-radius: 5px; /* 둥근 모서리 */
    margin-bottom: 10px; /* 항목 간 간격 */
    gap: 10px; /* 요소 간 간격 */
    flex-wrap: nowrap; /* Flexbox 줄바꿈 방지 */
}

.tax-calc-row .simple_label {
    flex-shrink: 0; /* 크기가 줄어들지 않도록 설정 */
    width: 120px; /* 고정 너비 설정 */
    font-weight: bold; /* 텍스트 굵게 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
    overflow: hidden; /* 넘치는 텍스트 숨기기 */
    text-overflow: ellipsis; /* 말줄임표 처리 */
}

.tax-calc-row .simple_result {
    flex-grow: 1; /* 남은 공간을 차지 */
    text-align: left; /* 텍스트 왼쪽 정렬 */
    font-weight: normal; /* 텍스트 굵기 조정 */
    color: #333; /* 글자색 */
    word-wrap: break-word; /* 결과값이 긴 경우 줄바꿈 처리 */
}