/* Table styles */
.wdm-notifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.wdm-notifications-table th, .wdm-notifications-table td {
    padding: 10px;
    text-align: left;
    border: none;
    vertical-align: middle;
}

/* Header cell styles */
.wdm-notifications-table th {
    background-color: #f5f5f5;
}

/* Row styles */
.notification-item {
    border-bottom: 1px solid #ddd;
}

.notification-item.read {
    background-color: #fff;
}

.notification-item.unread {
    background-color: #f0f0f0;
}

/* Status and color changes for unread notifications */
.notification-item .status-unread {
    color: #ff0000;
}

/* Action column and button styles */
.wdm-notifications-table td.action-column {
    text-align: center;
}

.action-column a {
    color: #fff;
    background-color: #c6dff5;
    padding: 5px 8px;
    border-radius: 50%; /* Circle button for actions */
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 5px;
}

.action-column .dashicons {
    top: 2px;
    position: relative;
}

.action-column a:hover {
    background-color: #b0b0b0;
    color: #fff;
}

/* Strong elements inside details column */
.details-column strong {
    margin-bottom: 5px;
    text-transform:capitalize;
}

.details-column {
    div {
        margin-block: 5px;
    }
    .trigger_type, .repeating {
        text-transform: capitalize;
    }
    .notification_message p:first-of-type {
        margin: 0;
        display:contents;
    }
    width: 65%;
}

/* Custom color for recipient name */
.details-column .recipients span {
    color: #ff0000;
}

/* Time column styling */
.time-column {
    margin-right: 5px;
    color: #88929b;
}

/* Pagination styles */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination .page-link {
    margin: 0 5px;
    text-decoration: none;
    color: #0073aa;
}

.pagination .page-link.active {
    font-weight: bold;
}

/* Notification single item details styling */
.notification-item-single div {
    border: 1px solid #cac3c3;
    background: #f4f4f4;
    padding: 0 10px;
    border-radius: 5px;
    margin: 5px 0;
}

/* Dashicons icon styles */
.notification-details-single .dashicons, .notification-details .dashicons {
    font-size: 16px;
    vertical-align: middle;
}

/* Accessibility improvements */
a:focus, a:hover {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.6); /* Custom focus for links */
}

.notification-item.read, .notification-item.unread {
    transition: background-color 0.3s ease;
}
