[x-cloak] {
    display: none !important;
}

.pid-aside {
    position: sticky;
    top: 135px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 320px;
    max-width: 320px;
    transition: width 0.25s ease;
    overflow: hidden;
    background: var(--color-bg-surface-secondary, #f9f9f9);
}


.pid-aside--collapsed {
    width: 68px;
    min-width: 68px;
}

.pid-aside__toggle {
    margin-left: auto;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    color: #ffffff;
    background: transparent;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.pid-aside__page-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--color-bg-accent, #a30052);
    width: 100%;
    color: var(--color-bg-surface, #fff);
    font-family: "Open Sans";
    font-size: 13px;
    font-weight: 600;
    line-height: 21px;
    transition: justify-content 0.25s ease, padding 0.25s ease;
    min-height: 76px;
}

.pid-aside--collapsed .pid-aside__page-title {
    min-height: 49px;
    justify-content: center;
    padding: 14px 0;
}

.pid-aside__page-title h2 {
    margin: 0;
    white-space: normal;
    word-break: break-word;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 21px;
}

.pid-aside__page-title span {
    font-size: 24px;
}

.pid-aside__page-title-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-inline: 22px;
}

.pid-aside--collapsed .pid-aside__page-title-content span {
    display: none;
}

.pid-aside__navigation {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pid-aside__nav-link {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 55px;
    padding: 15px 20px 15px 44px;
    border-top: 0.5px solid #d2d2d2;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.pid-aside__nav-link-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-family: var(--body-200-font-family-200, Quicksand);

}

.pid-aside__nav-link--active {
    color: var(--color-txt-accent, #A83125);
    font-weight: 600;
}

.pid-aside__nav-link:hover {
    background: #d4d4d4 !important;
}

.pid-aside__nav-link:nth-child(even) {
    background: #f9f9f9;
}

.pid-aside__nav-link--active::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-bg-accent, #a30052);
}

/* Dots para estado colapsado */
.pid-aside__dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dot-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 55px;
    border-top: 0.5px solid #d2d2d2;
    text-decoration: none;
}

.dot-button::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d2d2d2;
    transition: background 0.2s ease;
}

.dot-button:hover::after {
    background: #888;
}

.dot-button--active::after {
    background: var(--color-bg-accent, #a30052);
}

@media (max-width: 768px) {
    .pid-aside {
        position: fixed;
        top: 90px;
        left: 0;
        z-index: 150;
        height: 100dvh;
    }
}
.is-admin .pid-aside{
    padding-top: 80px;
}