* {
    box-sizing: border-box;
    font-family: Microsoft Yahei, 'Times New Roman', Times, serif;
}

body {
    margin: 0;
    padding: 0;
}

#app {
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
}


.left{
    color: #fff;
    width: 40%;
    min-width: 40%;
    height: 100%;
    background-color: #152a65;
    padding-left: 100px;
}

.right{
    color: #152a65;
    flex: 1;
    height: 100%;
    padding-right: 100px;
    padding-left: 100px;
}
.left,.right{
    overflow-y: auto;
    padding-bottom: 20px;
}

.header{
    height: 80px;
    display: flex;
}
.right .header{
    justify-content: flex-end;
}
.header-item{
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.header-item .ei-info-sign{
    font-size: 14px;
}
.header-item.large {
    width: 160px;
}
.header-item:hover{
    text-decoration: underline;
}
.header-item i {
    margin-right: 5px;
}
.notice {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.5;
    max-width: 300px;
}
.salary-item{
    margin-bottom: 5px;
    font-size: 16px;
}
.salary-title{
    font-weight: bold;
    margin-right: 10px;
    /* background-color: #fff;
    color: #152a65; */
}
.right .salary-title, .right .salary-wrapper-title{
    background-color: #152a65;
    color: #fff;
    padding: 3px;
}
.salary-input{
    width: 100px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    outline: none;
    color: #fff;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.salary-result{
    border-bottom: 1px solid #152a65;
    text-align: center;
}
.salary-wrapper-title{
    margin-top: 10px;
    margin-bottom: 10px;
}
.salary-wrapper .salary-item{
    padding-left: 10px;
}
.ei-info-sign{
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
}
.salary-not-nec{
    position: absolute;
    visibility: hidden;
}
.salary-not-nec.show{
    position: relative;
    visibility: visible;
}
.input-more{
    margin-bottom: 15px;
    text-decoration: underline;
    cursor: pointer;
}

.input-area i{
    font-size: 14px;
    margin-right: 5px;
}

.calc-btn {
    margin-top: 20px;
    padding: 10px 40px;
    font-size: 16px;
    font-weight: bold;
    background-color: #fff;
    color: #152a65;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.calc-btn:hover {
    background-color: #eee;
}

.array-container {
    margin-top: 5px;
    padding-left: 10px;
}
.array-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    gap: 5px;
}
.array-month {
    width: 60px;
    padding: 3px;
    font-size: 14px;
    background-color: transparent;
    color: #fff;
    border: 1px solid #eee;
    border-radius: 3px;
}
.array-month option {
    background-color: #152a65;
    color: #fff;
}
.array-value {
    width: 80px;
    padding: 3px;
    font-size: 14px;
    background-color: transparent;
    color: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.array-unit {
    font-size: 14px;
    color: #aaa;
}
.array-del {
    cursor: pointer;
    color: #f66;
    font-size: 16px;
    margin-left: 5px;
}
.array-del:hover {
    color: #f00;
}
.array-add {
    display: inline-block;
    cursor: pointer;
    color: #fff;
    background-color: #4a6;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
    margin-top: 5px;
}
.array-add:hover {
    background-color: #5b7;
}

.tax-tables {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}
.tax-table-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}
.tax-table-header a {
    color: #152a65;
    text-decoration: none;
}
.tax-table-header a:hover {
    text-decoration: underline;
}
.tax-table {
    margin-bottom: 25px;
}
.tax-table-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}
.tax-table-subtitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}
.tax-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.tax-table th, .tax-table td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    text-align: center;
}
.tax-table th {
    background-color: #152a65;
    color: #fff;
}
.tax-table tr:nth-child(even) {
    background-color: #f5f5f5;
}

@media screen and (max-width: 600px){
    #app{
        height: auto;
        display: block;
        position: relative;
    }
    .left, .right{
        width: auto;
        height: auto;
        padding: 20px;
    }
    .left{
        padding-top: 60px;
    }
    .header{    
        height: 40px;
        position: fixed;
        top: 0px;
        color: #fff;
        left: 0px;
        z-index: 100;
    }
    .header-item{
        width: 100px;
        font-size: 16px;
    }
    .right .header{
        right: 10px;
    }
    .left .header {
        background-color: #152a65;
        width: 100%;
    }
    
}