@import './custom/responsive.css';
@import './custom/filter.css';
@import './custom/collapse.css';


* {
    font-family: 'Montserrat', sans-serif;
}

.efeitoMouse {
    /* Estilos iniciais (se necessário) */
    border: 1px solid var(--bs-light);
    transition: background-color 1s;
    /* Para um efeito suave */
}

.efeitoMouse:hover {
    background-color: var(--bs-light);
    /* Cor 'primary' do Bootstrap */
}


.gap-sm {
    gap: .5rem;
}

.tooltip-button .btn-text {
    display: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tooltip-button:hover .btn-text {
    display: inline;
}

.nowrap-container {
    display: flex;
    align-items: center;
    /* Para centralizar verticalmente o conteúdo */
}

.nowrap-container .btn-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    /* Para permitir que o texto encolha para caber */
}

.dot-pulse {
    --uib-size: 20px;
    --uib-speed: 1.3s;
    --uib-color: black;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--uib-size);
    height: calc(var(--uib-size) * 0.27);
}

.dot-pulse__dot,
.dot-pulse::before,
.dot-pulse::after {
    content: '';
    display: block;
    height: calc(var(--uib-size) * 0.18);
    width: calc(var(--uib-size) * 0.18);
    border-radius: 50%;
    background-color: var(--uib-color);
    transform: scale(0);
}

.dot-pulse::before {
    animation: pulse var(--uib-speed) ease-in-out infinite;
}

.dot-pulse__dot {
    animation: pulse var(--uib-speed) ease-in-out calc(var(--uib-speed) * 0.125) infinite both;
}

.dot-pulse::after {
    animation: pulse var(--uib-speed) ease-in-out calc(var(--uib-speed) * 0.25) infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.5);
    }
}


.readonly-select {
    background-color: #e9ecef;
    pointer-events: none;
}

.noplan-warning {
    display: flex;
    gap: 10px;
    padding: 10px;
    align-items: center;
    background-color: #e54f4f;
    font-size: 1rem;
    border-radius: 5px;
    margin: 10px 0;
}

.lp-box {
    background-color: var(--bs-primary);
    padding: 5px;
}

.lp-box>.preview {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

/* .lp-box>.preview>span {
    position: absolute;
    top: 0;
} */

.ring {
    --uib-size: 10px;
    --uib-speed: 2s;
    --uib-color: white;

    height: var(--uib-size);
    width: var(--uib-size);
    vertical-align: middle;
    transform-origin: center;
    animation: rotate var(--uib-speed) linear infinite;
}

.ring circle {
    fill: none;
    stroke: var(--uib-color);
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: stretch calc(var(--uib-speed) * 0.75) ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes stretch {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -124px;
    }
}

.card-dashboard {
    border-radius: 4px;
    background-color: var(--bs-primary);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: .8rem 1rem;
    color: white;
}

.card-dash-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: .5rem;
}

.card-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-input {
    border: none;
    color: white;
    background: transparent;
    height: 100%;
}

.filter-input::placeholder {
    color: white;
    font-weight: 600;
}

.documento-preview {
    width: 100%;
    height: 200px;
    background-size: cover !important;
    background-repeat: no-repeat;
    padding: 1rem;
    background: white;
    border-radius: 5px;
}

.btn-status-success {
    border-radius: 3px;
    padding: .2rem .7rem;
    background-color: var(--bs-teal);
    border: none;
    font-size: 10px;
}

.status-success-border {
    border-bottom: 8px solid var(--bs-teal);
}

.card-dash-head>.box {
    border: 2px solid white;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40px;
    border-radius: 50%;
}

.card-dash-head>p {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.card-dashboard>p {
    margin: 0;
    padding-left: 5px;
}

@media (max-width: 767.98px) {
    #caixa {
        width: 100% !important;
        position: relative !important;
        transition: .4s;
        top: 0 !important;
        border-radius: 4px;
        background: white;
        box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.1);
    }

    body>form>div>div>div.row.p-3.mt-5 {
        margin-top: 0 !important;
    }

    #tipo-categoria-box>div:nth-child(2) {
        margin-top: 1rem;
    }

    #tipo-categoria-box>div.col.d-flex.align-items-end.mt-3 {
        flex-direction: column;
        align-items: stretch !important;
        gap: 5px;
    }

    #busca-placa-box>div:nth-child(1) {
        margin-bottom: 1rem;
    }

    #busca-placa-box>div:nth-child(2) {
        margin-bottom: 1rem;
    }

    #busca-placa-box>div:nth-child(3) {
        margin-bottom: 1rem;
    }

    body>form>div>div>div.row.p-3.mt-5>div.col-md-7.card.rounded.p-4>div:nth-child(2)>div:nth-child(1)>div:nth-child(4) {
        margin-top: 1rem;
    }

    #planos>div>div>div>div {
        flex-direction: column;
        align-items: flex-start !important;
    }

    #plan-preview>div.ast-plan-card>div.d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }

    #plan-preview>div.ast-plan-card>div.d-flex.gap-sm {
        flex-direction: column;
    }

    #plan-preview>div.ast-plan-card>div.d-flex.gap-sm>button {
        width: fit-content !important;
    }

    #myTabContent {
        padding: 0;
    }

    #acceptance>div {
        width: 100%;
    }

    #acceptance>div>div>div {
        padding: 0;
    }

    #acceptance>div>div>div>div {
        padding: 0 !important;
    }

    #acceptance>div>div {
        width: 100% !important;
        padding: 0 !important;
    }

    #formDocumentId>div>div>div>div.d-flex.justify-content-center {
        flex-direction: column;
    }

    #the-full-form>form>div:nth-child(1) {
        border: none !important;
        background: white !important;
        display: flex;
        flex-direction: column;
    }

    #the-full-form>form>div:nth-child(1)>div:nth-child(5) {
        margin-top: 2rem;
    }

    #the-full-form>form>div:nth-child(1)>span {
        margin-top: 0 !important;
        position: relative !important;
        align-self: center;
    }

    #the-full-form>form>div.bg.bg-light.border.border-primary.mb-3.mt-5.p-5 {
        padding: 0 !important;
        border: none !important;
        background: white !important;
        display: flex;
        flex-direction: column;
    }

    #the-full-form>form>div.bg.bg-light.border.border-primary.mb-3.mt-5.p-5>div:nth-child(1)>div.col-12.text-start>span {
        margin-top: 0 !important;
        position: relative !important;
        align-self: center;
    }

    #the-full-form>form>div.bg.bg-light.border.border-primary.mb-3.mt-5.p-5>div:nth-child(1)>div:nth-child(2) {
        margin-top: 2rem;
    }

    #the-full-form>form>div.bg-light.mt-5.p-5.border.text-start.border-primary {
        padding: 0 !important;
        border: none !important;
        background: white !important;
        display: flex;
        flex-direction: column;
    }

    #the-full-form>form>div.bg-light.mt-5.p-5.border.text-start.border-primary>span {
        margin-top: 0 !important;
        position: relative !important;
        align-self: center;
    }

    #the-full-form>form>div.bg-light.mt-5.p-5.border.text-start.border-primary>div>div:nth-child(1) {
        margin-top: 2rem;
    }

    #the-full-form>form>div.bg.bg-light.border.border-primary.mb-3.mt-5.p-5>div:nth-child(4)>div>div {
        gap: 10px;
    }

    body>div.pc-container>div>div.row.justify-content-center>form>div:nth-child(2)>div>div:nth-child(1) {
        flex-direction: column;
    }

    body>div.pc-container>div>div.row.justify-content-center>form>div:nth-child(2)>div {
        flex-direction: column;
        gap: 10px;
    }

    #acceptance>div>div>div>div>div>div.row.bg-white.mb-5>div:nth-child(4)>div>div.row.p-3>div.col-12.form-check.ms-3.text-start>label {
        padding-right: 40px;
    }

    #myTab {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 1rem;
        margin: 15px;
        user-select: none;
    }

    #myTabContent>h3 {
        flex-direction: column;
        gap: 10px;
    }

    #myTab::-webkit-scrollbar {
        width: 1em;
        height: 5px;
    }

    #myTab::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    }

    #myTab::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        outline: 1px solid slategrey;
    }

    #signature-tab {
        width: 200px;
    }

    #inspection-tab {
        width: 150px;
    }

    #inspection>div>div.text-center>div.row>div>div>div.col-md-6.pt-4>p {
        padding: 2rem;
        margin: 0 !important;
    }

    #inspection>div>div.text-center>div.row>div>div>div.col-md-6.pt-4>div {
        padding: 0 3rem !important;
    }
}

#caixa {
    width: 34%;
    position: fixed;
    right: 0;
    top: 9.7rem;
    transition: .4s;
}

#minhaDiv {
    position: fixed;
    top: 50px;
    left: 50px;
    width: 200px;
    height: 200px;
    background-color: #ccc;
    overflow-y: auto;
}

.wrapinputast {
    display: flex;
    align-items: stretch;
}

.wrapinputast input {
    border: .5px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: white;
    padding-left: .5rem;
}

.wrapinputast input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.wrapinputast span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7267EF;
    padding: .5rem 1rem;
    border-radius: .3rem 0 0 .3rem;
    color: white;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 0.75rem + 9px);
}

.select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 9px);
}

.page-header h5,
.page-header .h5 {
    border: none;
}

.arrow-collapse-button {
    background-color: transparent;
    border: none;
}

.arrow-collapse-button>img {
    width: 15px;
}

.historico-ball {
    width: 25px;
    height: 25px;
    border-radius: 100%;
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 20%);
}

.historico-left:before {
    content: " ";
    height: 0;
    position: absolute;
    top: 45%;
    width: 0px;
    z-index: 1;
    right: -23px;
    border: medium solid #c3c3c3;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent #ededed;
}

.historico-right:before {
    content: " ";
    height: 0;
    position: absolute;
    top: 85px;
    width: 0;
    z-index: 1;
    left: -23px;
    border: medium solid #c3c3c3;
    border-width: 20px 20px 20px 0;
    border-color: transparent #c3c3c347 transparent transparent;

}


.month {
    padding: 10px;
    border: 1px solid #ececec;
    color: rgb(47, 47, 47);
    border-radius: 5px;
    margin-right: 5px;
    width: 100%;
}

.month:hover {
    cursor: pointer;
}

.month-active {
    background-color: #7267EF;
    color: white;
}

.poin {
    cursor: pointer;
}

.transparent-btn {
    background-color: transparent !important;
    border: none !important;
}

.modal-content {
    border: none !important;
    border-radius: 0 !important;
}

.offcanvas-sm,
.offcanvas-md,
.offcanvas-lg,
.offcanvas-xl,
.offcanvas-xxl,
.offcanvas {
    --bs-offcanvas-width: 40%;
}

.form-control {
    border: 1px solid #e5e5e5;
}

.form-select {
    border: 1px solid #e5e5e5;
}

.input-group-text {
    border: none;
}

::-webkit-scrollbar {
    width: 2px;
    background-color: #fff;
}

::-webkit-scrollbar-track {
    background-color: #fff;
}

::-webkit-scrollbar-thumb {
    border-radius: 15px;
    background-color: #cecece;
}

.time-laps {
    border-left: 1px solid #ebebeb;
    padding-left: 10px;
    padding-bottom: 1rem;
}

.time-laps>p>small>i {
    margin-left: -15px;
    background-color: white;
    margin-right: 5px;
}

.imagebox {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 200px;
    border-radius: 5px;
}

.ast-text-btn {
    background: transparent;
    cursor: pointer;
    border: none;
}

.ast-divider {
    font-size: 1.2rem;
    overflow: hidden;
    margin: .5rem 0;
    font-weight: 500;
}

.ast-divider::after {
    content: "";
    display: inline-block;
    height: 0.5em;
    vertical-align: bottom;
    width: 100%;
    margin: 0 -100% 3px 10px;
    border-top: 1px dashed white;
}

.ast-plan-card {
    background: var(--primary);
    border-radius: 8px;
    padding: 1rem;
}

.produto-box {
    border: 1px solid var(--primary);
    color: var(--primary);
    user-select: none;
    min-width: 164px;
    min-height: 80px;
    cursor: pointer;
    border-radius: .4rem;
    transition: ease-out 0.5s;
    padding: 0.5rem;
    display: flex;
    text-align: center;
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

/* .produto-box:hover {
    box-shadow: inset 0 -100px 0 0 var(--primary);;
    color: white;
  } */
.produto-box .valor {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.produto-info {
    background: var(--primary);
    color: white;
    position: absolute;
    padding: 10px;
    width: 10px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    top: -7px;
    left: -6px;
}

.produto-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.produto-check:checked+.produto-box {
    background: var(--primary);;
    color: white;
}

.owl-item.center>.produto-box {
    background: var(--primary);;
    color: white;
}

.arrow-carousel {
    background: var(--primary);;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    color: white;
}

.swal2-container .swal2-radio {
    font-size: 10px;
    /* Ajuste o tamanho da fonte conforme necessário */
}
