/* =========================
   CONTENT BOX - componentes reutilizáveis - cards, pdf-list, inputs customizados, toast
   ========================= */

.content {
    padding: 20px;
    background-color: lightblue;
    width: 100%;
    max-width: 1140px;
}



/***************** Modal PDF *******************************************/
#pdfModal .modal-dialog {
    max-width: 900px;
}

#pdfModalCanvas
 {
    width: 100%;
    /*height: 80vh;  */
     height: auto;
    object-fit: contain;
   /* border: none;*/
   /* background: #f8f9fa;*/
}

/*****************  *******************************************/

#imageView {
    display: none;
}

/* =========================
   TEXTO COM ELLIPSIS
   ========================= */

.file-name,
.file-name1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55vw;
}

/* =========================
   ÍCONE + TEXTO
   ========================= */

.div-icon-text {
    display: flex;
    flex-direction: column;
}

.text-icon {
    font-size: 12px;
}
      
            
        /*  Tela antiga ndd   */    
         
           
           /* Você também pode estilizar a própria tag figure */
            .figura-com-borda {
                /*border: 1px solid #cccccc; */
                padding: 5px; /* Adiciona espaço entre a borda e a imagem/legenda */
                margin: 5px; /* Adiciona margem externa */
            }
           
           
        /* Estilizando a imagem dentro da tag figure */
            .figura-com-borda img {
                border: 5px solid  #000000; /* Largura, Estilo e Cor */
                border-radius: 10px; /* Opcional: para bordas arredondadas */
            }
           
            .help-icon {
                cursor: pointer; /* Muda para a mãozinha */
                transition: all 0.3s ease;
            }

            .help-icon:hover {
                color: #007bff !important; /* Muda a cor no hover */
                transform: scale(1.1); /* Efeito de zoom */
            }
            
      
        .pdfPreview {
            width: 100%;
            height: 70vh;
            border: none;
        }
        
.card {
    width: 100%;
   /*  max-width: 600px; */
    margin: 0 auto;
}

    .custom-list {
     list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    width: 100%;
}

.custom-list li {
   display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.feature-card .card-body {
    display: flex;
    flex-direction: column;
}

.title-portal {
    font-family: "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}


/* ===== SIDEBAR ESCURA ===== */
.app-sidebar.bg-dark {
    background-color: #212529; /* preto elegante (Bootstrap dark) */
}

/* Texto padrão */
.app-sidebar .nav-link p {
    color: #e9ecef;
    font-weight: 500;
}

/* Ícones */
.app-sidebar .nav-icon {
    color: #adb5bd;
    font-size: 1.1rem;
}

/* Link */
.app-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    margin: 4px 8px;
    padding: 10px 12px;
    transition: background-color .2s ease, color .2s ease;
}

/* Hover */
.app-sidebar .nav-link:hover {
    background-color: #343a40;
}

.app-sidebar .nav-link:hover p,
.app-sidebar .nav-link:hover .nav-icon {
    color: #ffffff;
}

/* Item ativo */
.app-sidebar .nav-link.active {
    background-color: #0d6efd; /* azul Bootstrap */
}

.app-sidebar .nav-link.active p,
.app-sidebar .nav-link.active .nav-icon {
    color: #ffffff;
}

/* Marca (logo/texto IFES CTI) */
.sidebar-brand .brand-text {
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}


/**************************** layout com botão à esquerda do olhinho da senha ***************************************************/
.custom-file-left {
    display: flex;
    flex-direction: row-reverse;
}

/* texto do botão */
.custom-file-left .custom-file-label::after {
    left: 0;
    right: auto;
    content: "Escolher arquivos";
}

/* CURSOR em TODA a área */
.file-hover,
.file-hover * {
    cursor: pointer !important;
}

/* 🔥 HOVER FORTE (contraste real) */
.file-hover:hover .custom-file-label {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.15rem rgba(108, 117, 125, 0.45);
}

/* 🔥 Hover no BOTÃO */
.file-hover:hover .custom-file-label::after {
    background-color: #6c757d;
    color: #fff;
}

/* Transições suaves */
.custom-file-label,
.custom-file-label::after {
    transition: all 0.2s ease-in-out;
}


/*  Centralizar janela modal - tela ndd modal com frame pdf  */
/* CORRIGE MODAL DESLOCADO PARA A DIREITA */
.modal {
    padding-right: 0 !important;
}

.modal-dialog {
    margin-left: auto !important;
    margin-right: auto !important;
}