.navbar-brand {
    font-size: 28px !important;
    color: #868686 !important;
    font-family: 'Nunito Sans', sans-serif !important;
    margin-left: 5px;
}

.navbar-logo {
    margin-left: 20px;
}

.container-fluid {
    height: 40px;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.card-body {
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px,
        rgba(0, 0, 0, 0.07) 0px 2px 4px,
        rgba(0, 0, 0, 0.07) 0px 4px 8px,
        rgba(0, 0, 0, 0.07) 0px 8px 16px,
        rgba(0, 0, 0, 0.07) 0px 16px 32px,
        rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 89vh;
}

.main-content {
    flex: 1;
    padding: 20px;
}

.page-footer {
    width: 100%;
    padding: 0px;
    margin-top: auto;
    position: fixed;
    bottom: 0;
}


.avatar {
    width: 265px;
}

.navbar .container-avatar {
    width: 55px;
    height: 35px;
    border-radius: 900px;
    overflow: hidden;
    margin-left: 30px;
}

.navbar .container-avatr img {
    height: 100%;

}

.pub_image {
    margin-bottom: 25px;
}

.pub_image .container-avatar {
    width: 85px;
    height: 75px;
    overflow: hidden;
    float: left;
}

.pub_image .container-avatar img {
    height: 75%;
    width: 60%;
    border-radius: 1200px;
    margin-left: 20px;
    margin-right: 75px;
}

.pub_image .data-user {
    font-weight: bold;
    line-height: 60px;
}

.pub_image .email {
    color: gray;
}

.image-container {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.image-detail {
    max-height: 500px;
}

.image-container img {
    width: 100%;
}

.pub_image .card-body {
    padding: 0px;
}

.pub_image .description {
    padding: 20px;
    padding-bottom: 0px;
}

.pub_image .btn-comments {
    margin: 20px;
    margin-top: 0px;
    margin-left: 0px;
}

.likes {
    float: left;
    padding-left: 20px;
    padding-right: 10px;
}

.likes img {
    width: 20px;
}

.pub_image_detail .comments {
    padding: 20px;
}

.button-position {
    text-align: right;
    margin-right: 70px;
    margin-bottom: 20px !important;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--bs-primary);
}

/* ↓ Estilos del datatable ↓ */
.table {
    border: 1px solid #ddd;
    border-collapse: collapse;
    border-left: 0;
    border-radius: 4px;
    border-spacing: 0px;
}

.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}


.table-bordered {
    border: 0.5px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 2px solid #dee2e6 !important;
    white-space: nowrap;
}

/* ↓ Estilos de la foto empleado ↓ */
.foto {
    margin-bottom: .3rem;
}

.container-foto {
    width: 8.5rem;
    height: 8.5rem;
    /* border-radius: 800px; */
    /* margin-left: 50px; */
    margin-left: 7rem;
    overflow: hidden;
}

.container-foto img {
    /* height: 75%; */
    height: 100%;
    /* width: 60%;
    border-radius: 1200px;
    margin-left: 20px;
    margin-right: 75px; */
}

.modal-custom {
    max-width: 1800px !important;
}

.table-auto td {
    white-space: nowrap !important;
}

.table-auto th,
.table-auto td {
    width: auto !important;
}

.modal-fondo-oscuro {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(53, 51, 51, 0.8);
    z-index: -1;
}

#modalFirma {
    width: 35%;
    height: auto;
    max-height: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    overflow-y: auto;
    border: 2px solid black;
}

.modal-content-firma {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.button-container button {
    margin: 0 5px;
    padding: 10px 20px;
    border: 1px solid rgb(14, 12, 12);
}

#canvasFirma {
    width: 100%;
    height: 220px;
    max-width: 1000px;
    max-height: 100%;
    margin: 0 auto;
}

.close-modal-firma {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 30px;
}

#AdjuntosContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.imagen-descarga-container {
    max-width: 150px;
    margin: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    position: relative;
}

.imagen-descarga-container img,
.imagen-descarga-container embed {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    padding: 5px;
}

.imagen-descarga-container a {
    display: block;
    text-align: center;
    padding: 5px 0;
    /* background-color: #6e4a3f; */
    background-color: #ec9544;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4));
    text-decoration: none;
    color: #fdfcfc;
    border-top: 1px solid #979494;
    border-radius: 0 0 5px 5px;
}

.imagen-descarga-container:hover {
    transform: scale(1.1);
    border-color: #7c7b7b;
    box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.2);
}

.imagen-descarga-container:hover a {
    /* background-color: #927266; */
    background-color: #ce8e53;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));
    background-blend-mode: overlay;
}

.imagen-descarga-container:hover .adjunto-eliminar-icono {
    display: block;
}

.imagen-descarga-container .adjunto-eliminar-icono {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    color: #ee6f5f;
    cursor: pointer;
    z-index: 1;
    font-size: 18px;
}

.loader {
    position: fixed;
    top: 32%;
    left: 45%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    width: 300px;
    height: 300px;
    border: 10px solid #FFA500;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 2s linear infinite, colorChange 5s ease-in-out infinite alternate;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.loader::after,
.loader::before {
    content: '';
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #FFF;
    position: absolute;
    left: 0;
    top: 0;
    animation: animloader 2s linear infinite, smokeOut 2s linear infinite, pulsate 3s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes smokeOut {
    100% {
        opacity: 0.08;
        filter: blur(5px);
        letter-spacing: 4px;
    }
}

@keyframes pulsate {
    0% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes colorChange {
    0% {
        border-color: #FFA500;
    }

    50% {
        border-color: #FFD700;
    }

    100% {
        border-color: #FFA500;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.loader::after {
    animation-delay: 1s;
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes smokeOut {
    100% {
        opacity: 0.08;
        filter: blur(5px);
        letter-spacing: 4px;
    }
}

.loader::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(141, 135, 104, 0.5);
    border-radius: 50%;
    z-index: 9999;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.loading {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(150, 152, 154, .5);
    z-index: 9999
}

.loader-container {
    text-align: center;
    color: #fff;
}

.loading-text {
    position: fixed;
    top: 68%;
    left: 53%;
    transform: translate(-50%, -50%);
    color: #4e4d4a;
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 10px;
    transition: color 0.3s, font-size 0.3s;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.8;
        font-size: 2.2rem;
        color: #885e27;
    }
}

.modal-content-comunicado {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    max-width: 80%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.close-modalComunicado {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
}

.close-modalComunicado:hover,
.close-modalComunicado:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal.modal-comunicado.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.pdf-container {
    width: 100%;
    height: calc(50vh - 70px);
    overflow: auto;
    min-height: 200px;
}

#iframe {
    width: 100%;
    height: 100%;
    max-width: 100%;
    border: none;
}
.btn-pdf {
    background-color: transparent;
    border: none;
    color: red;
    cursor: pointer;
    padding: 5px; 
    font-size: 23px; 
}

.btn-pdf:hover {
    color: darkred; 
}
.resumen-card.selected {
    border: 3px solid #ff8902; /* Cambia el color del borde para resaltar */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.form-inline .form-group {
    margin-right: 20px;
}

.form-inline .form-group label {
    margin-right: 10px;
}

