.gbook-notifications-page {
    width: min(720px, 94%);
    margin: 18px auto 40px;
}

.gbook-notif-shell {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.gbook-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid var(--card-border);
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--card-bg) 100%);
}

.gbook-notif-head h1 {
    font-size: 26px;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.gbook-notif-head p {
    color: var(--text-muted);
    font-size: 14px;
}

.gbook-notif-refresh {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--surface-2);
    color: var(--primary-color);
    cursor: pointer;
}

.gbook-notif-list {
    display: flex;
    flex-direction: column;
}

.gbook-notif-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--card-border);
    transition: background .2s ease;
}

.gbook-notif-item:hover {
    background: var(--surface-2);
}

.gbook-notif-item.is-unread {
    background: rgba(24, 119, 242, 0.06);
}

html[data-theme="dark"] .gbook-notif-item.is-unread {
    background: rgba(59, 130, 246, 0.12);
}

.gbook-notif-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.gbook-notif-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gbook-notif-type-icon {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--fb-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid var(--card-bg);
}

.gbook-notif-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gbook-notif-copy strong {
    color: var(--text-heading);
    font-size: 15px;
}

.gbook-notif-message {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.45;
}

.gbook-notif-copy small {
    color: var(--text-muted);
    font-size: 12px;
}

.gbook-notif-emoji {
    font-size: 28px;
    line-height: 1;
}

.gbook-notif-empty {
    padding: 56px 24px;
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.gbook-notif-empty i {
    font-size: 42px;
    color: var(--primary-color);
    opacity: .55;
    margin-bottom: 8px;
}

.gbook-notif-empty strong {
    color: var(--text-heading);
    font-size: 18px;
}

.gbook-notif-nav-wrap {
    position: relative;
}

.gbook-notif-nav-wrap > a {
    position: relative;
}

@media (min-width: 992px) {
    .desktop-nav .gbook-notif-badge {
        top: -8px;
        right: -10px;
    }
}

.gbook-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e41e3f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card-bg);
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 991px) {
    .gbook-notifications-page {
        margin-top: 8px;
    }
    .gbook-notif-head {
        padding: 18px 16px 14px;
    }
    .gbook-notif-item {
        padding: 14px 14px;
    }
}
