/* preload */
/* preload */
/* preload */

#preloader {
    position: fixed;
    inset: 0;
    background: #000;
    /* Fondo negro */
    color: #09EEC5;
    /* Color corporativo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader .spinner {
    font-size: 3rem;
    animation: spin 1.2s linear infinite;
}

#preloader .loading-text {
    margin-top: 15px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    animation: blink 1.5s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/*  */
/*  */
/*  */

.card {
    border: none;
    /* quita el borde gris por defecto */
    border-radius: 12px !important;
    /* esquinas redondeadas */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.73) !important;
    /* sombra suave */
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    background: #fff !important;
    /* asegúrate que tengan fondo blanco */
}

/*  */
/* menu bottom */
/*  */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    text-decoration: none;
}

.bottom-nav .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.bottom-nav .nav-item:hover {
    color: #09eec5;
}

/*  */

.sidebar-wrapper .sidebar-header img {
    height: auto;
    width: 50%;
    border-radius: 50%;
}

/*  */
/*  */
/*  */

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link{
    background-color: #09EEC5;
}