/* --- Notifications History Styles --- */
.notifications-history-container {
    max-width: 700px;
    text-align: center;
}

.notifications-history-container h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    text-align: right;
}

.notification-history-item {
    background-color: #f9f9f9;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 10px;
    text-align: right;
    border: 1px solid #e9e9ed;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-history-item.info {
    border-left: 4px solid #007aff;
}
.notification-history-item.success {
    border-left: 4px solid #34c759;
}
.notification-history-item.error {
    border-left: 4px solid #ff3b30;
}

.notification-history-item .icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification-history-item .content {
    flex-grow: 1;
}

.notification-history-item .content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #1c1e21;
}

.notification-history-item .content p {
    margin: 0;
    font-size: 13px;
    color: #606770;
}

.notification-history-item .timestamp {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    margin-left: 10px;
}

.empty-history {
    font-size: 16px;
    color: #888;
    padding: 40px 20px;
    background-color: #f0f2f5;
    border-radius: 16px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .notifications-history-container {
        padding: 20px;
    }
    .notification-history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .notification-history-item .timestamp {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
}
