/**
 * Push Notification Styles
 */

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #f0f7ff;
    font-weight: 500;
}

.notification-item.unread:hover {
    background-color: #e6f2ff;
}

.notification-icon {
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 11px;
    color: #adb5bd;
}

.notification-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
}

.no-notifications {
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

#notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    display: none;
}

.notification-pulse {
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Notification dropdown styles */
.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    max-height: 500px;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 8px;
}

.notifications-header {
    padding: 16px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.notifications-body {
    max-height: 400px;
    overflow-y: auto;
}

.notifications-footer {
    padding: 12px 16px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.notifications-footer a {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
}

.notifications-footer a:hover {
    text-decoration: underline;
}

