/* Lock Screen Notifications */
.notifications-container {
    position: absolute;
    top: 240px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 1500;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.notifications-container::-webkit-scrollbar {
    display: none;
}

.notifications-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.notification-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    animation: slideInNotification 0.3s ease-out;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.15);

}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.notification-app {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.notification-message {
    font-size: 14px;
    color: white;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-message .sender-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-item.fade-out {
    animation: fadeOutNotification 0.3s ease-out forwards;
}

@keyframes fadeOutNotification {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* No notifications state */
.no-notifications {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    padding: 20px;
    display: none;
}

.notifications-container:empty + .no-notifications {
    display: block;
}