/* =====================================
   Notification Item
   ===================================== */

.notification-item {

    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 12px;

    border-bottom: 1px solid #ececec;

    cursor: pointer;

    transition:
        background .15s,
        transform .15s;
}

.notification-item:hover {
    background: #f4f8ff;
    transform: translateX(2px);

}



/* =====================================
   Linke Spalte (Avatar + Datum)
   ===================================== */

.notification-left {

    width: 54px;

    display: flex;
    flex-direction: column;
    align-items: center;

    flex-shrink: 0;
}

.notification-avatar {

    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-date {

    margin-top: 5px;

    text-align: center;
    line-height: 1.25;

    color: #999;
    font-size: 10px;
}


/* =====================================
   Rechte Spalte
   ===================================== */

.notification-text {

    flex: 1;
    min-width: 0;

    text-align: left;
}

.notification-title {

    font-size: 15px;
    font-weight: 700;

    color: #222;

    line-height: 1.2;

    text-align: left;
}

.notification-message {

    display: flex;
    align-items: center;

    gap: 4px;

    margin-top: 2px;

    font-size: 13px;
    color: #555;

    line-height: 1.3;

}

.notification-icon {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    flex-shrink: 0;

    margin-top: 1px;
}

.notification-icon svg {

    width: 18px;
    height: 18px;

    stroke: #1976d2;
}


.notification-title {

    font-size: 15px;
    font-weight: 700;

    color: #1f1f1f;

    line-height: 1.2;
}

.notification-title strong {

    font-weight: inherit;
}


.notification-event {

    margin-top: 1px;

    font-size: 13px;
    font-weight: 600;

    color: #1976d2;
}

.notification-preview {

    margin-top: 6px;

    font-size: 12px;
    color: #666;

    line-height: 1.35;

    overflow: hidden;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    text-overflow: ellipsis;

    text-align: left;
}