html, body {
    height: 100%;
}

.sidebar {
    height: 100vh;
    background-color: #485869;
    padding-top: 20px;
    position: fixed;
    max-width: 218px !important;
    transition: left 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
    top: 62px;
}

.sidebar.active {
    left: 0; /* Mostra o sidebar */
}

.sidebar a {
    font-size: 16px;
    color: #fcfcfc;
    display: block;
    padding: 10px;
    text-decoration: none;
    margin: 5px 0;

    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.sidebar a:hover {
    background-color: #e9ecef;
    color: #202020; /* Azul Bootstrap */
}

#main-content {
    margin-left: 220px;
    margin-top: 70px;
}

.profilePicture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 15px;
}

.navbar {
    background-color: #002c53 !important;
    z-index: 1003;
    position: fixed !important;
    width: 100%;
}

.nav-item a, .navbar-text {
    color: #f8f9fa;

    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.nav-item a:hover, .navbar-text:hover {
    color: #f8f9fa;
}

.navbar-toggler {
    background-color: #f8f9fa !important;
}

/* Botão de toggle para sidebar */
#sidebar-toggle-btn {
    position: fixed;
    bottom: 43%;
    left: 0px;
    background-color: #212529;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 0px 15px 15px 0px;
    z-index: 1100;
    display: none; /* Esconde o botão inicialmente */
    transition: left 0.3s ease;
}

.row-header {
    background-color: #f8f9fa;
    font-weight: bold;
    font-size: 14px;
    height: 50px;

    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.row-content {
    border-bottom: 1px solid #dee2e6;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    padding: 10px 0px 10px 0px;
}
.row-content img {
    width: 26px;
}
.row-content div, .row-header div {
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: flex;
}
.status-button {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 0.25rem;
    color: #fff;
    border: none;
    width: 120px;
}

.showDetails{
    color: #d1af2f;
    font-weight: 500;
    cursor: pointer;
    text-align: -webkit-center;
}

.ticketIcon{
   font-size: 25px !important;
}

.layout-mobile {
    display: none;
}

.layout-mobile button {
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 1rem;
    color: var(--bs-accordion-btn-color);
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}

.layout-mobile button i {
    vertical-align: sub !important;
    margin-right: 10px;
}

.layout-mobile-item p {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.layout-mobile button strong, .layout-mobile-body strong {
    font-weight: 600;
}

.events-badge {
    font-size: 13px;
    width: 16px;
    height: 16px;
    position: absolute;
    border-radius: 15px;
    margin-left: 20px;
    margin-top: -13px;
    color: #fff;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff5050;
}

.msg-notifica {
    margin-left: 0px;
    font-size: 13px !important;
    color: #F44336;
    position: absolute;
    border-radius: 50%;
    animation: shadow-pulse 1s infinite;
}

.row-content:hover {
    background-color: rgba(85, 84, 84, 0.192);
    cursor: pointer;
}

.opcoes-chamado {
    font-size: 22px;
    padding-left: 100px !important;
}

.opcoes-chamado p {
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 17px;
}

.opcoes-chamado p i {
    font-size: 24px;
    margin-right: 10px;
}

.opcoes-chamado p img {
    width: 24px;
    margin-right: 10px;
}

.opcoes-chamado p:hover{
    color: rgb(81, 129, 231);
}

.descricoes-chamado p{
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 17px;
}

#ticket-detail, #visitas {
    margin-top: 35px;
    margin-left: 218px;
    padding-top: 25px;
}

.dropdown-item {
    color: black !important;
}

.row-status-filter {
    background-color: #f3f3f3;
    align-items: center;
    padding: 15px 0px 15px 0px;
}

.row-status-filter label{
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 14px;
    cursor: pointer;
}

.row-status-filter span {
    font-size: 16px;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.row-others-filters {
    background-color: rgba(85, 84, 84, 0.192);
    padding: 5px;
    align-items: center;
    padding: 15px 0px 15px 0px;
}

.row-others-filters label {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 14px;
}

.slaIcons {
    margin-left: 10px;
    font-size: 22px;
    display: flex;
    width: 140px;
}

.slaIcons div {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#searchTicket {
    height: 30px;
    background: none;
    border: none;
    border-bottom: 1px solid black;
    border-radius: 0px;
    outline: none;
    margin-left: 8px;
    width: 170px;
}

/*MODAL RELATORIOS*/
.infoReport {
    border-radius: 5px;
    border: 1px solid #c0c0c08c;
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.button-modal-report, .visita-pendente-relatorio, .infoReport, #visitas, .form-rel-finalizacao{
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.repair-options {
    display: flex;
    margin-bottom: 15px;
}

.repair-options span{
    margin-right: 10px !important;
}

.form-check {
    margin-right: 10px !important;
}

.relatorio-visita input, .relatorio-visita textarea, .relatorio-visita select, .signature-quad,.relatioship-opening-ticket input, .itens-observation input, .problems select, .coast input, 
.detail-defect input, .description-service textarea {
    border: #002c53ad 1px solid;
}

.accordion-button strong {
    font-size: 14px;
}

.botoes-relatorio-accordion button:first-child {
    margin-right: 10px;
}

.custom-file-upload {
    display: inline-block;
    width: 45px;
    height: 40px;
    background-color: #002c53;
    color: white;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    font-size: 24px;
    line-height: 40px;
}

.custom-file-upload input[type="file"] {
    display: none;
}

.delSignatureButton {
    margin-left: 10px;
}

.btn-emitir-relatorio {
    width: 200px !important;
}

.btn-emitir-relatorio span {
    margin-right: 10px;
}
/*FIM MODAL RELATORIO*/

.file-row {
    display: flex;
    border-bottom: 1px solid silver;
    margin-bottom: 20px;
}

/*CALENDARIO DE VISITAS*/

.calendarPreview {
    width: 100%;
    height: 350px !important;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.fc-col-header-cell-cushion {
    text-decoration: none !important;
    color: black !important;
}

.fc-daygrid-day-number {
    text-decoration: none !important;
    color: black !important;
}

.filtro select {
    border-color: #002c53ad;
}

@media (max-width: 1180px) {
    .sidebar {
        left: -250px; /* Escondido para mobile */
    }

    #sidebar-toggle-btn {
        display: block; /* Mostra o botão em telas pequenas */
    }

    #main-content, #ticket-detail, #visitas {
        margin-left: 0;
    }
}

@media(max-width:991px) {
    .showDetails {
        margin-bottom: 10px;
    }

    .row-content div, .row-header div {
        padding: 5px;
        font-size: 14px;
    }

    .dropdown-menu {
        position: absolute !important;
    }

    .accordion-button {
        height: 90px;
        
    }
}

@media (max-width: 767px) {
    .layout-mobile {
        display: block !important;
    }

    .row-header, .row-content {
        display: none !important;
    }

    .row-others-filters label, .row-status-filter label, span {
        font-size: 17px;
    }

    .infoReport, .accordion-button {
        display: block;
    }
}

@media(max-width: 545px) {
    .button-pdf-download{
        display: none;
    }

    .fc-header-toolbar {
        flex-direction: column !important;
        align-items: start !important;
    }

    .fc-toolbar-chunk {
        margin-bottom: 10px;
    }

    .cores-legendas {
        flex-direction: column;
    }
}