﻿body {
    background-color: var(--dark-green);
}

.finalizado-container {
    width: 100%;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .finalizado-container h2 {
        color: var(--white);
        font-family: Ubuntu;
        font-size: 26px;
        margin-top: 40px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-align: center;
        background-image: linear-gradient(90deg, #5916BE, #5916BE);
        background-position: bottom;
        background-size: 525px 30%;
        background-repeat: no-repeat;
        margin-bottom: 1rem;
    }

    .finalizado-container h4 {
        color: var(--light-gray);
        font-family: Ubuntu;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-align: center;
    }

.subtitle-mobile {
    display: none;
}

.div-orcamento-wrapper {
    width: 936px;
    margin-top: 50px;
    padding: 0px 60px 60px 60px;
    height: auto;
    flex-shrink: 0;
    background: #061B19;
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.50);
}

.cebecalho {
    width: 940px;
    position: relative;
    bottom: 11px;
    right: 60px;
}


.div-orcamento-header-code {
    display: flex;
    text-align: left;
    padding: 10px 0px;
}

.div-orcamento-header-descricao {
    color: var(--white);
    font-family: Ubuntu;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.div-orcamento-header-detalhes {
    display: flex;
    justify-content: space-between;
    padding: 20px 0px;
}

.div-orcamento-header {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0px 0px;
}


    .div-orcamento-header .text-flex-end p,
    .div-orcamento-header .text-flex-start p {
        color: var(--white);
        font-family: Ubuntu;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 1rem;
    }

        .div-orcamento-header .text-flex-end p span,
        .div-orcamento-header .text-flex-start p span {
            color: var(--white);
            font-family: Ubuntu;
            font-size: 16px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
        }

.text-flex-start {
    text-align: start;
}

.text-flex-end {
    text-align: end;
}

.div-orcamento-content {
    overflow-y: auto;
    height: 400px;
}

    .div-orcamento-content .sem-orcamento {
        text-align: center;
        margin: 0 auto;
        display: block;
        color: white;
    }

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

th {
    border: 1px solid var(--light-gray);
    border-left: 0px;
    border-right: 0px;
    text-align: center;
    padding: 10px;
    color: var(--secondary-green);
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

    th:nth-child(1) {
        border-left: 1px solid var(--light-gray);
        border-left: 1px solid var(--light-gray);
        padding-left: 30px;
        text-align: left;
    }

    th:nth-child(3) {
        border-right: 1px solid var(--light-gray);
    }


td {
    padding: 20px;
    color: var(--white);
    text-align: center;
}

.modulo-title {
    color: var(--white);
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.plano-text {
    color: var(--white);
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.row:nth-child(2n+1) {
    background-color: var(--dark-green-one);
}

td:nth-child(1) {
    text-align: left;
}

td .preco-mobile {
    display: none;
}

.icon-close {
    transition: all .3s ease-out;
    cursor: pointer;
}

    .icon-close:hover {
        filter: brightness(0) saturate(100%) invert(15%) sepia(90%) saturate(5091%) hue-rotate(2deg) brightness(102%) contrast(127%);
    }

.orcamento-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--light-gray);
    padding: 15px 60px;
    margin-top: 5px;
}

    .orcamento-footer h3 {
        color: var(--secondary-green);
        font-family: Ubuntu;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .orcamento-footer div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

        .orcamento-footer div p {
            color: var(--white);
            text-align: center;
            font-family: Ubuntu;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }

            .orcamento-footer div p span {
                color: var(--light-gray);
                text-align: center;
                font-family: Ubuntu;
                font-size: 18px;
                font-style: normal;
                display: block;
                font-weight: 700;
                line-height: normal;
            }

.finalizado-buttons {
    padding: 30px 0px;
    display: flex;
    justify-content: space-between;
    width: 936px;
}

    .finalizado-buttons button {
        cursor: pointer;
    }

    .finalizado-buttons div {
        display: flex;
        gap: 20px;
    }

.div-star {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
}

.img-reverse {
    position: absolute;
    bottom: 8px;
}

.finalizado{
    padding:20px;
}

@media screen and (max-device-width: 480px) and (orientation:portrait) {
    .finalizado-container h2 {
        font-size: 18px;
        margin-bottom: 10px;
        margin-top: 0px;
    }

    .finalizado-container h4 {
        font-size: 14px;
    }

    .subtitle-mobile {
        display: block;
    }

    .subtitle-desktop {
        display: none;
    }


    .div-orcamento-wrapper {
        width: 336px;
        padding: 0px 10px 10px 10px
    }

    .div-orcamento-header {
        flex-direction: column;
        padding: 15px 0px;
    }

        .div-orcamento-header div p {
            font-size: 14px;
        }

            .div-orcamento-header div p span {
                font-size: 14px;
            }

    .text-flex-end {
        text-align: start;
    }

    .cebecalho {
        width: 336px;
        height: 55px;
    }

    .finalizado-buttons {
        width: 336px;
    }

    th:nth-child(1) {
        text-align: left;
        padding-left: 35px;
    }

    .cebecalho {
        bottom: 4px;
        right: 9px;
    }

    .th-mobile {
        display: none;
    }

    .td-mobile {
        display: none;
    }

    td {
        padding: 20px 10px;
        text-align: left;
    }

        td:nth-child(1) {
            text-align: left;
        }

        td:nth-child(3) {
            text-align: center;
        }


    .orcamento-footer {
        padding: 20px 10px;
    }

        .orcamento-footer div p {
            font-size: 12px;
        }

            .orcamento-footer div p:nth-child(2) {
                display: none;
            }

            .orcamento-footer div p span {
                font-size: 16px;
            }

    .finalizado-buttons {
        padding: 30px 0px;
        display: block;
    }

        .finalizado-buttons button {
            width: 100%;
            margin-bottom: 1.5rem;
        }

    td p {
        margin-bottom: 6px;
    }

    td .preco-mobile {
        display: block;
        font-size: 14px;
    }

    .modulo-title {
        font-size: 14px;
    }

    .plano-text {
        font-size: 12px;
    }


    .div-star {
        margin-bottom: 20px;
    }

    .star {
        width: 80px;
    }


    .img-reverse {
        position: absolute;
        bottom: 5px;
        width: 70px;
    }
}

@media screen and (min-width: 481px) and (max-width: 780px) {
    .finalizado-container h2 {
        font-size: 20px;
        margin-bottom: 10px;
        margin-top: 0px;
    }

    .finalizado-container h4 {
        font-size: 16px;
    }

    .subtitle-mobile {
        display: block;
    }

    .subtitle-desktop {
        display: none;
    }


    .div-orcamento-wrapper {
        width: 480px;
        padding: 0px 10px 10px 10px
    }

    .div-orcamento-header {
        padding: 15px 0px;
    }

        .div-orcamento-header div p {
            font-size: 14px;
        }

            .div-orcamento-header div p span {
                font-size: 14px;
            }

    .text-flex-end {
        text-align: start;
    }

    .cebecalho {
        width: 482px;
        height: 75px;
    }

    .finalizado-buttons {
        width: 336px;
    }

    th:nth-child(1) {
        text-align: left;
        padding-left: 35px;
    }

    .cebecalho {
        bottom: 6px;
        right: 9px;
    }


    .td-mobile {
        text-align: center;
    }

    td {
        padding: 20px;
        text-align: left;
    }

        td:nth-child(1) {
            text-align: left;
        }

        td:nth-child(3) {
            text-align: center;
        }


    .orcamento-footer {
        padding: 20px 10px;
    }

        .orcamento-footer div p {
            font-size: 12px;
        }

            .orcamento-footer div p:nth-child(2) {
            }

            .orcamento-footer div p span {
                font-size: 16px;
            }

    .finalizado-buttons {
        padding: 30px 0px;
        display: block;
    }

        .finalizado-buttons button {
            width: 100%;
            margin-bottom: 1.5rem;
        }

    td p {
        margin-bottom: 6px;
    }

    td .preco-mobile {
        display: none;
        font-size: 14px;
    }

    .modulo-title {
        font-size: 16px;
    }

    .plano-text {
        font-size: 14px;
    }

    .div-star {
        margin-bottom: 20px;
    }

    .star {
        width: 100px;
    }


    .img-reverse {
        position: absolute;
        bottom: 5px;
        width: 90px;
    }
}

@media screen and (min-width: 781px) and (max-width: 1080px) {
    .finalizado-container h2 {
        font-size: 22px;
        margin-bottom: 10px;
        margin-top: 0px;
    }

    .finalizado-container h4 {
        font-size: 18px;
    }

    .subtitle-mobile {
        display: block;
    }

    .subtitle-desktop {
        display: none;
    }


    .div-orcamento-wrapper {
        width: 760px;
        padding: 0px 10px 10px 10px
    }

    .div-orcamento-header {
        padding: 15px 0px;
    }

        .div-orcamento-header div p {
            font-size: 14px;
        }

            .div-orcamento-header div p span {
                font-size: 14px;
            }

    .text-flex-end {
        text-align: start;
    }

    .cebecalho {
        width: 760px;
        height: 120px;
    }

    .finalizado-buttons {
        width: 336px;
    }

    th:nth-child(1) {
        text-align: left;
        padding-left: 35px;
    }

    .cebecalho {
        bottom: 6px;
        right: 9px;
    }


    .td-mobile {
        text-align: center;
    }

    td {
        padding: 20px 30px;
        text-align: left;
    }

        td:nth-child(1) {
            text-align: left;
        }

        td:nth-child(3) {
            text-align: center;
        }


    .orcamento-footer {
        padding: 20px;
    }

        .orcamento-footer div p {
            font-size: 16px;
        }

            .orcamento-footer div p:nth-child(2) {
                font-size: 16px;
            }

            .orcamento-footer div p span {
                font-size: 16px;
            }

    .finalizado-buttons {
        width: 760px;
        padding: 30px 0px;
        display: flex;
    }

    td p {
        margin-bottom: 6px;
    }

    td .preco-mobile {
        display: none;
        font-size: 14px;
    }

    .modulo-title {
        font-size: 16px;
    }

    .plano-text {
        font-size: 14px;
    }
}
