/* Rivercraft: Logout yang mudah ditemukan, tanpa mengubah route, sesi, atau CSRF. */
body.rivercraft-shell .rc-logout-quick {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    gap: 7px; height: 36px; margin-left: 3px; padding: 0 12px;
    border: 1px solid #e7cbd0; border-radius: 10px;
    background: #fff8f9; color: #ac3745; cursor: pointer;
    font-size: 13px; font-weight: 650; line-height: 1;
    transition: background .15s ease, border-color .15s ease;
}
body.rivercraft-shell .rc-logout-quick:hover,
body.rivercraft-shell .rc-logout-quick:focus-visible {
    background: #fdecee; border-color: #e6b8c0; color: #982735;
}
body.rivercraft-shell .rc-logout-quick .material-icons { font-size: 18px; }
body.rivercraft-shell .rc-profile-menu .rc-profile-logout { color: #a93442 !important; font-weight: 650; }
body.rivercraft-shell .rc-profile-menu .rc-profile-logout:hover,
body.rivercraft-shell .rc-profile-menu .rc-profile-logout:focus { background: #fff1f3; }

body.rivercraft-shell .page-sidebar .rc-sidebar-signout {
    padding: 13px 13px 18px; margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,.10);
}
body.rivercraft-shell .page-sidebar .rc-sidebar-signout a {
    display: flex; align-items: center; gap: 10px;
    min-height: 42px; padding: 10px 13px; border-radius: 10px;
    background: rgba(255,255,255,.045); color: #e3eff0;
    font-size: 14px; font-weight: 600; text-decoration: none;
}
body.rivercraft-shell .page-sidebar .rc-sidebar-signout a:hover,
body.rivercraft-shell .page-sidebar .rc-sidebar-signout a:focus-visible {
    background: rgba(255,255,255,.11); color: #fff;
}
body.rivercraft-shell .page-sidebar .rc-sidebar-signout .material-icons { font-size: 20px; }
@media (max-width:1199px) {
    body.rivercraft-shell .rc-logout-quick { width: 36px; padding: 0; }
    body.rivercraft-shell .rc-logout-quick span { display: none; }
}
@media (max-width:767px) {
    body.rivercraft-shell .page-sidebar .rc-sidebar-signout a { min-height: 48px; font-size: 16px; }
}
@media (max-width:480px) {
    /* Layar HP sempit: logout tetap tersedia dalam profil + sidebar, tanpa membuat topbar overflow. */
    body.rivercraft-shell .rc-logout-quick { display: none; }
}
