﻿.margin-top-30 {
    margin-top: 30px;
}

.margin-top-20 {
    margin-top: 20px;
}

.btn-pink-without-border {
    background-color: var(--primary) !important;
    color: white !important;
    border: 0 !important;
    font-size: 16px !important;
}

.search-icon-input {
    position: absolute;
    z-index: 999;
    right: 11px;
    bottom: 10px;
    color: #8f8f8f;
    cursor: pointer;
}

.search-input {
    border-right: 1px solid #e9ecef;
    border-radius: 4px;
}

.padding-0 {
    padding: 0 !important;
}

.margin-0 {
    margin: 0 !important;
}

.justify-center {
    justify-content: center !important;
}

.block {
    display: block !important;
}

.noticia-img {
    max-height: 240px !important;
    width: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

img.footer-phone-icon {
    width: 20px;
    position: relative;
    top: -2px;
    margin-right: 9px;
    margin-left: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.modal .modal-content .modal-header {
    background-color: var(--primary);
    border-top-right-radius: 13px;
    border-top-left-radius: 13px;
}

.modal .modal-content .modal-header .close {
    text-shadow: none;
}

.modal-content {
    background-color: transparent !important;
}

.modal .modal-content .modal-body {
    background-color: white;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 13px;
    font-family: Poppins;
}

.modal-button {
    width: 50%;
    display: block;
    margin: 0 auto;
    background-color: var(--primary);
    color: white;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}

.footer {
    background-color: white;
    margin-bottom: 0px;
    border-top: 20px solid #0164ff;
    height: 116px;
}

.label-footer-color:hover {
    text-decoration: underline;
    cursor: pointer;
}

.color-orange {
    color: #ff4c00 !important;
}

.label-footer-color {
    font-weight: bold;
}

.regulamento {
    max-height: 250px;
    overflow: auto;
    border: 1px solid #d0d0d0;
    padding: 15px;
    border-radius: 4px;
    background-color: white;
    color: black;
    line-height: 24px;
}

.regulamento p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.m-widget15 .m-widget15__items .m-widget15__item .m-widget15__text {
    font-size: 11px !important;
}

.ruptura-header>td,
th {
    background-color: #C5DCEE;
    text-align: center;
    font-size: 12px;
}

.ruptura-body {
    font-size: 11px;
}

.estado-vendido {
    background-color: #C1E1C1;
}

.estado-nao-vendido {
    background-color: #FAC898;
    /*#FAA0A0;*/
}

.estado-inativo {
    background-color: #CFCFC4;
}

.table-ruptura td,
.table-ruptura th {
    padding: 0.2rem;
}

.tableFixHead {
    position: relative;
    max-height: 500px;
    width: 100%;
    overflow: scroll;
}

.table-ruptura>thead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-ruptura>thead th {
    vertical-align: middle;
    border-width: 2px;
    padding: 0.1em 0.2em 0.1em 0.2em;
}

.table-ruptura>thead th:first-child {
    left: 0;
    z-index: 3;
}

.table-ruptura>tbody {
    overflow: scroll;
    height: auto;
}

.table-ruptura tr> :first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
}

.tableFixHead::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}

.tableFixHead::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    border-radius: 5px;
    width: 5px;
}

.tableFixHead::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
    width: 5px;
}

.tooltip-toggle {
    cursor: pointer;
    position: relative;
}

.tooltip-toggle svg {
    height: 18px;
    width: 18px;
}

.tooltip-toggle::before {
    position: absolute;
    top: -80px;
    left: -80px;
    background-color: #fff;
    border-radius: 5px;
    color: #000;
    content: attr(aria-label);
    padding: 1rem;
    text-transform: none;
    transition: all 0.5s ease;
    width: 160px;
}

.tooltip-toggle::after {
    position: absolute;
    top: -12px;
    left: 9px;
    content: '';
    font-size: 0;
    line-height: 0;
    margin-left: -5px;
    width: 0;
}

.tooltip-toggle::before,
.tooltip-toggle::after {
    color: #000;
    font-family: monospace;
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    text-align: center;
}

.tooltip-toggle:focus::before,
.tooltip-toggle:focus::after,
.tooltip-toggle:hover::before,
.tooltip-toggle:hover::after {
    opacity: 1;
    transition: all 0.75s ease;
}

.background-notificacao {
    background-color: #d6e5fb;
    border-radius: 3px;
}

.img-book-de-acoes {
    height: auto;
    width: auto !important;
    display: block;
    margin: 0 auto;
    margin-top: 4px;
    max-height: 285px;
    max-width: 100%;
}

.rankingButtonActive {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #000;
}

.havagold {
    font-size: 20px;
    font-weight: bold;
    color: #c5a600 !important;
}

.havasilver {
    font-size: 20px;
    font-weight: bold;
    color: #a1a1a1 !important;
}

.havabronze {
    font-size: 20px;
    font-weight: bold;
    color: #7c4f0b !important;
}

.book-de-acoes-scroll {
    max-height: 500px;
    overflow: scroll;
    overflow-x: hidden;
    margin-bottom: 14px;
}

.m-widget19 .m-widget19__content .m-widget19__header .m-widget19__info {
    line-height: 1rem;
}

.enquete-question {
    padding: 19px 5px;
}

.btn-enviar-enquete {
    background-color: #5baaff;
    border-color: #5baaff;
    font-family: Calibri;
    font-size: 22px;
    margin-top: 65px;
    border-radius: 0px;
    font-weight: bold;
}

.enquete-option {
    font-size: 24px;
    font-family: Calibri;
    background-color: #1951B0;
    padding: 19px 25px;
    color: white;
    font-weight: bold;
}

.enquete-option-active {
    cursor: pointer;
    border: 1px solid #000081 !important;
    background-color: #E1EAFF;
}

.enquete-label-active {
    color: #1fa1df;
}

.enquete-label {
    font-family: Calibri;
    font-size: 17px;
    cursor: pointer;
}

.container-detalhamento {
    background-color: #0c4fa2;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    font-family: sans-serif;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
}

/* Cada bloco lateral ou central */
.col {
    display: inline-block;
    vertical-align: top;
    margin: 0 10px;
    white-space: normal;
    /* permite conteúdo quebrar linha internamente */
}

.left-column {
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    width: 110px;
}

.left-column div {
    background: #fff;
    color: #0c4fa2;
    padding: 6px 10px;
    margin: 4px 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    height: 47px;
}

.left-column div:first-child{
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.left-column div:nth-child(2){
    border-radius: 0px;
}

.left-column div:last-child{
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

/* Cartões centrais */
.card-detalhamento {
    background: #fff;
    color: #0c4fa2;
    width: 180px;
    height: 150px;
    border-radius: 8px;
    margin: 10px auto;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    display: inline-block;
    padding-top: 34px;
}

.card-detalhamento h4 {
    margin: 5px 0;
    font-size: 13px;
}

.card-detalhamento h3 {
        margin: 0;
    font-size: 52px;
    color: #1950af;
    font-weight: bold;
}

.card-detalhamento span {
    font-size: 13px;
    color: #555;
}

/* Ranking */
.rank-title {
    font-size: 14px;
    margin-bottom: 8px;
    width: 180px;
    display: block;
    margin: 0 auto;
}

.rank-title-acumulado{
    font-size: 14px;
    margin-bottom: 8px;
}

.rank-box {
    background: #fff;
    color: #0c4fa2;
    width: 100px;
    height: 69px;
    border-radius: 8px;
    margin: 8px auto;
    padding-top: 10px;
    box-sizing: border-box;
    display: inline-block;
}

.rank-box span {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 6px;
}

.rank-box h3 {
        margin: 0;
    font-size: 32px;
    color: #0c4fa2;
    font-weight: bold;
}