* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* 溢出补点 */
.dot {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#app {
    width: 100%;
}

.tool {
    max-width: 1600px;
    width: 86%;
    margin: 90px auto;
}

.tool-box {
    background-color: #f4f9fb;
    border: 1px solid #ecf2f4;
    border-radius: 4px;
    padding: 10px;
}

.tool-content {
    background-color: #ffffff;
    border: 1px solid #ecf2f4;
    border-radius: 4px;
    overflow: hidden;
}

.tool-content .header {
    line-height: 50px;
    background-color: #1371b6;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
}

.tool-content .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 25px;
    padding: 10px;
}

.tool-select,
.tool-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tool-select .label,
.tool-input .label {
    width: calc((100% - 10px) / 7 * 3);
    flex: none;
    font-size: 14px;
    color: #333333;
}

.tool-select select,
.tool-input .result,
.tool-input input {
    width: calc((100% - 10px) / 7 * 4);
    height: 30px;
    line-height: 26px;
    border: 1px solid #ecf2f4;
    outline: none;
    font-size: 14px;
    color: #000000;
    padding: 0 10px;
}

.tool-input input {
    background: #cdeaff;
}

.tool-select select {
    background-color: #f4f9fb;
}

.tool-input input[type="number"]::-webkit-outer-spin-button,
.tool-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tool-input input[type="number"] {
    -moz-appearance: textfield;
    /* Firefox */
}

.tool-common {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.tool-common-item {
    width: calc((100% - 20px * 2) / 3);
    flex: none;
}

.tool-common-item .tool-input,
.tool-common-item .tool-select {
    width: calc((100% - 25px) / 2);
}

.tool-common-item.flex {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.tool-common-item .application {
    width: 30%;
    flex: none;
}

.tool-common-item .application .tool-select {
    width: 100%;
}

.tool-common-item .application .tool-select select {
    width: 100%;
}

.tool-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.tool-list-item {
    width: calc((100% - 20px * 2) / 3);
    flex: none;
}

.tool-list-item .tool-input,
.tool-list-item .tool-select {
    width: calc((100% - 25px) / 2);
}

.tool-list-item .product .part {
    width: 100%;
}

.tool-list-item .product .part .label {
    width: calc((100% - 10px) / 7 * 1.4);
}

.tool-list-item .product .part select {
    flex: 1;
}

.tool-list-item .performance {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-top: 20px;
}

.tool-list-item .performance .tool-input,
.tool-list-item .performance .tool-select {
    width: 100%;
}

.tool-list-item .performance .led,
.tool-list-item .performance .module {
    flex: 1;
}

.tool-list-item .performance .led .price input {
    height: 72px;
}

.tool-list-item .luminaire {
    margin-top: 20px;
}

.tool-list-item .data {
    border-radius: 4px;
    border: 1px solid #ecf2f4;
    overflow: hidden;
    margin-top: 20px;
}

.tool-list-item table {
    width: 100%;
    border-collapse: collapse;
}

.tool-list-item table thead {
    background-color: #1371b6;
}

.tool-list-item table tbody {
    background-color: #ffffff;
}

.tool-list-item table tr {
    border: solid #ecf2f4;
    border-width: 0 0 1px 0;
}

.tool-list-item table tr:last-child {
    border: none;
}

.tool-list-item table th,
.tool-list-item table td {
    height: 36px;
    border: solid #ecf2f4;
    border-width: 0 1px 0 0;
    text-align: center;
}

.tool-list-item table td {
    padding: 0 10px;
}

.tool-list-item table th:last-child,
.tool-list-item table td:last-child {
    border: none;
}

.tool-list-item table th {
    position: relative;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

.tool-list-item table th:not(:first-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #ffffff;
}

.tool-list-item table th button,
.tool-list-item table th select {
    position: relative;
    width: 100%;
    height: 100%;
    line-height: 35px;
    background: transparent;
    border: none;
    outline: none;
    appearance: none;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    padding: 0 10px;
}

.tool-list-item table th option {
    color: #000000;
}

.tool-list-item table th button::before,
.tool-list-item table th button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 14px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
}

.tool-list-item table th button::after {
    width: 4px;
    height: 14px;
    left: 15px;
}

.tool-list-item table th button.fold::after {
    display: none;
}

@media(max-width:1440px) {
    .tool-common-item {
        width: calc((100% - 20px) / 2);
    }

    .tool-list-item {
        width: calc((100% - 20px) / 2);
    }

    .tool-list-item:nth-child(3) {
        display: none;
    }
}

@media(max-width:1024px) {
    .tool {
        width: 94%;
        margin: 50px auto;
    }

    .tool-common-item {
        width: 100%;
    }

    .tool-list-item {
        width: 100%;
    }

    .tool-list-item:nth-child(2) {
        display: none;
    }
}

@media(max-width:425px) {
    .tool-content .header {
        line-height: 30px;
        font-size: 14px;
    }

    .tool-select .label,
    .tool-input .label {
        font-size: 12px;
    }

    .tool-select select,
    .tool-input .result,
    .tool-input input {
        font-size: 12px;
    }

    .tool-list-item table th {
        font-size: 14px;
    }

    .tool-list-item table th button,
    .tool-list-item table th select {
        font-size: 14px;
    }
}