.rank-math-breadcrumb span.last
 {
    font-size: 14px !important;
    font-weight: 700;
    line-height: 21px;
}

/* ============ Geral ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

#site-content .label-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
}

#site-content .contract__access-button {
    background-color: #58931F;
    padding: 8px 8px 8px 24px;
    border-radius: 24px 0px;
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
    display: flex;
    width: max-content;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    transition: all .5s ease-in-out;
    border-width: 0;
}

#site-content .contract__access-button:hover {
    background-color: #3E6716;
}

#site-content .contract__access-button:after {
    content: '';
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Cpath d="M5 15L15 5M15 5H8.33333M15 5V11.6667" stroke="%2358931F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 20px;
    width: 40px;
    height: 40px;
    background-color: #CFE6B9;
    padding: 12px;
    border-radius: 16px 0;
    background-position: center;
    transition: all .5s ease-in-out;
}

#site-content .banner-market-single {
    position: relative;
    z-index: 1;
}

#site-content .banner-market-single:before {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 76px;
    z-index: 0;
    background: rgba(239, 238, 234, 0.88);
    backdrop-filter: blur(6px);
    border-radius: 0 0 80px 0;
}

#site-content .single-market-tabs {
    position: relative;
    z-index: 1;
}

#site-content .single-market-tabs:before {
    content: "";
    position: absolute;
    top: 92px;
    left: 0;
    width: 100%;
    height: calc(100% - 92px);
    z-index: 0;
    backdrop-filter: blur(6px);
    border-radius: 0 80px 0 0;
    background: #EFEEEA;
}

#site-content #access-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

#site-content #access-form .access-form__form-group input[type=date],
#site-content #access-form .access-form__form-group select {
    width: 260px;
    border-radius: 8px;
    border: 1px solid #CBC9C1;
    background: #FEFEFE;
    height: 56px;
    padding: 16px;
    cursor: pointer;
    color: #5E5C56;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5em;
}

#site-content #access-form .access-form__form-group select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url('/wp-content/plugins/balcao-agricola-custom/assets/images/chevron-down-small.svg');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 30px;
}

#site-content .trading-history__table table {
    padding: 16px 20px 20px 20px;
    border-radius: 16px !important;
    border: 1px solid #EFEEEA;
    background: #FFF;
    box-shadow: 0px 6px 12px 0px rgba(28, 39, 49, 0.05);
    border-collapse: separate;
    overflow: hidden;
    margin: 0;
    display: block;
}

/* Estilo para o thead
------------------------*/
#site-content .trading-history__table thead {
    display: block;
    border-bottom: 1px solid #EFEEEA;
}

#site-content .trading-history__table tr {
    display: flex;
    align-items: stretch;
    gap: 21px;
}

#site-content .trading-history__table thead tr {
    padding: 0 12px 12px 12px;
}

#site-content .trading-history__table th {
    color: #151518;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5em;
    text-align: left;
    vertical-align: middle;
    border: none;
    padding: 0;
    width: 121px;
    display: flex;
    align-items: center;
}

#site-content .trading-history__table th:first-child {
    border-right: 1px solid #EFEEEA;
}

/* Estilo para o tbody
------------------------*/
#site-content .trading-history__table tbody {
    display: block;
}

#site-content .trading-history__table tbody tr {
    padding: 8px 12px;
}

#site-content .trading-history__table table tbody > tr:nth-child(even) {
    background-color: #F8F6F2;
    border-bottom: 1px solid #E2E0DA;
}

#site-content .trading-history__table td {
    color: #151518;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    text-align: left;
    vertical-align: middle;
    border: none;
    padding: 0;
    width: 121px;
    display: flex;
    align-items: center;
}

#site-content .trading-history__table td:first-child {
    font-weight: 700;
    border-right: 1px solid #EFEEEA;
}

#site-content .trading-history__table table tbody > tr:nth-child(odd) > td {
    background-color: transparent;
}

#site-content .trading-history__table tbody tr:hover > td {
    background-color: transparent;
}

#site-content .trading-history__table td.positive-value {
    color: #58931F;
}

#site-content .trading-history__table td.negative-value {
    color: #F64C4C;
}

/* Estilo para o tfoot
------------------------*/
#site-content .trading-history__table tfoot {
    display: block;
}

#site-content .trading-history__table tfoot tr {
    padding: 8px 12px;
    gap: 8px;
}

#site-content .contract-link {
    color: #58931F;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5em;
    padding-left: 26px;
    transition: all .5s ease-in-out;
    position: relative;
}

#site-content .contract-link:before {
    content: '';
    background-image: url('/wp-content/plugins/balcao-agricola-custom/assets/images/download-01.svg');
    position: absolute;
    left: 0;
    top: 0;
    background-size: 18px;
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
}

/* ============ Archive Mercado ============ */
/* ----- Seção Contratos ----- */
#contract {
    padding: 0 16px;
    margin-bottom: 40px;
}

#contract .contract__item {
    padding: 40px 0;
    border-top: 1px solid #EFEEEA;
}

#contract .contract__item:first-child {
    border-top: none;
}

#contract .contract__title-container {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    column-gap: 16px;
}

#contract .contract__title {
    color: #58931F;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0;
}

#contract .contract__image {
    width: 56px;
    height: 56px;
    border-radius: 100px;
    box-shadow: 0px 6px 12px 0px rgba(28, 39, 49, 0.05);
}

#contract .icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

#contract .contract__cards-container {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

#contract .contract__card {
    padding: 16px 16px 24px 24px;
    width: 100%;
    max-width: 282px;
    position: relative;
    border-radius: 16px;
    background: #EFEEEA;
    backdrop-filter: blur(12px);
}

#contract .contract__card .contract__card-title {
    font-size: 20px;
    font-weight: 700;
    color: #58931F;
    margin: 0 0 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    line-height: 1.2em;
}

#contract .contract__card .contract__card-title:after {
    content: '';
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Cpath d="M5 15L15 5M15 5H8.33333M15 5V11.6667" stroke="%2358931F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');

    display: inline-block;
    background-repeat: no-repeat;
    background-size: 20px;
    width: 44px;
    height: 44px;
    background-color: #CFE6B9;
    padding: 12px;
    border-radius: 16px 16px 16px 0px;
    background-position: center;
    transition: all .5s ease-in-out;
}

#contract .contract__card:hover .contract__card-title:after {
    content: '';
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Cpath d="M5 15L15 5M15 5H8.33333M15 5V11.6667" stroke="%23FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
    background-color: #467618;
}

#contract .contract__card p {
    color: #151518;
    line-height: 1.5em;
    margin: 0;
}

#contract .contract__card .contract__card-type {
    font-size: 12px;
    font-weight: 700;
}

#contract .contract__card .contract__card-code {
    font-size: 18px;
    font-weight: 400;
}

#contract .contract__card .contract__code {
    color: #58931F;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5em;
    text-transform: uppercase;
}

/* ----- Seção Histórico de negociações ----- */
#trading-history {
    padding: 48px 16px 80px 16px;
    margin-bottom: 16px;
    border-radius: 0 80px 0 0;
    background: #EFEEEA;
}

#trading-history .trading-history__content h2 {
    color: #151518;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 16px 0;
}

#trading-history .trading-history__content p {
    color: #343833;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    margin-bottom: 32px;
    width: 893px;
}

#trading-history .trading-history__content {
    margin-bottom: 24px;
}

#trading-history .trading-history__info, #quotes-tab .trading-history__info {
    display: flex;
    padding: 32px 126px 32px 77px;
    border-radius: 16px;
    border: 1px solid #FFF;
    background: #EFEEEA;
    box-shadow: 0px 6px 12px 0px rgba(28, 39, 49, 0.05);
    position: relative;
}

#trading-history .trading-history__info:before, #quotes-tab .trading-history__info:before {
    content: '';
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="27" height="27" viewBox="0 0 27 27" fill="none"%3E%3Cpath d="M13.5 8.5V13.5M13.5 18.5H13.5125M26 13.5C26 20.4036 20.4036 26 13.5 26C6.59644 26 1 20.4036 1 13.5C1 6.59644 6.59644 1 13.5 1C20.4036 1 26 6.59644 26 13.5Z" stroke="%2358931F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
    position: absolute;
    left: 32px;
    top: 32px;
    background-size: 25px;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
}

#trading-history .trading-history__info::after, #quotes-tab .trading-history__info::after {
    content: '';
    background-image: url('/wp-content/plugins/balcao-agricola-custom/assets/images/info-img.png');
    width: 94px;
    height: 94px;
    position: absolute;
    right: 32px;
    bottom: 0;
}


#trading-history .trading-history__info-content, #quotes-tab .trading-history__info-content {
    width: 873px;
}

#trading-history .trading-history__info h3, #quotes-tab .trading-history__info h3 {
    color: #151518;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
    margin: 0 0 8px 0;
}

#trading-history .trading-history__info p, #quotes-tab .trading-history__info p {
    color: #343833;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    margin: 0;
}

/* ============ Single Mercado ============ */
.custom-breadcrumb .rank-math-breadcrumb p {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    color: #FFF;
}

.custom-breadcrumb .rank-math-breadcrumb p a {
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    padding: 2px 6px;
    transition: all .5s ease-in-out;
    border-radius: 4px;

}

.custom-breadcrumb .rank-math-breadcrumb p a:hover {
    color: #151518;
    background-color: #FFF;
}

.custom-breadcrumb .rank-math-breadcrumb p a:first-child {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    text-indent: 100%;
    white-space: nowrap;
    color: transparent;
    overflow: hidden;
}

.custom-breadcrumb .rank-math-breadcrumb p a:first-child:hover {
    background-color: transparent;
}

.custom-breadcrumb .rank-math-breadcrumb p a:first-child::before {
    content: '';
    background-image: url('/wp-content/plugins/balcao-agricola-custom/assets/images/home-01.svg');
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.custom-breadcrumb .rank-math-breadcrumb p:first-child .separator {
    position: relative;
    z-index: 200;
    width: 12px;
    text-align: center;
}

.custom-breadcrumb .rank-math-breadcrumb p .last {
    color: #CFE6B9;
    padding: 2px 6px;
}

#site-content .contract-table__content {
    margin-bottom: 24px;
}

#site-content .contract-table__content h2 {
    color: #151518;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 16px 0;
}

#site-content .contract-table__content #access-form .access-form__form-group select {
    width: 346px;
}

#site-content .contract-table__content #access-form .access-form__form-group input[type=date] {
    width: 202px;
}

#quotes-tab .trading-history__table th,
#shutdown-tab .trading-history__table th,
#quotes-tab .trading-history__table td,
#shutdown-tab .trading-history__table td {
    width: 70px;
}

#site-content .trading-history__table .contract-header {
    justify-content: space-between;
    border-bottom: 1px solid #EFEEEA;
}

#site-content .contract-header .contract-header__column-one {
    width: auto;
    gap: 16px;
}

#site-content .contract-header .contract-header__column-one:first-child {
    border: none;
}

#site-content .contract-header .contract-header__column-one .column-one__code {
    font-family: Sora, sans-serif;
    font-size: 20px;
    line-height: 1.2em;
    text-transform: uppercase;
}

#site-content .contract-header__column-one .column-one__name {
    font-size: 16px;
    font-weight: 400;
    color: #343833;
    line-height: 1.5em;
}

#site-content .contract-header .contract-header__column-two {
    width: auto;
}

#site-content .contract-header .contract-header__column-two span {
    color: #343833;
    font-size: 12px;
    font-weight: 400;
}

#site-content .contract-header__column-two .column-two__code {
    border-right: 1px solid #B2B0A7;
    padding-right: 10px;
    margin-right: 10px;
}

#site-content .contract-header__column-two .column-two__volume-content {
    display: flex;
    gap: 10px;
}

#site-content .contract-header__column-two span.column-two__volume-value {
    color: #151518;
    font-weight: 700;
}

#site-content .trading-history__table .contract-description {
    padding: 12px 12px 24px 12px;
}

#site-content .contract-description th {
    color: #3E6716;
    font-size: 16px;
    width: auto;
}

#site-content .contract-description th:first-child {
    border: none;
}

/* Tabela Geral
---------------*/
#general-tab .trading-history__table .content-wapper {
    overflow: initial;
    padding-right: 0;
    margin-right: 0;
}

#general-tab .trading-history__table table {
    padding: 20px;
}

#general-tab .trading-history__table th {
    font-family: Sora, sans-serif;
    font-size: 20px;
    line-height: 1.2em;
    width: 100%;
}

#general-tab .trading-history__table th:first-child {
    border: none;
}

#general-tab .trading-history__table tr {
    flex-direction: column;
    gap: 0;
}

#general-tab .trading-history__table td {
    width: 100%;
}

#general-tab .trading-history__table td:first-child {
    border: none;
}

/* Tabela Cotações
---------------*/
#site-content .table-padding-20 .trading-history__table table {
    padding: 20px;
}

/* Tabela Fechamentos
---------------*/
#shutdown-tab .contract-header__column-two span.column-two__volume-value {
    border-right: 1px solid #B2B0A7;
    padding-right: 10px;
}

@media (min-width: 1025px) and (max-width: 1199px) {
    #site-content .trading-history__table tr {
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    #site-content .single-market-tabs .e-n-tabs-content:before {
        width: 100vw;
    }

    #site-content .trading-history__table .content-wapper {
        overflow: auto;
        padding-right: 16px;
        margin-right: -16px;
        scrollbar-width: none;
    }

    #site-content .trading-history__table .content-wapper::-webkit-scrollbar {
        display: none;
    }

    #site-content .trading-history__table table {
        display: table;
    }

    /* ----- Seção Histórico de negociações ----- */
    #trading-history .trading-history__content p {
        width: 100%;
    }

    #trading-history .trading-history__info {
        padding: 32px 102px 32px 77px;
    }

    #trading-history .trading-history__info::after {
        background-size: 70px;
        width: 70px;
        height: 70px;
    }
}

#site-content .contract__item .contract__access-button {
    max-width: 153px;
    justify-items: left;
}

@media (max-width: 767px) {
    #site-content #access-form {
        flex-direction: column;
        width: 100%;
    }

    #site-content #access-form .access-form__form-group input[type=date],
    #site-content #access-form .access-form__form-group select,
    #site-content .contract-table__content #access-form .access-form__form-group select,
    #site-content .contract-table__content #access-form .access-form__form-group input[type=date] {
        width: 100%;
        min-width:95%;
        display: block;
        margin-bottom: 10px;
    }

    #site-content .contract__access-button {
        width: 100%;
        position: relative;
        height: 58px;
        justify-content: left;
        padding: 8px;
        padding-left: 24px;
    }

    #site-content .contract__access-button:after {
        position: absolute;
        right: 8px;
    }

    /* ----- Seção Contratos ----- */
    #contract {
        margin-bottom: 0;
    }

    #contract .contract__item {
        padding: 32px 0;
        border-top: none;
    }

    #contract .contract__title-container {
        margin-bottom: 16px;
    }

    #contract .contract__title {
        font-size: 20px;
    }

    #contract .contract__cards-container {
        overflow-y: auto;
        padding-right: 16px;
        box-sizing: content-box;
        align-items: flex-start;
        overflow: auto;
        margin-right: -16px;
        align-self: auto;
        scrollbar-width: none;
        flex-wrap: nowrap;
        margin-bottom: 16px;
    }

    #contract .contract__cards-container::-webkit-scrollbar {
        display: none;
    }

    #contract .contract__card {
        flex: 1 0 auto;
    }

    #contract .contract__card .contract__card-title {
        font-size: 18px;
    }

    /* ----- Seção Histórico de negociações ----- */
    #trading-history {
        padding: 32px 16px 40px 16px;
        margin-bottom: 0;
        border-radius: 0 24px 0 0;
    }

    #trading-history .trading-history__content h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    #trading-history .trading-history__content p {
        margin-bottom: 24px;
    }


    #trading-history .trading-history__info {
        padding: 24px 24px 24px 68px;
    }

    #trading-history .trading-history__info::after {
        display: none;
    }

    /* ============ Single Mercado ============ */
    #site-content .banner-market-single:before {
        border-radius: 0 0 32px 0;
    }

    #site-content .single-market-tabs:before {
        border-radius: 0 32px 0 0;
    }

    #site-content .single-market-tabs .e-n-tabs-heading {
        flex-wrap: nowrap;
        display: flex;
        justify-content: space-between;
    }

    #site-content .contract-table__content h2 {
        font-size: 18px;
    }
}

#shutdown-tab #trading-history {
    padding: 0 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.table-loading {
    display: block;
    opacity: 1;
    width: 100%;
    height: 100vh;
    background-image: url('/wp-content/plugins/balcao-agricola-custom/assets/images/reload.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    position: absolute;
    z-index: 1;
    background-size: 75px;
    transition: opacity 0.5s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza */
    margin-top: 357px;
}