﻿.navbar-section {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    padding: 2px;
}

.users-section {
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 5px;
    text-transform: uppercase;
}

.container-title {
    display: inline-flex;
    flex-direction: row;
    white-space: nowrap;
    padding-top: 0.4em;
    padding-left: 0.5em;
    color: white;
}

.icons-header {
    font-size: 2rem;
}

.logout-span {
    padding-top: 0.3em;
    padding-right: 1em;
}

.logo-title {
    font-weight: 600;
    color: #FFF;
    padding: 1px;
}

.separator {
    text-align: center;
    border-bottom: 1px solid #0681B2;
    line-height: 0.1em;
    margin: 20px 0 20px;

}

.separator span {
    background: #fff;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    /* opacity: 0.8; */
    color: #b0b6c0;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;

    font-size: 12px;
    font-weight: 500;
    text-align: left;
}

.custom-table th, .custom-table td {
    padding: 4px 5px;
}

.custom-tbody {
    scrollbar-width: thin;
    scrollbar-color: #fff #0883b3;
    overflow-y: auto !important;
}

.custom-tbody {
    scrollbar-width: thin;
    scrollbar-color: #fff #0883b3;
    overflow-y: auto !important;
}

.check-custom {
    margin: -12px 0.75em 6px 25px;
}


/*Mostrar cartel informativo*/
.cartel {
    position: absolute;
    background-color: #FFF;
    color: #0681B2;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #0681B2;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 10;
}

.cartel-visible {
    opacity: 1;
}


/* CSS para el overlay y cuadro de carga */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.3);
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#loadingBox {
    background-color: white;
    padding: 30px 50px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    text-align: center;
    min-width: 400px;
}

    #loadingBox p {
        font-size: 18px;
        margin: 0 0 15px 0;
        color: #333;
    }

/* Spinner CSS */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    margin: 0 auto;
    width: 36px;
    height: 36px;
    border: 4px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animaciones fade */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeOut {
  from {opacity: 1;}
  to {opacity: 0;}
}

#loadingOverlay.show {
  display: flex;
  animation: fadeIn 0.3s forwards;
}

#loadingOverlay.hide {
  animation: fadeOut 0.3s forwards;
  /* Después de animar ocultar el elemento */
  animation-fill-mode: forwards;
}


