.cursor-pointer{
    cursor:pointer !important;
}
.app-sidebar-menu{
    margin: 0px;
    border-radius: 8px;
    width: calc(290px - 15px);
}
.topbar-custom{
    margin: 5px 5px 0 0;
    border-radius: 10px;
}
.content-page{
    margin-top:100px;
}
.help-block{
    font-size:0.8rem;
    color:#868686;
}
.modal-dialog-right {
    position: fixed;
    right: 0;
    height: 100vh;
    margin: 0;
    transform: translateX(100%); /* Inicializa fora da tela */
    transition: transform 0.5s ease; /* Transição suave para deslizamento */
    width: 60% !important;
    max-width: none;
}

.modal-content {
    height: 90%;
    border-radius: 0;

}

/* Adiciona classe show para o efeito de deslizamento */
.modal.show .modal-dialog-right {
    transform: translateX(0); /* Move o modal para a posição visível */
}


@media (min-width: 768px) {
    .custom-header {
        display: table-header-group;
    }
}

@media (max-width: 767px) {
    .custom-header {
        display: none;
    }
}


.fc {
    background-color: #fff !important;  /* Cor de fundo do calendário */
  }


  .fc-timegrid-slot{
    background-color: #ffffffd3 !important;
  }




/* Estilo base para todos os eventos */
.fc-event {
    padding-left: 11px !important;
    position: relative !important;
    font-size: 9px !important;
    background: transparent !important;
    border: none !important;
}
.fc-event-main span{
    font-size: 0.9em !important;
}

/* Estilo base para todos os quadradinhos */
.fc-event::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
}

/* Eventos específicos */
.fc-event.event-available {font-weight: normal; }
.fc-event.event-available::before { background-color: #49c489; }

.fc-event.event-scheduled {font-weight: normal; }
.fc-event.event-scheduled::before { background-color: #4081d6; }

.fc-event.event-wait { font-style: italic; }
.fc-event.event-wait::before { background-color: #f76843; }

.fc-event.event-confirmed { font-style: italic; }
.fc-event.event-confirmed::before { background-color: #8f65e5; }

.fc-event.event-attendance { font-style: italic; }
.fc-event.event-attendance::before { background-color: #ffb251; }

.fc-event.event-finalized { font-style: italic; }
.fc-event.event-finalized::before { background-color: #825358; }

.fc-event.event-canceled { font-style: italic; }
.fc-event.event-canceled::before { background-color: #d83d63; }

.status-available {
    background-color: #49c489;
    color: #000;
}

.status-scheduled {
    background-color: #4081d6;
    color: #fff;
}

.status-confirmed {
    background-color: #8f65e5;
    color: #fff;
}

.status-wait {
    background-color: #f76843;
    color: #fff;
}

.status-attendance {
    background-color: #ffb251;
    color: #000;
}

.status-finalized {
    background-color: #825358;
    color: #fff;
}

.status-canceled {
    background-color: #d83d63;
    color: #fff;
}

 /* Customização do CSS */
 #calendar {
    /* max-width: 900px; */
    margin: 0 auto;
}

.fc-timegrid-slot-label-cushion {
    font-size: 10px; /* Menor tamanho de fonte para o horário */
}

.fc-col-header-cell-cushion {
    font-size: 10px; /* Tamanho ajustado para o nome do dia */
}

.fc-scrollgrid {
    border: 1px solid #e1e1e1; /* Border similar ao estilo da imagem */
}

.fc-event-title {
    font-size: 10px; /* Ajuste para o título do evento */
    color:#000;
}
.fc-event-time{
    color:#000;
}

.modal-dialog-right {
position: fixed;
right: 0;
height: 100vh;
margin: 0;
transform: translateX(100%); /* Inicializa fora da tela */
transition: transform 0.5s ease; /* Transição suave para deslizamento */
width: 85% !important;
max-width: none;
}

.modal-content {
height: 100%;
border-radius: 0;
}

/* Adiciona classe show para o efeito de deslizamento */
.modal.show .modal-dialog-right {
transform: translateX(0); /* Move o modal para a posição visível */
}
.popover-header {
background-color: #efefef !important;
color: #212121 !important;
font-weight: bold;
font-size: 1em !important;
padding: 10px;
border-radius: 5px;
}

.custom-swal-size {
width: 300px !important; /* Largura do modal */
padding: 10px; /* Reduza o padding */
}
.swal2-title{
font-size: 1em !important; /* Ajuste o tamanho da fonte */
}
.swal2-icon{
font-size: 0.7em !important; /* Ajuste o tamanho da fonte */
}
.swal2-custom-text{
font-size:0.7em;
}
.swal2-styled.swal2-confirm {
border: 0;
border-radius: .25em;
background: initial;
background-color: #3085d6;
color: #fff;
font-size: 0.7em;
}

.swal2-styled.swal2-cancel {
border: 0;
border-radius: .25em;
background: initial;
background-color: #f03030;
color: #fff;
font-size: 0.7em;
}

.fc .fc-col-header-cell-cushion {
    padding: 2px !important;
}

.fc-col-header-cell-cushion {
    font-size: 0.8em !important;
    color: #212121 !important;
}

.fc-col-header tr  {
    background-color: #efefef !important;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1em;
    font-size: 0.9em !important;
}

.fc-toolbar-title{
    font-size: 1em !important;
}



.fc-timegrid-slot {
    height: 80px !important;
}

.fc .fc-toolbar {
    display: block !important;
}


@media (max-width: 767px) {
.fc .fc-toolbar {
    display: flex;
    flex-direction: column;
}


/* Ordenação personalizada dos itens dentro de .fc-toolbar */
.fc-toolbar-chunk {
    order: 0; /* Ordem padrão */
}

/* Exemplos de reordenação */
.fc-toolbar-chunk:nth-child(2) {
    order: 2; /* Mover o primeiro item para o final */
    padding: 10px;
}

.fc-toolbar-chunk:nth-child(3) {
    order: 1; /* Mover o segundo item para o meio */
}

.fc-toolbar-chunk:nth-child(1) {
    order: 0; /* Mover o terceiro item para o começo */
    padding: 10px;
    margin-left: auto;
}

.fc-toolbar-title{
    font-size: 1.6em !important;
    margin-top: 15px !important;
}

#col-professional-filter{
    margin-bottom: 5px !important;
}

#col-status-filter{
    margin-bottom: 5px !important;
}

#col-view-selector{
    margin-bottom: 5px !important;
}



}



/* #status-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
} */

#status-filters .col-auto {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: calc(50% - 10px); /* Define 50% de largura para cada item, com espaço entre eles */
    margin-bottom: 10px; /* Adiciona um espaço entre as linhas */
}



.hover-bg:hover {
    background-color: #d3d3d3 !important; /* Defina a cor desejada para o hover */
}

/* Estilos para o offcanvas */
.offcanvas-end {
    width: 95% !important; /* Padrão para dispositivos móveis */
    max-width: 500px !important; /* Limita a largura máxima */
}

/* Telas médias e acima (tablets, desktops, etc) */
@media (min-width: 768px) {
    .offcanvas-end {
        width: 75% !important;
        max-width: none !important; /* Remove a limitação de largura máxima */
    }
}

/* Estilos para a página de atendimento */
.card-header {
    border-bottom: none !important;
    background-color: white;
    border-bottom: 1px solid #dee2e6;
}

.observations {
    font-size: 1rem;
}

.observations ul {
    margin-bottom: 0;
}

.header-tags span {
    margin-right: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: white;
}

/* Responsividade para header-tags em mobile */
@media (max-width: 767.98px) {
    .header-tags {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Alinha os itens à esquerda */
    }

    .header-tags span {
        margin-right: 0;
        margin-bottom: 5px; /* Adiciona espaço entre os badges empilhados */
        width: auto; /* Permite que o badge ajuste sua largura ao conteúdo */
    }
}

.header-tags .bg-blue {
    background-color: #4081d6;
}

.header-tags .bg-purple {
    background-color: #8f65e5;
}

.header-tags .bg-pink {
    background-color: #f76843;
}

.header-tags .bg-red {
    background-color: #d83d63;
}

.btn-edit {
    background-color: #ff5722;
    color: white;
}

/* Estilo personalizado para o botão de visualização */
.btn-view-evolution {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

.btn-view-evolution:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
    color: white !important;
}

/* Estilos responsivos para informações do paciente */
@media (max-width: 767.98px) {
    .card-header {
        padding: 1rem !important;
    }

    .patient-info-mobile {
        text-align: center;
    }

    .patient-info-mobile h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .patient-info-mobile .d-flex {
        justify-content: flex-start !important;
        text-align: left;
    }

    .patient-info-mobile span {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .observations {
        font-size: 0.9rem;
    }

    .observations h6 {
        font-size: 1rem;
    }

    /* Ajustes para o botão de observações em mobile */
    #btn-patient-observations {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    /* Compactar as tabs em mobile */
    .nav-tabs .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }

    /* Ajustar espaçamento dos ícones em mobile */
    .patient-info-mobile i {
        width: 12px;
        text-align: center;
    }
}

/* Estilos modernos para sidebar */
.modern-sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1rem;
    margin: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-sidebar .menu-title {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.modern-sidebar .nav-item {
    margin-bottom: 0.5rem;
}

.modern-sidebar .nav-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.modern-sidebar .nav-link:hover {
    background: rgba(0, 123, 255, 0.08);
    color: #007bff;
    transform: translateX(5px);
}

.modern-sidebar .nav-link.active {
    background: rgba(0, 123, 255, 0.12);
    color: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.modern-sidebar .nav-link-icon {
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(0, 123, 255, 0.08);
    border-radius: 8px;
}


.modern-sidebar .nav-link:hover .nav-link-icon {
    background: rgba(0, 123, 255, 0.15);
    transform: scale(1.05);
}

.modern-sidebar .nav-link-text {
    flex: 1 1 auto;
    font-size: 0.95rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.modern-sidebar .menu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    position: relative;
    right: auto;
    display: flex;
    align-items: center;
    font-family: inherit;
}

.modern-sidebar .menu-arrow:before {
    content: none !important;
}

.modern-sidebar .nav-link[aria-expanded="true"] .menu-arrow {
    transform: rotate(180deg);
}

.modern-sidebar .nav-second-level,
.modern-sidebar .nav-third-level {
    padding-left: 2rem;
    margin-top: 0.5rem;
}

.modern-sidebar .nav-second-level .nav-link,
.modern-sidebar .nav-third-level .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    color: #6c757d;
}

.modern-logo {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 1.5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    margin: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Limita a imagem dentro do container */
.modern-logo .logo-image {
    max-width: 100%;
    max-height: 90px; /* ajuste conforme o design desejado */
    object-fit: contain;
    height: auto;
    display: block;
}
.logo-box{
    width: 250px;
    margin-left: 10px;
    height: 100px;

}

.modern-logo:hover .logo-image {
    transform: scale(1.05);
}

@media (min-width: 1200px) {
.topbar-custom {
        left:290px !important;
    }
}



/* Estilos modernos para topbar */
.modern-topbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-topbar .topbar-search input {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.modern-topbar .topbar-search input:focus {
    background: #ffffff;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Estilos modernos para container da sidebar */
.modern-sidebar-container {

    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estilos modernos para footer */
.modern-footer {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    margin: 10px;
    color: #495057;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modern-footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsividade para estilos modernos */
@media (max-width: 768px) {
    .modern-sidebar {
        margin: 5px;
        padding: 0.75rem;
    }

    .modern-sidebar .nav-link {
        padding: 0.6rem 0.8rem;
    }

    .modern-sidebar .nav-link-icon {
        width: 24px;
        height: 24px;
        margin-right: 0.75rem;
    }

    .modern-sidebar .nav-link-text {
        font-size: 0.9rem;
    }

    .modern-logo {
        padding: 1rem;
        margin: 5px;
    }

    .modern-topbar {
        margin: 5px;
    }
}

#sidebar-menu>ul>li ul{
  padding-left: 10px !important;
 }

 @media (min-width: 1024px) {
    #sidebar-menu{
        margin-top: 35px !important;
    }
 }
