.dashboard {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 2rem;
}

.dashboard-card-link {
    background-color: #fff;
    border-radius: var(--dashboard-card-border-radius);
    padding: 2rem;
    width: 90vw;
    max-width: var(--dashboard-card-width);
    transition: all var(--main-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    height: 20rem;
    position: relative;
    overflow: hidden;

    &:hover {
        box-shadow: var(--bs-04);
    }
}

.dashboard-card-link--overlay::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 4rem; /* Ajusta según la necesidad */
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%, rgba(255,255,255,1) 100%);
    pointer-events: none; /* Asegura que el pseudo-elemento no interfiera con la interacción del usuario */
      
}

.dashboard-card-link--xs {
    height: 5.5rem;
}

.dashboard-card__title {
    font-size: 1.2rem;
    font-weight: bold;
}

.dashboard-card__footer {
    font-size: .8rem;
}

.dashboard-card__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    
}

.dashboard-card__icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-around;

    & > * {
        width: 80px;
    }

    & li {
        
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;

    }
}

.dashboard__apps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.dashboard-app {
    /* dashboard-app solo tiene dos elementos hijos: el texto y el icono */
    background-color: #fff;
    padding: .5rem;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: all var(--main-transition);

    &:hover {
        box-shadow: var(--bs-02);
    }

    & > *:first-child {
        width: 30px;
        padding-top: 0.6rem;
    }
    & > *:last-child {
        font-size: 0.9rem;
        line-height: 0.9rem;
        text-align: center;
    }
}

.dashboard__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.dashboard-action {
    background-color: #fff;
    padding: .5rem;
    width: 200px;
    height: 100px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--main-transition);
    &:hover {
        box-shadow: var(--bs-02);
    }
}

.dashboard__widgets {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(auto-fit, minmax(min(var(--dashboard-card-width), 100%), 1fr));
    justify-items: center;
    gap: 2rem;
}
.dashboard-widget {
    background-color: #fff;
    border-radius: var(--dashboard-card-border-radius);
    padding: 2rem;
    width: 90vw;
    max-width: var(--dashboard-card-width);
    transition: all var(--main-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    height: 20rem;
    position: relative;
    overflow: hidden;

    &:hover {
        box-shadow: var(--bs-02);
    }
}