.tp-tools {
    display: flex;
    flex-direction: column;
}

.tool-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex: 1;
}

.inner-row {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 20px;
    flex-wrap: wrap;
}

.tool-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.submit-btn {
    border-radius: 5px;
    background-color: #ff7d44;
    color: #fff;
    font-size: 16px;
    padding: 10px 40px;
    text-decoration: none;
}

input[type="number"].form-control{
    padding: 5px 10px;
}

.form-control:focus,
.form-control:active,
.form-control:focus-visible,
.form-control {
    background-color: #f7f7f7;
    color: #262626;
    border: 1px solid #e7e7e7;
    padding: 10px 15px;
    border-radius: 5px;
}


.col-select {
    max-width: 285px;
}

.col-space {
    gap: 15px;
}

.form-section {
    border-radius: 5px;
    border: 1px solid #e1e4e4;
}

.tool-head {
    align-items: center;
    gap: 5px;
    margin: 40px 0;
}
body::after{
    background: url('/wp-content/themes/hello-child/assets/imgs/background-tool.png');
    background-size: cover; /* or 'contain' based on your needs */
    background-position: center center;
    background-repeat: no-repeat;
    content: "";
    height: 420px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -2;
}
body::before{
    background-color: #000000ad;
    content: "";
    height: 420px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.tool-title{
    font-size: 48px;
    color: #fff;
    padding: 0;
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
}

.tool-desc{
    font-size: 16px;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.form-part {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 6px 6px 14px 0px rgb(0 0 0 / 8%);
}

.result-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    background-color: #f3fff8;
}

#form-result {
    display: none;
}

#form-result.show {
    display: flex;
}
#form-result span{
    align-content: center;
}
.loading-wrapper {
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #51515159;
    display: none;
    justify-content: center;
    align-items: center;
}
.loading-wrapper.is-loading{
    display: flex;
}

.container{
    margin: 0 auto;
    padding: 0 15px;
}
.bg-white{
    background-color: #fff;
}

.main-col{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.add-row-btn {
    border-radius: 5px;
    background-color: #03417f;
    color: #fff;
    font-size: 16px;
    padding: 10px 40px;
    text-decoration: none;
}
.product-item-result{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#total-products,
.product-item-result,
.product-row{
    border: 1px dashed #333;
    padding: 10px;
    margin: 10px 0;
    border-radius: 7px;
}

/* Mobile */
@media screen and (max-width: 600px) {
    .form-section {
        padding: 10px 20px;
    }

    .result-section {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .tool-row {
        flex-direction: column;
    }

    .inner-row {
        flex-direction: column;
    }

     .container{
        padding: 0 10px;
    }

    .tool-title{
        font-size: 25px;
        text-align: center;
    }

    .tool-desc{
        font-size: 14px;
        text-align: center;
    }

    .tool-head{
        gap: 20px;
    }
}

/* Tablet */
@media screen and (min-width: 601px) and (max-width: 900px) {
    .result-section {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .form-section {
        padding: 15px 30px;
    }

    .result-section>div:nth-child(2),
    .result-section>div:nth-child(1) {
        border-right: 1px solid #919191;
    }

    .tool-title{
        font-size: 30px;
    }
}

/* Desktop */
@media screen and (min-width: 901px) {
    .form-section {
        padding: 35px 60px;
    }

    .result-section>div:nth-child(2),
    .result-section>div:nth-child(1) {
        border-right: 1px solid #919191;
    }

    .container{
        max-width: 1320px;
        margin: 0 auto;
    }
}
