/* =========================================================
   NOTIFICATIONS
   ========================================================= */

.notifications-page {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.notifications-card {
    width: 100%;
}

.notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.notifications-header h1 {
    margin: 0 0 6px;
    font-size: 26px;
}

.notifications-header p {
    margin: 0;
    color: #777;
}

.notifications-read-all {
    border: 1px solid #ddd;
    background: #fff;
    color: #444;
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.notifications-read-all:hover {
    background: #f5f5f5;
}


/* Liste */

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    position: relative;
    transition: background .2s ease;
}

.notification-unread {
    background: #f7f9ff;
    border-color: #dce4f5;
}

.notification-read {
    background: #fff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #f1f3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.notification-date {
    margin-top: 6px;
    color: #999;
    font-size: 12px;
}

.notification-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4d7cff;
    margin-top: 7px;
}


/* Aucun résultat */

.notifications-empty {
    text-align: center;
    padding: 60px 20px;
}

.notifications-empty-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.notifications-empty h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.notifications-empty p {
    margin: 0;
    color: #888;
}


/* Pagination */

.notifications-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.pagination-button {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
    color: #444;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.pagination-button:hover {
    background: #f5f5f5;
}

.pagination-button.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.pagination-dots {
    padding: 0 4px;
    color: #999;
}


/* Mobile */

@media (max-width: 600px) {

    .notifications-page {
        padding: 20px 12px;
    }

    .notifications-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .notifications-read-all {
        width: 100%;
    }

    .notification-item {
        padding: 13px;
        gap: 10px;
    }

    .notification-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 17px;
    }

    .notification-message {
        font-size: 14px;
    }
}