/* --- PANNEAU DROIT & LANGUETTE --- */

.right-page-wrapper {
    position: fixed;
    right: 20px;
    top: calc(var(--header-height) + 20px);
    bottom: 20px;
    width: var(--right-panel-width);
    z-index: 1100;
    transition: transform 0.3s ease-in-out;
}

.right-page {
    background-color: rgba(32, 20, 200, 0.12);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 2px solid rgba(var(--clr-primary-a10-rgb), 0.4);
    border-radius: 12px;
    height: 100%;
    padding: 20px;
    color: white;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

/* Languette de toggle (cachée par défaut sur PC) */
.panel-toggle-btn {
    display: none;
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background-color: rgba(var(--clr-primary-a10-rgb), 0.8);
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
    border: 1px solid rgba(var(--clr-primary-a10-rgb), 0.6);
    border-radius: 10px 0 0 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
}

.panel-toggle-btn:hover {
    background-color: rgba(var(--clr-primary-a10-rgb), 0.9);
}
