/* notifications.css */

/* General page styles */
body.system {
    font-family: 'Noto Sans', sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    background: whitesmoke;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header h2 {
    font-size: 20px;
    font-weight: 700;
    margin-left: 10px;
}

.back-btn {
    background: transparent;
    border: none;
    cursor: pointer;
}

.main {
    margin-top: 70px;
    padding: 10px;
}

/* Notifications container */
.notifications-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Single notification block */
.notification-block {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    transition: background 0.2s;
    cursor: pointer;
}

.notification-block.unread {
    border-left: 4px solid #1da1f2; /* Blue indicator for unread */
}

.notification-block:hover {
    background: #f9f9f9;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.notification-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
}

.notification-content .time {
    font-size: 12px;
    color: gray;
}

/* Dot for unread notifications */
.notification-block .dot {
    width: 10px;
    height: 10px;
    background: #1da1f2;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}