/* 
  知筑建工宝典-在线工具CSS
  www.zhzux.com
  最后更新时间：2026年1月24日
*/

/* 
钢材计算工具CSS
 */

.container-jisuan {
    padding: 20px;
    background-color: #f1f6f9;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05)
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 100%;
    position: relative;
}

.form-row .label,
.form-row .label-result {
    width: 100%;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 3px;
}

.form-row .label-result {
    display: flex;
    align-items: center;
}

.result-icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.form-row .input-container {
    display: flex;

    align-items: center;
    width: 100%;
}

.form-row input,
.form-row select,
.form-row .result-input {
    flex: 1;
    padding: 0 0 0 12px;
    font-size: 24px;
    border: 2px solid #e5f0f7;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    -moz-appearance: textfield;
    height: 50px;
    margin: 0 10px 10px 0;
}

.form-row input {
    background-color: #FFF;
}

.form-row input::-webkit-outer-spin-button,
.form-row input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-row input:focus,
.form-row select:focus {
    border-color: #00c8ff;
}

.form-row .unit {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #00b9eb;
    width: 60px;
    height: 50px;
    border: 2px solid #f1f6f9;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #FFF;
    margin: 0 20px 10px 0;
}

.button-row,
.two-button-row,
.one-button-row,
.button-section {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
}

.jisuan-list p {
    margin-left: 17px;
    margin-bottom: 10px;
    font-size: 18px;

}

.jisuanjieguo {
    font-size: 22px;
    font-weight: bold;
    margin-left: 15px;
    color: var(--theme-color);
}

.button-section button {
    flex: 1;
    margin: 0 10px 10px 0;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    height: 50px;
    font-weight: bold;
}

.button-section .calculateButton {
    background-color: #00c8ff;
}

.button-section .clear-button {
    background-color: #00CED1;
}

.form-row select {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.button-section>button:hover {
    opacity: 0.9;
}

.form-row input,
.form-row select,
.form-row .result-input {
    flex: 1;
    padding: 0 0 0 12px;
    font-size: 16px;
    border: 2px solid #e5f0f7;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    -moz-appearance: textfield;
    height: 50px;
    line-height: 50px;
    margin: 0 10px 10px 0;
    width: 80%;
}

.button-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px 10px;
    overflow: hidden;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.button-row button {
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: #00c8ff;
    color: #FFF;
    width: 100%;
    height: 50px;
    font-weight: bold;
}

.button-row button {
    background-color: #d7ebf0;
    color: #333;
}

.button-row button.selected {
    background-color: #00c8ff;
    color: #FFF;
}

.container-jisuan .active {
    display: block;
}

.content-jihe {
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #f9f9f9;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    padding: 10px 15px !important;
    border: 1px solid #ddd !important;
    text-align: center !important;
    font-size: 16px !important;
}

th {
    background-color: #00c8ff !important;
    color: white !important;
    font-weight: bold !important;
}

tr:nth-child(even) {
    background-color: #f2f2f2 !important;
}

tr:hover {
    background-color: #e2e2e2 !important;
}

.result-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 0 0 12px;
    font-size: 16px;
    border: 2px solid #e5f0f7 !important;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    -moz-appearance: textfield;
    height: 50px;
    margin: 0 0 30px 0;
    background-color: #f4f9fc !important;
    color: #333;
    pointer-events: none;
    font-weight: bold;
    text-align: center;
}

.icon {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.table-container table {
    margin-bottom: 0 !important;
}

.sue-icon-text {
    margin-bottom: 0 !important;
    margin-top: 30px;
    border: 1px solid #98d3f9;
    padding: 15px;
}

.sue-icon-text p {
    margin: 6px 0;
    line-height: 20px;
    font-size: 14px;
}

.article-copyright {
    display: none !important
}

.miaoshu {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #FF0000;
}

@media screen and (max-width: 480px) {
    .container-jisuan {
        width: 100%;
        font-size: 14px;
        line-height: 20px;
        padding: 10px 15px;
    }

    .form-row {
        margin-bottom: 0px;
    }

    .button-row {
        margin-bottom: 10px;
        margin-top: 0px;
    }

    .button-row button {
        font-size: 1.0em;
        height: 40px;
    }

    .form-row .label,
    .form-row .label-result {
        margin: 10px 0px;
    }


    .form-row .unit {
        font-size: 0.9em;
        width: 45px;
        height: 40px;
        margin: 0 0px 0px 0;
    }

    .form-row input,
    .form-row select,
    .form-row .result-input {
        padding: 0 0 0 8px;
        font-size: 1.0em;
        height: 40px;
        line-height: 40px;
        margin: 0 0px 0px 0;
        width: 80%;
    }

    .form-row .input-container {
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .button-section button {
        font-size: 1.0em;
        height: 40px;

    }

    .jisuan-list {
        margin-top: 15px;
    }

    .jisuanjieguo {
        font-size: 20px;
    }

    .jisuan-list p {
        margin-left: 10px;
        margin: 5px;
        font-size: 1.0em;
    }

    .sue-icon-text {
        margin-bottom: 0 !important;
        margin-top: 20px;
        border: 1px solid #98d3f9;
        padding: 10px;
    }

    .sue-icon-text p {
        margin: 3px 0;
        line-height: 18px;
        font-size: 0.9em;
    }
}