.title-header {
    background-color: #2d3748;
    padding: 0.7rem;
    color: #fff;
}

#page-content-wrapper {
    flex-grow: 1;
}

#wrapper {
    display: flex;
}

#sidebar-wrapper {
    min-height: 100vh;
    min-width: 1rem;
    padding: 1rem 0 0 1.5rem;
}
.sidebar-heading {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.sidebar {
    background-color: #1a202c;
    color: #fff;
}
.sidebar .list-group-item {
    background-color: #1a202c;
    color: #fff;
    border-bottom: 1px solid #fff;
}
.sidebar .list-group-item:hover {
    background-color: #2d3748;
    color: #fff;
}

.img_thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.image-container {
    height: 50vh;
    overflow: hidden;
}

.limited-size {
    max-height: 100%;
    object-fit: contain;
}
.table-dark2 {
    background-color: #1e2226ba !important;
    color: #fff;
}
.table-yellow {
    background-color: #fff3cd !important;
}
.table-yellow2 {
    background-color: #ece1bd !important;
}

.btn-borrar-fichaje {
    background-color: transparent;
    border: none;
    color: #dc3545;
    font-size: 1rem;
    padding: 0;
}

.btn-add-fichaje {
    background-color: transparent;
    border: none;
    color: #28a745;
    font-size: 1rem;
    padding: 0;
}

.badge-danger {
    background-color: red;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    color: #fff;
}
#loadingIndicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#SavingIndicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    padding: 1rem;
    margin-right: 1rem;
}

.saver {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #28a745;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    padding: 1rem;
    margin-right: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
