/**
 * @Project NUKEVIET 4.x
 * @Author Thạch Cảnh Bình <bnhthach@gmail.com>
 * @Copyright (C) 2024 Thạch Cảnh Bình. All rights reserved
 * @License: Not free read more http://nukeviet.vn/vi/store/modules/nvtools/
 * @Createdate Thu, 06 Jun 2024 04:10:50 GMT
 */
.table-modal {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    font-size: 15px;
    margin-top: 15px;
}

.table-modal td, .table-modal th {
    /*border: 1px solid #ddd;*/
    text-align: left;
    padding: 15px;
}

.table-modal tr:nth-child(even){background-color: #f2f2f2;}

.table-modal tr:hover {background-color: #ddd;}

.table-modal th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    /*background-color: #04AA6D;*/
    background-color: #58c7ef;
    color: white;
}

.table-modal td input{
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    width: 100%;
}

.table-modal td input:focus{
    outline: none;
}

.table-modal td button {
    background-color: #459d73;
    font-size: 15px;
    color: #fff;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    padding: 10px 15px;
    border: unset;
    border-radius: 5px;
}

.table-modal td button.remove {
    background-color: #bd3939;
}


.parent-container {
    padding: 40px 0 80px;
}
.top-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    grid-gap: 25%;
    gap: 25%;
}
.top-main > div {
    width: 50%;
}
.top-main h3 {
    color: #004e63;
    font-size: 16px;
    font-weight: 600;
}
.top-main p {
    color: #004e63;
    font-size: 14px;
    font-weight: 400;
    margin: 15px 0;
}
.top-main__right .button-parent {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.top-main__right
    .button-parent
    .button {
    background: linear-gradient(134deg, #04a468 0%, #0d788c 100%);
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    grid-gap: 5px;
    gap: 5px;
    width: 230px;
    max-width: 230px;
    justify-content: center;
    cursor: pointer;
    padding: 0 15px;
}
.top-main__right
    .button-parent
    .button
    p {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    background-color: unset;
    margin: 10px 0;
}
.top-main__right
    .button-parent
    .button
    img {
    width: 21px;
    height: 21px;
}
.search {
    display: flex;
    align-items: center;
    margin-top: 70px;
}
.search h5 {
    font-size: 26px;
    font-weight: 600;
    color: #130f35;
    margin-left: 50px;
}
.search .filter {
    display: flex;
    align-items: center;
    margin-left: 10px;
    border-bottom: 1px solid #130f35;
}
.search
    .filter
    img {
    width: 24px;
    cursor: pointer;
    outline: none;
}
.search .filter p {
    font-size: 12px;
    color: #130f35;
    font-weight: 600;
    padding-right: 10px;
}
.search
    .filter
    input {
    outline: none;
    border: unset;
    font-size: 12px;
    width: 170px;
}
.table {
    margin-top: 30px;
    width: 100%;
}
.table table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.table
    table
    thead
    tr
    th
    div {
    display: flex;
    align-items: center;
    padding: 13px 0;
}
.table
    table
    thead
    tr
    th
    div
    img {
    width: 20px;
    margin-right: 5px;
}
.table
    table
    thead
    tr
    th
    div
    span {
    font-size: 15px;
    font-weight: 600;
    color: #130f35;
}
.table
    table
    thead
    tr
    th
    div
    select {
    margin-left: 5px;
    cursor: pointer;
    outline: none;
    border: none;
    border-radius: 5px;
    background-color: #130f35;
    color: #23e6a8;
    padding: 2px;
}
.table
    table
    thead
    tr
    th:first-child {
    padding-left: 40px;
}
.table
    table
    thead
    tr
    th:nth-child(2)
    div,
.table
    table
    thead
    tr
    th:nth-child(3)
    div,
.table
    table
    thead
    tr
    th:nth-child(4)
    div,
.table
    table
    thead
    tr
    th:nth-child(5)
    div,
.table
    table
    thead
    tr
    th:nth-child(6)
    div {
    justify-content: center;
}
.table
    table
    thead
    tr
    th:nth-child(4) {
    background-color: #23e6a81a;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.table
    table
    tbody
    tr
    td {
    background-color: #f5f6fa;
    border-bottom: 1px solid rgba(201, 201, 201, 0.5);
    max-width: 300px;
}
.table
    table
    tbody
    tr
    td
    div {
    padding: 3px 0;
}
.table
    table
    tbody
    tr
    td
    div
    p {
    font-size: 14px;
    font-weight: 600;
    color: #130f35;
    margin-bottom: 2px;
}
.table
    table
    tbody
    tr
    td
    div
    .item-sub {
    display: flex;
    align-items: center;
    padding: 0 0 0 10px;
}
.table
    table
    tbody
    tr
    td
    div
    .item-sub
    img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.table
    table
    tbody
    tr
    td
    div
    .item-sub
    span {
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}
.table
    table
    tbody
    tr
    td
    div
    button {
    background-color: #459d73;
    font-size: 15px;
    color: #fff;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    padding: 5px 15px;
    border: unset;
    border-radius: 5px;
}
.table
table
tbody
tr
td
div
button.out-of-stock {
    background-color: #bd3939;
    font-size: 15px;
    color: #fff;
    outline: none;
    cursor: not-allowed;
    font-weight: 600;
    padding: 5px 15px;
    border: unset;
    border-radius: 5px;
}
.table
    table
    tbody
    tr
    td:first-child {
    padding-left: 40px;
}
.table
    table
    tbody
    tr
    td:nth-child(2),
.table
    table
    tbody
    tr
    td:nth-child(3),
.table
    table
    tbody
    tr
    td:nth-child(4),
.table
    table
    tbody
    tr
    td:nth-child(5),
.table
    table
    tbody
    tr
    td:nth-child(6) {
    text-align: center;
}
.table
    table
    tbody
    tr
    td:nth-child(2)
    div
    .item-sub,
.table
    table
    tbody
    tr
    td:nth-child(3)
    div
    .item-sub,
.table
    table
    tbody
    tr
    td:nth-child(4)
    div
    .item-sub,
.table
    table
    tbody
    tr
    td:nth-child(5)
    div
    .item-sub,
.table
    table
    tbody
    tr
    td:nth-child(6)
    div
    .item-sub {
    justify-content: center;
}
.table
    table
    tbody
    tr
    td:nth-child(4) {
    position: relative;
    width: 190px;
}
.table
    table
    tbody
    tr
    td:nth-child(4):after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #23e6a80f;
}
.table
    table
    tbody
    tr:first-child
    td:first-child {
    border-top-left-radius: 20px;
}
.table
    table
    tbody
    tr:first-child
    td:last-child {
    border-top-right-radius: 20px;
}
.table
    table
    tbody
    tr:last-child
    td {
    border-bottom: unset;
}
.table
    table
    tbody
    tr:last-child
    td:first-child {
    border-bottom-left-radius: 20px;
}
.table
    table
    tbody
    tr:last-child
    td:last-child {
    border-bottom-right-radius: 20px;
}
@media (max-width: 930px) {
    .search h5 {
        margin-left: 20px;
    }
    .top-main {
        grid-gap: 15%;
        gap: 15%;
    }
}
@media (max-width: 768px) {
    .top-main {
        grid-gap: 5%;
        gap: 5%;
    }
    .table {
        padding: 0 20px;
    }
    .table
        table
        thead
        tr
        th:first-child,
    .table
        table
        tbody
        tr
        td:first-child {
        padding-left: 20px;
    }
    .table
        table
        tbody
        tr
        td:nth-child(4) {
        width: 50px;
    }
}
@media (max-width: 568px) {
    .container-table {
        width: 68% !important;
    }
    .top-main {
        flex-flow: column;
    }
    .top-main > div {
        width: 100%;
    }
    .search {
        margin-top: 40px;
    }
    .search h5 {
        margin-left: 0;
        font-size: 22px;
    }
    .table {
        overflow-x: auto;
        padding: 0;
    }
    .table
        table
        thead
        tr
        th:first-child {
        padding-left: 20px;
    }
	/* .table */
        /* table */
        /* thead */
        /* tr */
        /* th:nth-child(2) { */
        /* display: none; */
    /* } */

    /* .table */
        /* table */
        /* thead */
        /* tr */
        /* th:nth-child(2), */
    /* .table */
        /* table */
        /* thead */
        /* tr */
        /* th:nth-child(3), */
    /* .table */
        /* table */
        /* thead */
        /* tr */
        /* th:nth-child(4) { */
        /* display: none; */
    /* } */
    .table
        table
        tbody
        tr
        td {
        max-width: 150px;
    }
    .table
        table
        tbody
        tr
        td
        > div
        > p {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    .table
        table
        tbody
        tr
        td
        .item-sub
        span {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .table
        table
        tbody
        tr
        td:first-child {
        padding-left: 0px;
    }
    /* .table */
        /* table */
        /* tbody */
        /* tr */
        /* td:nth-child(2) { */
        /* display: none; */
    /* } */

    /* .table */
        /* table */
        /* tbody */
        /* tr */
        /* td:nth-child(2), */
    /* .table */
        /* table */
        /* tbody */
        /* tr */
        /* td:nth-child(3), */
    /* .table */
        /* table */
        /* tbody */
        /* tr */
        /* td:nth-child(4) { */
        /* display: none; */
    /* } */
}

@media only screen and (max-width: 768px) {
    .container-table {
        width: 68% !important;
    }
}
