/* ===============================
   RIGHT SIDEBAR
=============================== */
.right-sidebar {
    position: fixed;
    top: 60px;
    right: 0;

    width: var(--right-width);
    height: calc(100vh - 60px);
    padding: 15px;
    overflow-y: auto;
}

/* ===============================
   SIDEBAR TITLES
=============================== */
.right-sidebar .sidebar-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.right-sidebar .sidebar-title h2 {
    font-size: 16px;
}

.right-sidebar .sidebar-title a {
    font-size: 12px;
    color: #1876f2;
    text-decoration: none;
    transition: 0.2s;
}

.right-sidebar .sidebar-title a:hover {
    text-decoration: underline;
}

/* ===============================
   EVENTS
=============================== */
.right-sidebar .event {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    background: #f9f9f9;
}

.right-sidebar .event-date {
    min-width: 50px;
    text-align: center;
}

.right-sidebar .event-date h3 {
    font-size: 18px;
    color: #1876f2;
}

.right-sidebar .event-date span {
    font-size: 12px;
    color: #666;
}

.right-sidebar .event-info h4 {
    margin-bottom: 3px;
    font-size: 14px;
}

.right-sidebar .event-info p {
    margin-bottom: 3px;
    font-size: 12px;
    color: #555;
}

.right-sidebar .event-info a {
    font-size: 12px;
    color: #1876f2;
    text-decoration: none;
}

.right-sidebar .event-info a:hover {
    text-decoration: underline;
}

/* ===============================
   ADS
=============================== */
.right-sidebar .sidebar-ads {
    width: 100%;
    border-radius: 6px;
}

/* ===============================
   ONLINE USERS
=============================== */
.right-sidebar .online-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.right-sidebar .online img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.right-sidebar .online-list p {
    margin: 0;
    font-size: 13px;
    color: #333;
}

/* =========================
   SIDEBAR BOOKMARKS
========================= */

.bookmark-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bookmark-link {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    color: #4f5670;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(212, 146, 253, 0.18);
    transition: 0.2s ease;
}

.bookmark-link:hover {
    background: linear-gradient(135deg, rgba(212, 146, 253, 0.18), rgba(145, 202, 255, 0.18));
    color: #8b52c7;
    transform: translateX(2px);
}

.no-bookmarks {
    font-size: 14px;
    color: #7a8192;
    margin: 8px 0 0;
}

/* =========================
   BOOKMARKS PAGE
========================= */

.bookmark-manage-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 25px;
}

.bookmark-manage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding: 16px 18px;

    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(212, 146, 253, 0.18);

    border-radius: 18px;

    box-shadow: 0 6px 18px rgba(129, 90, 160, 0.06);
}

.bookmark-manage-item a {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #4d5370;
    text-decoration: none;
    margin-bottom: 4px;
    transition: 0.2s ease;
}

.bookmark-manage-item a:hover {
    color: #9b59d0;
}

.bookmark-manage-item small {
    display: block;
    color: #8a91a5;
    font-size: 12px;
    word-break: break-all;
}

.bookmark-manage-item form {
    margin: 0;
}

.bookmark-manage-item button {
    border: none;
    background: linear-gradient(135deg, #ff9eb5, #ffb7c5);
    color: white;

    padding: 10px 16px;

    border-radius: 12px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

.bookmark-manage-item button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

/* Divider */

.settings-panel hr {
    border: none;
    height: 1px;
    background: rgba(212, 146, 253, 0.18);
    margin: 28px 0;
}

/* Mobile */

@media (max-width: 700px) {

    .bookmark-manage-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .bookmark-manage-item button {
        width: 100%;
    }
}

.bookmark-toggle-form {
    margin-bottom: 15px;
}

.bookmark-toggle-btn {
    border: none;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(212,146,253,0.25);

    padding: 10px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    color: #6b7285;

    cursor: pointer;
    transition: 0.2s ease;
}

.bookmark-toggle-btn:hover {
    transform: translateY(-1px);
    background: rgba(212,146,253,0.12);
}

.bookmark-toggle-btn.active {
    background: linear-gradient(135deg, #d492fd, #91caff);
    color: white;
    border-color: transparent;
}

.sidebar-event-description {
    display: -webkit-box;
    
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.35;
    max-height: 76px;

    color: #666;
    font-size: 14px;
}