@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


:root {
    --custom-card-header-bg: #f4f4f4;
    --bs-border-radius: 0.375rem;
    --bs-border-color: #dee2e6;
    --bs-border-width: 1px;
    --bs-modal-border-width: 1px;
    --bs-modal-bg: #fff;
}

.card-header-themed {
    background-color: var(--custom-card-header-bg);
}

.custom-element-themed {
    background-color: var(--custom-element-bg, #dfdfdf) !important;
}

h1:focus-visible {
    outline: none !important;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/*foco do botão*/
.btn-check:focus + .btn, .btn:focus {
    box-shadow: none !important;
}


/*ICONS*/
.oi {
    width: 20px !important;
}


/*LOGIN*/
.login .modal-dialog {
    width: 350px;
    background-color: #fff;
    padding: 1em;
    /*border:1px solid black;*/
    border-radius: 15px;
}

.login .modal-footer {
    border-top: 0;
    margin-top: 0px;
    padding: 10px 20px 20px;
    justify-content: center !important;
}

.login .modal-header {
    border: 0 none;
    padding: 15px 15px 15px;
    /*     padding: 11px 15px; */
}

.login .modal-body {
    /*     background-color: #eeeeee; */
}

.login .division {
    float: none;
    margin: 0 auto 18px;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}

    .login .division .line {
        border-top: 1px solid #414245;
        position: absolute;
        top: 10px;
        width: 34%;
    }

        .login .division .line.l {
            left: 0;
        }

        .login .division .line.r {
            right: 0;
        }

    .login .division span {
        color: #414245;
        font-size: 17px;
    }

.login .box .social {
    float: none;
    margin: 0 auto 30px;
    text-align: center;
}

.login .social .circle {
    background-color: #414245;
    color: #FFFFFF;
    border-radius: 100px;
    display: inline-block;
    margin: 0 17px;
    padding: 13px;
    height: 3em;
    width: 3em;
}

    .login .social .circle .fa {
        font-size: 16px;
    }

.login .forgot {
    color: #797979;
    margin-left: 0;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.login .btn-login, .registerBox .btn-register {
    background-color: #414245;
    border-color: #414245;
    border-width: 0;
    color: #FFFFFF;
    display: block;
    margin: 0 auto;
    padding: 15px 50px;
    text-transform: uppercase;
    width: 100%;
}

    .login .btn-login:hover, .registerBox .btn-register:hover {
        background-color: #000;
        color: #FFFFFF;
    }

.login .form-control {
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.09);
    box-shadow: 0 1px 0px 0px rgba(0, 0, 0, 0.09) inset;
    color: #FFFFFF;
}

    .login .form-control:hover {
        background-color: rgba(0,0,0,.16);
    }

    .login .form-control:focus {
        box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04) inset;
        background-color: rgba(0,0,0,0.23);
        color: #FFFFFF;
    }

.login .box .form input[type="text"], .login .box .form input[type="password"] {
    border-radius: 3px;
    border: none;
    color: #333333;
    font-size: 16px;
    height: 46px;
    margin-bottom: 5px;
    padding: 13px 12px;
    width: 100%;
}


@media (max-width:400px) {
    .login .modal-dialog {
        /*width: 100%;*/
    }
}

.big-login, .big-register {
    background-color: #00bbff;
    color: #FFFFFF;
    border-radius: 7px;
    border-width: 2px;
    font-size: 14px;
    font-style: normal;
    font-weight: 200;
    padding: 16px 60px;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

    .big-login:hover {
        background-color: #00A4E4;
        color: #FFFFFF;
    }

.big-register {
    background-color: rgba(0,0,0,.0);
    color: #00bbff;
    border-color: #00bbff;
}

    .big-register:hover {
        border-color: #00A4E4;
        color: #00A4E4;
    }

/* LOADING */
.lds-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #4a9339;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #4a9339 transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* DATATABLES */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    background-color: #4a9339 !important;
}

.page-item.active .page-link {
    color: #6c757d !important;
    background-color: transparent !important;
    border-color: #dee2e6 !important;
}

.dataTables_wrapper .dataTables_length {
    margin-right: 1em !important;
}

    .dataTables_wrapper .dataTables_length select {
        height: 20px !important;
    }

div.dataTables_length select {
    width: 50px !important;
    display: inline-block;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    /* padding: 0.5em 1em; */
    padding: 0 !important;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        border: none !important;
        background-color: transparent !important;
        background: transparent !important;
    }

.dataTables_wrapper .dataTables_filter input {
    height: 20px !important;
    margin-left: 6px !important;
}

/* DROPDOWN */
select {
    border-radius: 3px;
    border: 1px solid #aaa;
    color: #333333;
    font-size: 16px;
    height: 46px;
    margin-bottom: 5px;
    padding-left: 12px;
    width: 100%;
}

/* DATEPICKER */
input[type="date"] {
    border-radius: 3px;
    border: 1px solid #aaa;
    color: #333333;
    font-size: 16px;
    height: 46px;
    margin-bottom: 5px;
    padding-left: 12px;
    width: 100%;
}


/* TOGGLE SWITCH */
.agile-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

    .agile-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.agile-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .agile-switch-slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .agile-switch-slider {
    background-color: var(--mud-palette-primary) !important;
}

input:focus + .agile-switch-slider {
    box-shadow: 0 0 1px #7fbc55;
}

input:checked + .agile-switch-slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}
/* Rounded */
.agile-switch-slider.round {
    border-radius: 34px;
}

    .agile-switch-slider.round:before {
        border-radius: 50%;
    }



/* TIMELINE */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

    .timeline::after {
        content: '';
        position: absolute;
        width: 3px;
        background-color: lightgray;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -3px;
    }

.timeline_container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

    .timeline_container::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 25px;
        right: -13px;
        background-color: white;
        border: 4px solid lightgray;
        top: 15px;
        border-radius: 50%;
        z-index: 1;
    }

.timeline_left {
    left: 0;
}

.timeline_right {
    left: 50%;
}

.timeline_left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid lightgray;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent lightgray;
}

.timeline_right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid lightgray;
    border-width: 10px 10px 10px 0;
    border-color: transparent lightgray transparent transparent;
}

.timeline_right::after {
    left: -16px;
}

.timeline_content {
    padding: 10px 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    border: 2px solid lightgray;
}

@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .timeline_container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

        .timeline_container::before {
            left: 60px;
            border: medium solid lightgray;
            border-width: 10px 10px 10px 0;
            border-color: transparent lightgray transparent transparent;
        }

    .timeline_left::after, .timeline_right::after {
        left: 15px;
    }

    .timeline_right {
        left: 0%;
    }
}


/*PROGRESS BAR (chart redondo)*/
.roundprogress {
    width: 140px;
    height: 140px !important;
    float: left;
    line-height: 150px;
    background: none;
    /*margin: 20px;*/
    box-shadow: none;
    position: relative;
}

    .roundprogress:after {
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 12px solid #e9ecef;
        position: absolute;
        top: 0;
        left: 0;
    }

    .roundprogress > span {
        width: 50%;
        height: 100%;
        overflow: hidden;
        position: absolute;
        top: 0;
        z-index: 1;
    }

    .roundprogress .roundprogress-left {
        left: 0;
    }

    .roundprogress .roundprogress-bar {
        width: 100%;
        height: 100%;
        background: none;
        border-width: 12px;
        border-style: solid;
        position: absolute;
        top: 0;
    }

    .roundprogress .roundprogress-left .roundprogress-bar {
        left: 100%;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
        border-left: 0;
        -webkit-transform-origin: center left;
        transform-origin: center left;
    }

    .roundprogress .roundprogress-right {
        right: 0;
    }

        .roundprogress .roundprogress-right .roundprogress-bar {
            left: -100%;
            border-top-left-radius: 80px;
            border-bottom-left-radius: 80px;
            border-right: 0;
            -webkit-transform-origin: center right;
            transform-origin: center right;
            animation: loading-1 1.8s linear forwards;
        }

    .roundprogress .roundprogress-value {
        width: 90%;
        height: 90%;
        border-radius: 50%;
        /*background: #000;*/
        font-size: 24px;
        color: #000;
        line-height: 135px;
        text-align: center;
        position: absolute;
        top: 2%;
        left: 5%;
    }



/*TIMELINE VERTICAL (banco de horas - cc)*/
.vertical-timeline {
    width: 100%;
    position: relative;
    padding: 1.5rem 0 1rem;
}

    .vertical-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 80px;
        height: 100%;
        width: 4px;
        background: #e9ecef;
        border-radius: .25rem;
    }

.vertical-timeline-element {
    position: relative;
    margin: 0 0 1rem;
}

.vertical-timeline--animate .vertical-timeline-element-icon.bounce-in {
    visibility: visible;
    animation: cd-bounce-1 .8s;
}

.vertical-timeline-element-icon {
    position: absolute;
    top: 0;
    left: 73px;
}

    .vertical-timeline-element-icon .badge-dot-xl {
        box-shadow: 0 0 0 5px #fff;
    }

.badge-dot-xl {
    width: 18px;
    height: 18px;
    position: relative;
}

.badge:empty {
    display: none;
}


.badge-dot-xl::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: .25rem;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -5px 0 0 -5px;
    background: #fff;
}

.vertical-timeline-element-content {
    position: relative;
    margin-left: 110px;
    font-size: .8rem;
}

    .vertical-timeline-element-content .timeline-title {
        font-size: .8rem;
        text-transform: uppercase;
        margin: 0 0 .5rem;
        padding: 2px 0 0;
        font-weight: bold;
    }

    .vertical-timeline-element-content .vertical-timeline-element-date {
        display: block;
        position: absolute;
        left: -110px;
        top: 0;
        padding-right: 10px;
        text-align: right;
        color: #adb5bd;
        font-size: .7619rem;
        white-space: nowrap;
    }

    .vertical-timeline-element-content:after {
        content: "";
        display: table;
        clear: both;
    }




.icone-color {
    color: #6c8394;
}

.no-spinner {
    appearance: none;
    -moz-appearance: textfield; 
    -webkit-appearance: none; 
}
    .no-spinner::-webkit-inner-spin-button,
    .no-spinner::-webkit-outer-spin-button {
        -webkit-appearance: none !important;
        margin: 0;
    }

.nav-tabs .nav-link.active {
    background-color: #e9f0fe !important;
    color: white;
}

@media (max-width: 500px) {

    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: "" !important;
    }

}

@media (min-width: 501px) {

    .hide-on-mobile {
        display: "" !important;
    }

    .show-on-mobile {
        display: none !important;
    }
}


/*     step progress */
.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

@media (max-width: 768px) {
    .stepper-item {
        font-size: 12px;
    }
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    margin-bottom: 6px;
}

.stepper-item.active {
    font-weight: bold;
}

.stepper-item.completed .step-counter {
    background-color: var(--mud-palette-primary);
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid var(--mud-palette-primary);
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

.fichatecnica {
    display: block;
    padding-left: 0.125rem;
    padding-right: 0.125rem;
    margin-bottom: 0.125rem;
    border-radius: 3px;
    border: 1px solid #aaa;
    color: #333333;
    height: 30px;
    width: 100%;
}

.fichatecnicaServico {
    display: block;
    padding-left: 0.125rem;
    padding-right: 0.125rem;
    margin-bottom: 0.125rem;
    border-radius: 3px;
    border: 1px solid #aaa;
    color: #333333;
    height: 30px;
    width: 30px;
}

.fichatecnicaFase {
    display: block;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    margin-bottom: 0.125rem;
    border-radius: 3px;
    border: 1px solid #aaa;
    color: #333333;
    height: 30px;
    width: 65%;
}

.coluna-tabela-ppp {
    min-width: 20px !important;
    width: 20px !important;
    max-width: 20px !important;
}

.coluna-tabela-pp {
    min-width: 65px !important;
    width: 65px !important;
    max-width: 65px !important;
}

.coluna-tabela-pm {
    min-width: 75px !important;
    width: 75px !important;
    max-width: 75px !important;
}

.coluna-tabela-p {
    width: 80px !important;
}

.coluna-tabela-mp {
    min-width: 110px !important;
    width: 110px !important;
    max-width: 110px !important;
}

.coluna-tabela-m {
    width: 150px !important;
}

.coluna-tabela-l {
    width: 200px !important;
}

.campos-custo {
    display: flex !important;
    gap: 8px !important;
}

    .campos-custo div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }


.td-px-p {
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.td-py-p {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.td-p-p {
    padding: 6px !important;
}

/* Garante que tanto <th> quanto <td> com a classe .coluna-tabela-pp fiquem centralizados */
th.coluna-tabela-pp,
td.coluna-tabela-pp {
    text-align: center;
    vertical-align: middle;
}

    /* Caso o ícone precise ajustar seu tamanho de fonte para ficar igual ao cabeçalho */
    td.coluna-tabela-pp i.fa-user-gear {
        font-size: inherit !important;
        line-height: normal;
    }

.botao-tamanho-150 {
    width: 150px;
    text-align: center;
    white-space: nowrap;
}

.botao-tamanho-200 {
    width: 200px;
    text-align: center;
    white-space: nowrap;
}

.mud-input {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding-left: 0.3rem;
}

.mostrar-na-impressao {
    display: none;
}
.mostrar-na-impressao-tr {
    display: none;
}

.mostrar-na-impressao-td {
    display: none;
}

@media print {

    @page {
        size: landscape;
    }

    table {
        page-break-inside: auto;
    }

    tr {
        page-break-inside: avoid; /* Prevent rows from breaking across pages */
    }

    td {
        break-inside: avoid; /* Prevent cells from breaking across pages */
    }

    .nao-imprimir {
        display: none !important;
    }

    .mostrar-na-impressao {
        display: "" !important;
    }

    .mostrar-na-impressao-tr {
        display: table-row !important;
    }

    .mostrar-na-impressao-td {
        display: table-cell !important;
    }

    .page-break {
        page-break-before: always; /* Forces a new page before this element */
    }

}

@media (max-width: 576px) {
    .modal-dialog.login.animated {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
}

@media (max-width: 576px) {
    #agile-footer {
        position: absolute;
        bottom: 10px; 
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
}

/* Sobrescrever a cor do loading das tabelas MudBlazor */
.mud-table-loading-progress.mud-progress-linear-color-info {
    --mud-palette-info: var(--mud-palette-primary);
}

.no-padding-start .mud-treeview-item-content {
    padding-left: 0 !important;
}

/*popover do layout de notificações em Mobile*/
.notification-menu-popover {
    max-width: 350px !important;
    width: 350px !important;
    max-height: 500px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    border-radius: 8px !important;
}

@media (max-width: 599px) {
    .notification-menu-popover {
        max-width: 250px !important;
        width: 250px !important;
    }
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
}

.text-primary {
    color: var(--mud-palette-primary) !important;
}


.text-primary-themed {
    color: var(--mud-palette-text-primary);
}

.backgroundMudDefault {
    background-color: var(--mud-palette-background);
}

/*MODAL PARA SE APAGAR DEPOIS*/

.modal {
    --bs-modal-zindex: 1055;
    --bs-modal-width: 500px;
    --bs-modal-padding: 1rem;
    --bs-modal-margin: 0.5rem;
    --bs-modal-color:;
    --bs-modal-bg: #fff;
    --bs-modal-border-color: var(--bs-border-color-translucent);
    --bs-modal-border-width: 1px;
    --bs-modal-border-radius: 0.5rem;
    --bs-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-modal-inner-border-radius: calc(0.5rem - 1px);
    --bs-modal-header-padding-x: 1rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1rem;
    --bs-modal-header-border-color: var(--bs-border-color);
    --bs-modal-header-border-width: 1px;
    --bs-modal-title-line-height: 1.5;
    --bs-modal-footer-gap: 0.5rem;
    --bs-modal-footer-bg:;
    --bs-modal-footer-border-color: var(--bs-border-color);
    --bs-modal-footer-border-width: 1px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-modal-zindex);
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: var(--bs-modal-margin);
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal.show .modal-dialog {
    transform: none;
}

.modal.modal-static .modal-dialog {
    transform: scale(1.02);
}

.modal-dialog-scrollable {
    height: calc(100% - var(--bs-modal-margin) * 2);
}

    .modal-dialog-scrollable .modal-content {
        max-height: 100%;
        overflow: hidden;
    }

    .modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
}

.modal-backdrop {
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
}

    .modal-backdrop.fade {
        opacity: 0;
    }

    .modal-backdrop.show {
        opacity: var(--bs-backdrop-opacity);
    }

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-modal-header-padding);
    border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);
    border-top-left-radius: var(--bs-modal-inner-border-radius);
    border-top-right-radius: var(--bs-modal-inner-border-radius);
}

    .modal-header .btn-close {
        padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5);
        margin: calc(-0.5 * var(--bs-modal-header-padding-y)) calc(-0.5 * var(--bs-modal-header-padding-x)) calc(-0.5 * var(--bs-modal-header-padding-y)) auto;
    }

.modal-title {
    margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height);
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: var(--bs-modal-padding);
}

.modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * 0.5);
    background-color: var(--bs-modal-footer-bg);
    border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}

    .modal-footer > * {
        margin: calc(var(--bs-modal-footer-gap) * 0.5);
    }

@media (min-width: 576px) {
    .modal {
        --bs-modal-margin: 1.75rem;
        --bs-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

    .modal-dialog {
        max-width: var(--bs-modal-width);
        margin-right: auto;
        margin-left: auto;
    }

    .modal-sm {
        --bs-modal-width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        --bs-modal-width: 800px;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        --bs-modal-width: 1140px;
    }
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

    .modal-fullscreen .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }

    .modal-fullscreen .modal-header,
    .modal-fullscreen .modal-footer {
        border-radius: 0;
    }

    .modal-fullscreen .modal-body {
        overflow-y: auto;
    }

@media (max-width: 575.98px) {
    .modal-fullscreen-sm-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }

        .modal-fullscreen-sm-down .modal-content {
            height: 100%;
            border: 0;
            border-radius: 0;
        }

        .modal-fullscreen-sm-down .modal-header,
        .modal-fullscreen-sm-down .modal-footer {
            border-radius: 0;
        }

        .modal-fullscreen-sm-down .modal-body {
            overflow-y: auto;
        }
}

@media (max-width: 767.98px) {
    .modal-fullscreen-md-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }

        .modal-fullscreen-md-down .modal-content {
            height: 100%;
            border: 0;
            border-radius: 0;
        }

        .modal-fullscreen-md-down .modal-header,
        .modal-fullscreen-md-down .modal-footer {
            border-radius: 0;
        }

        .modal-fullscreen-md-down .modal-body {
            overflow-y: auto;
        }
}

@media (max-width: 991.98px) {
    .modal-fullscreen-lg-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }

        .modal-fullscreen-lg-down .modal-content {
            height: 100%;
            border: 0;
            border-radius: 0;
        }

        .modal-fullscreen-lg-down .modal-header,
        .modal-fullscreen-lg-down .modal-footer {
            border-radius: 0;
        }

        .modal-fullscreen-lg-down .modal-body {
            overflow-y: auto;
        }
}

@media (max-width: 1199.98px) {
    .modal-fullscreen-xl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }

        .modal-fullscreen-xl-down .modal-content {
            height: 100%;
            border: 0;
            border-radius: 0;
        }

        .modal-fullscreen-xl-down .modal-header,
        .modal-fullscreen-xl-down .modal-footer {
            border-radius: 0;
        }

        .modal-fullscreen-xl-down .modal-body {
            overflow-y: auto;
        }
}

@media (max-width: 1399.98px) {
    .modal-fullscreen-xxl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }

        .modal-fullscreen-xxl-down .modal-content {
            height: 100%;
            border: 0;
            border-radius: 0;
        }

        .modal-fullscreen-xxl-down .modal-header,
        .modal-fullscreen-xxl-down .modal-footer {
            border-radius: 0;
        }

        .modal-fullscreen-xxl-down .modal-body {
            overflow-y: auto;
        }
}

.theme-bordered-select {
    position: relative;
    background: var(--mud-palette-surface);
}

    .theme-bordered-select > select {
        border: none;
        border-radius: 0;
        outline: none;
        background: var(--mud-palette-surface);
        color: var(--mud-palette-text-primary);
        accent-color: var(--mud-palette-primary); /* Define a cor de destaque do select */
    }

    /* Linha inferior padrão */
    .theme-bordered-select::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: rgba(189, 189, 189, 1);
    }

    /* Linha inferior animada no foco */
    .theme-bordered-select::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 1px;
        background-color: var(--mud-palette-primary) !important;
        transition: all 0.25s ease;
    }

    .theme-bordered-select:focus-within::after {
        width: 100%;
        height: 2px;
        left: 0;
    }

/*Classes para o Mobiscroll ficar no tema do Projeto/Mudblazor*/
.mbsc-ios.mbsc-selected .mbsc-calendar-cell-text {
    background: var(--mud-palette-primary) !important;
    border-color: var(--mud-palette-primary) !important;
    color: #fff !important;
}

.mbsc-ios.mbsc-calendar-today, .mbsc-ios.mbsc-calendar-week-nr {
    color: var(--mud-palette-primary) !important;
}

.mbsc-ios.mbsc-calendar-button.mbsc-button {
    color: var(--mud-palette-primary) !important;
}

.mbsc-ios-dark.mbsc-event.mbsc-list-item {
    background: var(--mud-palette-background) !important;
    border-color: var(--mud-palette-primary) !important;
    color: #ffffff !important;
}

.mbsc-ios.mbsc-list-item {
    background: var(--mud-palette-background) !important;
    border-color: var(--mud-palette-primary) !important;
    color: #000;
}

.mbsc-ios-dark.mbsc-event-day.mbsc-list-header {
    background: var(--mud-palette-background) !important;
    border-color: var(--mud-palette-primary) !important;
    color: #fff;
}

.mbsc-ios-dark.mbsc-calendar-cell {
    background: var(--mud-palette-background) !important;
    border-color: var(--mud-palette-primary) !important;
    color: #fff;
}

.mbsc-event-list-scroll {
    background: var(--mud-palette-background) !important;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

.mbsc-ios.mbsc-calendar-week-day {
    background-color: var(--custom-card-header-bg) !important;
}

.mbsc-ios.mbsc-calendar-controls {
    background-color: var(--custom-card-header-bg) !important;
}

/*Classes para título do componente*/
.titulo-inter {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.titulo-gradient {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}


/*Classes para NavLink do MainLayout*/

.mud-nav-link {
    text-decoration: none !important;
}

/* Reset completo para todos os links dentro do drawer */
.mud-drawer a,
.mud-drawer a:link,
.mud-drawer a:hover,
.mud-drawer a:focus {
    color: inherit !important;
}

/* Específico para MudNavLink */
.mud-nav-link,
.mud-nav-link:hover,
.mud-nav-link:focus {
    background-color: transparent !important;
}

    /* Target direto no elemento com classe mud-nav-link-text */
    .mud-nav-link .mud-nav-link-text,
    .mud-nav-link:hover .mud-nav-link-text {
        color: inherit !important;
    }

/* Para MudNavGroup também */
.mud-nav-group a,
.mud-nav-group a:hover,
.mud-nav-group a:focus {
    color: inherit !important;
}

/* Override global para garantir */
a.mud-nav-link,
a.mud-nav-link:hover,
a.mud-nav-link:focus {
    color: inherit !important;
}

    /* Estilo para o link ativo/selecionado */
    .mud-nav-link.active,
    .mud-nav-link-active,
    .mud-nav-link.mud-nav-link-active,
    a.mud-nav-link.active,
    a.mud-nav-link-active {
        color: var(--mud-palette-primary) !important;
        background-color: color-mix(in srgb, var(--mud-palette-primary) 10%, transparent) !important;
    }

        /* Garante que o texto e ícone do link ativo também fiquem com a cor primary */
        .mud-nav-link.active .mud-nav-link-text,
        .mud-nav-link-active .mud-nav-link-text,
        .mud-nav-link.active .mud-nav-link-icon,
        .mud-nav-link-active .mud-nav-link-icon,
        .mud-nav-link.active .mud-icon-root,
        .mud-nav-link-active .mud-icon-root {
            color: var(--mud-palette-primary) !important;
        }

/* Para links dentro de MudNavGroup quando ativos */
.mud-nav-group .mud-nav-link.active,
.mud-nav-group .mud-nav-link-active,
.mud-nav-group .mud-nav-link.active .mud-nav-link-text,
.mud-nav-group .mud-nav-link-active .mud-nav-link-text {
    color: var(--mud-palette-primary) !important;
}