.notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notification-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.notification-modal {
    background: #0f172a;
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.notification-modal-overlay.show .notification-modal {
    transform: scale(1) translateY(0);
}

.notification-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
}

.notification-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #00f2fe;
}

.notification-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 242, 254, 0.1);
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-modal-close:hover {
    background: rgba(0, 242, 254, 0.2);
    color: #00f2fe;
}

.mark-all-read-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: #00f2fe;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mark-all-read-btn:hover {
    background: rgba(0, 242, 254, 0.2);
}

.notification-filters {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
}

.notification-filter-btn {
    padding: 8px 20px;
    border-radius: 8px;
    background: rgba(100, 116, 139, 0.1);
    border: 1px solid rgba(100, 116, 139, 0.2);
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-filter-btn:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.2);
    color: #00f2fe;
}

.notification-filter-btn.active {
    background: rgba(0, 242, 254, 0.2);
    border-color: #00f2fe;
    color: #00f2fe;
}

.notification-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px 24px;
}

.message-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.message-item:hover {
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.1);
}

.message-item.unread {
    background: rgba(0, 242, 254, 0.05);
    border-left: 3px solid #00f2fe;
}

.message-item.unread::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00f2fe 0%, #a855f7 100%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.2);
    }
}

.message-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.message-title {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.message-time {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

.message-text {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.message-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: #00f2fe;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-action-btn:hover {
    background: rgba(0, 242, 254, 0.2);
}

.message-action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.message-action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

.message-type-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00f2fe 0%, #a855f7 100%);
    border-radius: 50%;
    position: absolute;
    top: 24px;
    right: 24px;
    animation: pulse 2s infinite;
}
