html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.card-sdti {
    position: unset;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff;
    background-clip: border-box;
    border: 1px solid rgba(98, 105, 118, 0.16) ;
    border-radius: 12px !important;
}

.btn-sdti {
    padding: 0.5rem 1.0rem !important;
    border-radius: 12px !important;
}

#modal-visualizar-documentos .modal-dialog {
    max-width: 80%;
    height: 80vh;
}

#visualizacaoContainer {
    width: 100%;
    height: calc(80vh - 120px);
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #visualizacaoContainer img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    #visualizacaoContainer embed {
        width: 100%;
        height: 100%;
    }

#contadorContainer {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

#tituloContainer {
    font-size: 1rem;
    color: #5a6268;
    font-weight: 500;
}

#dataUploadContainer {
    color: #5a6268;
}

/* Botões personalizados */
.custom-btn {
    background-color: transparent;
    border: none;
    border-radius: 50%;
    padding: 8px;
    transition: background-color ease;
}

    .custom-btn:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .custom-btn svg {
        display: block;
        margin: auto;
        stroke: #6c757d;
    }

.custom-btn-desabilitado {
    pointer-events: none;
    color: #e9ecef;
    opacity: 0.2;
}

.doc-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}
.doc-thumbnails::after {
    content: "";
    flex: auto;
}

.doc-thumbnail {
    width: 80px;
    height: auto;
    overflow: hidden;
    position: relative;
}
.doc-thumbnail::after {
    content: "";
    flex: auto;
}

.doc-thumbnail-index {
    width: 80px;
    height: 80px;
    overflow: hidden;
    position: relative;
}

    .doc-thumbnail img,
    .doc-thumbnail iframe {
        width: 100%;
        height: 80px;
        object-fit: cover;
    }

    .doc-thumbnail .pdf-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f0f0f0;
        color: #666;
        font-size: 18px;
    }

.doc-date {
    margin-top: 5px; /* Espaçamento entre a imagem e a data */
    font-size: 0.875rem; /* Tamanho de fonte menor */
    color: #6c757d; /* Cor cinza para a data */
    word-wrap: break-word; /* Garante que a data não ultrapasse o limite */
}