/* 장애인고용부담금 계산기 페이지 전용 스타일 */

/* 계산기 섹션 */
.calculator-section {
    padding: 60px 0;
    background: #f8fafc;
}

.calculation-wrapper {
    margin-bottom: 60px;
}

/* 계산기 메인 박스 */
.calculation {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.calculation h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 40px;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.calculation h3 b {
    color: #ffc107;
    font-weight: 800;
}

.calculation .body {
    display: flex;
    min-height: 600px;
}

/* 왼쪽 입력 영역 */
.left {
    flex: 1;
    padding: 40px;
    border-right: 1px solid #e2e8f0;
}

.account_body {
    margin-bottom: 40px;
}

/* 섹션별 스타일 */
.account_1, .account_2, .account_3, .account_4 {
    margin-bottom: 32px;
    padding: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #fafbfc;
}

.account_1 strong, .account_2 strong, .account_3 strong, .account_4 strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.account_3 strong span, .account_4 strong span {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* 라디오 버튼 스타일 */
.radio_box {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio_box label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    min-width: 140px;
}

.radio_box label:hover {
    border-color: var(--primary-blue);
    background: #f0f4ff;
}

.radio_box label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
}

.radio_box label input[type="radio"]:checked + em {
    color: var(--primary-blue);
    font-weight: 600;
}

.radio_box em {
    font-size: 14px;
    font-style: normal;
    line-height: 1.4;
}

/* 근로자 수 입력 */
#totalWorkers {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    background: white;
}

#totalWorkers:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(71, 110, 243, 0.1);
}

.click_box {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.click_box button {
    flex: 1;
    min-width: 80px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.click_box button.calc {
    color: var(--primary-blue);
}

.click_box button.calc:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.click_box button.reset {
    color: #dc3545;
}

.click_box button.reset:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* 카운터 스타일 */
.count {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.count form {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.count input[type="button"] {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8fafc;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.count input[type="button"]:hover {
    background: var(--primary-blue);
    color: white;
}

.count .number {
    width: 80px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: white;
}

.count .number:focus {
    outline: none;
}

.count p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.info-text {
    margin-top: 12px;
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.4;
}

/* 계산 버튼 */
.account_btn {
    display: flex;
    gap: 16px;
}

.account_btn a {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn_1 {
    background: var(--primary-blue);
    color: white;
}

.btn_1:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 110, 243, 0.3);
}

.btn_2 {
    background: #f8fafc;
    color: var(--gray-600);
    border: 2px solid #e2e8f0;
}

.btn_2:hover {
    background: var(--gray-600);
    color: white;
    border-color: var(--gray-600);
}

/* 오른쪽 결과 영역 */
.right {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.right h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 24px 0;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.pay_list {
    margin-bottom: 24px;
}

.pay_list p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-blue);
}

.pay_list span {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
    flex: 1;
}

.pay_list .amount-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    min-width: 120px;
}

.pay_list b {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    text-align: right;
    min-width: 100px;
}

.pay_list em {
    font-size: 12px;
    color: var(--gray-500);
    font-style: normal;
    margin-left: 4px;
    width: 20px;
    text-align: left;
}

/* 총 납부금액 */
.total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.total p {
    margin: 0;
    color: white;
    font-size: 16px;
    line-height: 1.5;
}

.total strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;
}

.total strong b {
    font-size: 18px;
    opacity: 0.9;
}

.right h5 {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* 계산 방법 안내 */
.calculation-info {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.calculation-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 32px 0;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #e2e8f0;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    border-bottom: 1px solid #e2e8f0;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* 관련 서비스 */
.related-services {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.related-services h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 32px 0;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 12px 0;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .calculation .body {
        flex-direction: column;
    }
    
    .left {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .radio_box {
        flex-direction: column;
    }
    
    .radio_box label {
        min-width: auto;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 40px 0;
    }
    
    .calculation h3 {
        padding: 20px 24px;
        font-size: 20px;
    }
    
    .left, .right {
        padding: 24px;
    }
    
    .account_1, .account_2, .account_3, .account_4 {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .account_1 strong, .account_2 strong, .account_3 strong, .account_4 strong {
        font-size: 16px;
    }
    
    .click_box {
        flex-direction: column;
    }
    
    .click_box button {
        min-width: auto;
    }
    
    .account_btn {
        flex-direction: column;
    }
    
    .count {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .pay_list p {
        padding: 12px 16px;
    }
    
    .pay_list b {
        font-size: 16px;
    }
    
    .total strong {
        font-size: 24px;
    }
    
    .calculation-info, .related-services {
        padding: 24px;
    }
    
    .calculation-info h3, .related-services h3 {
        font-size: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card, .service-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .calculation {
        border-radius: 16px;
    }
    
    .calculation h3 {
        padding: 16px 20px;
        font-size: 18px;
    }
    
    .left, .right {
        padding: 20px;
    }
    
    .account_1, .account_2, .account_3, .account_4 {
        padding: 16px;
        border-radius: 12px;
    }
    
    #totalWorkers {
        font-size: 16px;
        padding: 12px;
    }
    
    .click_box button {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .count form {
        width: 100%;
    }
    
    .count .number {
        flex: 1;
    }
    
    .pay_list span, .pay_list b {
        font-size: 13px;
    }
    
    .pay_list .amount-wrapper {
        min-width: 100px;
    }
    
    .pay_list b {
        min-width: 80px;
    }
    
    .total p {
        font-size: 14px;
    }
    
    .total strong {
        font-size: 20px;
    }
    
    .service-icon {
        font-size: 40px;
    }
    
    .calculation-info, .related-services {
        padding: 20px;
    }
}
